Professional Documents
Culture Documents
http://www.brandonhutchinson.com/Installing_Solaris_Recommended_Patch_Clusters.html
Solaris 9:
$ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=9_Recommended.zip&method=h" -O 9_Recommended.zip $ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=9_Recommended.README&method=h" -O 9_Recommended.README
Solaris 8:
$ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=8_Recommended.zip&method=h" -O 8_Recommended.zip $ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=8_Recommended.README&method=h" -O 8_Recommended.README
Solaris 7:
$ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=7_Recommended.zip&method=h" -O 7_Recommended.zip $ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=7_Recommended.README&method=h" -O 7_Recommended.README
1 of 4
6/9/2011 10:08 AM
http://www.brandonhutchinson.com/Installing_Solaris_Recommended_Patch_Clusters.html
Solaris 2.6
$ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=2.6_Recommended&method=h" -O 2.6_Recommended.tar.Z
Solaris 2.5.1
$ wget --http-user=Sun_Online_user --http-passwd=Sun_Online_password --no-check-certificate "https://sunsolve.sun.com/privatecgi/pdownload.pl?target=2.5.1_Recommended&method=h" -O 2.5.1_Recommended.tar.Z
Deprecated URIs: Solaris 2.5.1: ftp://patches.sun.com/patchroot/clusters/2.5.1_Recommended.tar.Z ftp://patches.sun.com/patchroot/clusters/2.5.1_Recommended.README Solaris 2.6: ftp://patches.sun.com/patchroot/clusters/2.6_Recommended.tar.Z ftp://patches.sun.com/patchroot/clusters/2.6_Recommended.README Solaris 7: ftp://patches.sun.com/patchroot/clusters/7_Recommended.zip ftp://patches.sun.com/patchroot/clusters/7_Recommended.README Solaris 8: ftp://patches.sun.com/patchroot/clusters/8_Recommended.zip ftp://patches.sun.com/patchroot/clusters/8_Recommended.README Solaris 9: ftp://patches.sun.com/patchroot/clusters/9_Recommended.zip ftp://patches.sun.com/patchroot/clusters/9_Recommended.README Solaris 10: ftp://patches.sun.com/patchroot/clusters/10_Recommended.zip ftp://patches.sun.com/patchroot/clusters/10_Recommended.README 2. View the README file before proceeding with Cluster installation. 3. Move the Patch Cluster archive onto a file system with sufficient free space in which to extract the archive. To determine the number of kilobytes needed to extract a .zip file, run:
$ unzip -l $FILE | tail -1 | awk '{ print $1 / 1024 }'
Example:
$ unzip -l 8_Recommended.zip | tail -1 | awk '{ print $1 / 1024 }' 489285529
2 of 4
6/9/2011 10:08 AM
http://www.brandonhutchinson.com/Installing_Solaris_Recommended_Patch_Clusters.html
Example:
$ zcat 2.6_Recommended.tar.Z | tar tvf - | awk '{ KILOBYTES += $3 / 1024 } END { print KILOBYTES } 128420
5. Login as the root user on the system console, and bring the system to single-user mode. Although Patch Cluster installation may be performed in multi-user mode (e.g. run level 3), it may cause problems with running programs and services.
# init S
6. Backup the configuration files for the Sun SCSI disk (sd) and SCSI tape (st) drivers. Patch Cluster installation will overwrite the drivers' configuration files. If your system uses SCSI disks with non-zero LUNs (common with RAIDs or external storage arrays) or "wide" SCSI tape devices (i.e. SCSI IDs 8-15), these devices will not be recognized by the operating system after system reboot.
# cp /kernel/drv/sd.conf /kernel/drv/sd.conf.pre_cluster_installation # cp /kernel/drv/st.conf /kernel/drv/st.conf.pre_cluster_installation
During Cluster installation, you may see failures when installing individual patches. Example:
Installation of patch failed. Return code 2. Installation of patch failed. Return code 8.
Return code 2 indicates that the patch has already been installed. This message is common when installing the Recommended Patch Cluster on a regular basis. Return code 8 indicates that the patch is for a package that is not installed on your system. Both of these return codes are common, and may be safely ignored. For information on other return codes, examine the /usr/sbin/patchadd file. 8. Restore the Sun SCSI disk and SCSI tape driver configuration files.
# mv /kernel/drv/sd.conf.pre_cluster_installation /kernel/drv/sd.conf # mv /kernel/drv/st.conf.pre_cluster_installation /kernel/drv/st.conf
After rebooting, you may verify your new patch level with the showrev command. To list of all patches installed on your system, run the showrev -p command.
3 of 4
6/9/2011 10:08 AM
http://www.brandonhutchinson.com/Installing_Solaris_Recommended_Patch_Clusters.html
Back to brandonhutchinson.com.
Last modified: 2007/03/23
4 of 4
6/9/2011 10:08 AM