SUMMARY: Removing pkgs from SUNWCreq in jumpstart.

From: Chris Josephes (cjoseph@onvoy.com)
Date: Mon Nov 13 2000 - 10:47:12 CST


Initial Problem
===============
When performing a Jumpstart install of a server using the SUNWCreq cluster,
an admin was unable to remove packages within the cluster such as
"SUNWqfed" (quad-fe drivers), even if the system didn't have a
quad fast ethernet driver installed.

My original query to the list was to determine whether or not this was the
expected behavior of Jumpstart, and if there was any way around it.

Feedback
========
I received feedback from the following people:

Tim Evans <Tim_Evans@troweprice.com>
Charles M. Atkinson <Charles.Atkinson@lon.ipalliance.net>
John Weekley <weekleyj@foobarlabs.org>
Darren Dunham <ddunham@taos.com>
Willi Burmeister <wib+netmail@cs.uni-kiel.de>

Everyone confirmed that Jumpstart will not let you remove packages from
the SUNWCreq cluster. John W recommended using a finish script to
perform the removal process. Willi B said that the .clustertoc.dynamic file
(<image>/Product/locale/C/.clustertoc.dynamic) could be edited to alter the
definition of the SUNWCreq metacluster. I'm not sure if I like the idea of
editing that file, but it is an option.

Given this information, I have two choices:

1. Perform the removal of the packages in the finish script.

Put the following code in your finish script:

cat $SI_CONFIG/$SI_PROFILE | \
        nawk '$3=/delete/ && $1=/package/ {print $2}' > /tmp/rmpkgs
for i in `cat /tmp/rmpkgs`
do
        pkgrm -R /a $i
done

This will read your profile, and perform a pkgrm command on any package
you originally wanted to be deleted, but pfinstall wouldn't allow.
You will probably need to specify a special admin file to override
any prompting pkgrm will perform.

2. Ignore the installed packages.

A SUNWCreq is roughly 60 megabytes depending on how the dynamic cluster
testing goes. Removing the packages won't necessarily give me more
disk space, so is there really any benefit?

-- _______________
 Chris Josephes __/ MRNet/Onvoy \
 chrisj@mr.net __/ www.onvoy.com /
\________________/

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:22 CDT