#First, Backup, and log what it installed. #============================================ make a level 0 backup: /usr/bin/showrev -p > /tmp/pre_install.txt #Second, Make patch area #============================================ mkdir -p /usr/local/src # this is where we will store our custom programs. cd /usr/local/src #Third, Get patches #============================================ # Goto http://www.sun.com/bigadmin/patches/index.html # download patch for the OS to be patched. # save it to /usr/local/src/ #Fourth, Unpack it #============================================= # uncompress the file cd /usr/local/src/ # this is the solaris recomended patch cluster for I386 # its name will depend on your version and hardware. unzip 7_x86_re.zip # Fifth, cd to the patch dir, and install #============================================= cd 7_x86_Recommended/ more CLUSTER_README.TXT # Good to read this carefully once. # I have noted some highlights below #========================================== # must have at least 10MB of free space on /, /usr, /var, /opt. # patchadd command that saves the files to be replaced prior to patch. # 1st it determins if there is enough disk space in /var/sadm/patch to save the objects to be replaced. # Later refer to the "patchrm" man page # "-nosave" when launching the patch script to avoid saving the backout. ## Each patch has a README file for special install instrucions. ## Diskless client root templates space need to be pathed before the server is patched. ## "showrev -p" to compare installed patches with the patch list in the culser. ## dont need to backout old pathces, but they will stay resident in /var/sadm/patch , and show up in showrev -p" #Sixth, run the install, and monitor the install #=============================================== # start 2 terminal windows with a tiny font. # in one terminal, ./install_cluser ---or---- ./install_cluser -nosave # in second terminal, tail -f /var/sadm/install_data/_log # Seventh, verify the install #=============================================== /usr/bin/showrev -p > /tmp/post_install.txt # to verify patches diff /tmp/pre_install.txt /tmp/post_install.txt # Eighth, reboot #=============================================== #Reboot to take effect reboot