Thu May 19 09:59:27 EDT 2005 I don't think I need to run the xvfb server, because we aren't doing Applets. PREP: Save sshd keys. Need tftp, SUNWbsr, SUNWbsu, SUNWmdb, SUNWmdbx packages installed Making aegir into a Jumpstart/Boot server today. Put v1 and v2 images where have room. Make them mountable according to http://www.bolthole.com/solaris/mount-cdrom.html (modified) mkdir /mount/point/s0 /mount/point/s1 lofiadm -a /abs/path/*.iso mount -o ro -F hsfs /mont/point/s0 Find out the 512 byte offset of slice 1 by running "fdisk -l file.iso" on Linux and calculating (512 blocks/cylinder) * start of *.iso2 device. (IT IS 651520 for my u7 10/84... I think... CDs) dd if=cd1.iso of=/tmp/cd1.s1.img iseek= lofiadm -a /tmp/cd1.s1.img mount -o ro -F ufs /mount/point/s1 mkdir /usr/local/jumpstart The whole Jumpstart tree will eventually hold 1.35G. cd /mount/point/s0/Solaris_9/Tools ./setup_install_server /path/to/js Umount and remove the lofi block devices umount /mount/point/s0 umount /mount/point/s1 lofiadm -d /abs/path/*.iso lofiadm -d /tmp/cd1.s1.img (Just run "lofiadm" to list the paths). Mount the #2 CD. lofiadm -a /abs/path/*.iso mount -o ro -F hsfs /mont/point/s0 cd /mount/point/s0/Solaris_9/Tools ./add_to_install_server /usr/local/js umount... and lofiadm -d... mkdir -m 755 /usr/local/js add to /etc/dfs/dfstab share -F nfs -o ro,anon=0 /usr/local/js shareall ====================================================================== ADD CLIENT (See .../Solaris_9/Misc/jumpstart_sample dir for examples) Put profile in place (my convention is .pro). Put "rules" file into place at /rules. Solaris_9/Mis/jumpstart_sample/check -p . (from jumpstart root dir). Put sysidcfg file into place (file needs to be named "sysidcfg". My convention is, a directory like /sysidcfgs/. (To make a new sysidcfg file, just copy an existing one, then set the default router IP addr and copy an encrypted root password from an /etc/shadow file). My profile uses 442M for original install. (postnote: more than this now. Added packages so we can use the smc GUI if we ever need to). After base OS install 480M: 466M /; 14M /var. After installation completed 1.3G: 1.2G /; .08G /var. (Platform name: "uname -i"; Platform group: "uname -m". I think non-multip-CPU Ultras are always group "sun4u). cd /usr/local/js/Solaris_9/Tools ./add_install_client -e eth_addr \ -c thisserver:/usr/local/js \ -p thisserver:/usr/local/js/sysidcfgs/ \ (-c arg specifies Jumpstart dir on the Profile Server (holds "rules")) (-p arg specifies the NFS sysidcfg directory) (manual does not explain the -e switch) (use numeric IP addr for "thisserver"). I think that the -c args writes install_config= entries to /etc/bootparams. Make sure the entry looks right. IF ABORT, run rm_install_client. Boot client like boot net - install nowin Logs will be at /var/sadm/system/logs after reboot. First reboot will bitch about USB not finding stuff. We don't care, since we don't have USB hardware anyways. This does not recur upon subsequent bootups. POST JUMPSTART. Note that strategy is to change as little as possible until after the OS patches are installed. login as root exec ksh or bash; set -o vi # if you like mkdir /mnt/tmp mount 1.2.3.4:/path/to/js /mnt/tmp PATH=/mnt/tmp/postinstall:$PATH fixdns.bash fixssh.bash ppro-install.bash REPEAT this block until "smpatch" reports no errors exec reboot -- -s # N.b.: Don't "init s", because Solaris # would skip the init script runs.* exec ksh or bash; set -o vi # if you like /var/tmp/retry-patches.bash Repeat "retry-patches.bash" until it says you are finished. exit /usr/sadm/bin/smpatch update exec reboot -- -r # Device trees get rebuilt upon bootup when necessary # Ignore warnings about usb and sound devices.* exec ksh or bash; set -o vi # if you like PATH=/mnt/tmp/postinstall:$PATH mount jsserver:/path/to/js /mnt/tmp fixenv.bash addlpkgs.bash secure.bash exec shutdown -y -g 0 -i 6 * I believe that any invocations of reboot, init, telinit skip the run-level scripts. Must run shutdown -y -g 0 -i 6 to execute the scripts. Unfortunately, i don't think you can pass a bootup arg to OpenBoot with shutdown, therefore most of the reboots in this install procedure use "reboot".