Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing a Solaris Patch Cluster

Administration

Removing a Solaris Patch Cluster

by  coffeysm  Posted    (Edited  )
Figured this would be usefule for people that are new.

Uninstalling a patch cluster is pretty simple if you used the install_cluster script. Perform these steps to get your system back to previous status. Pretty much reverses the patch_order file and loops through it.

[color red]*Note: Keep in mind sometimes this is not a full-proof solution you might have to hit the backup tapes also.[/color]

Copy and Paste Below

Code:
#!/bin/sh
PATH=/usr/bin:/usr/sbin ; export PATH
#
# Change this to where your patches are located
#
cd /your/patchpath
#
# Reverse the order of the patch_order file 
#
tail -r patch_order > remove_order
#
# Loop through and remove each patch listed
#
for PATCH in `cat reverse_order`
  do
       patchrm ${PATCH}
   done
#
# Reboot
#
init 6
# END
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top