How to backout of Solaris 10 kernel patch - Newbie question
Underh20 Scubadiving 16 April 2008 12:10:29
Dear Sir/Madam,
I've just applied a kernel patch #127111-10 at our Solaris 10 server which runs Veritas Storage Foundation for Oracle with root mirrored and encapsulated. The command I used was "# patchadd 127111-10". The server has been running that kernel patch for 2 days. Unfortunately, we've been asked to back it out for trouble-shooting purposes. How does one back out the patch to the previous version of 127111-09? Can I just do "# patchrm 127111-10" according to the readme. Is there anything we need to be aware of before and after running the patchrm ? Down the road, is it ok to reapply the 127111.10 again ?
we've been asked to back it out for trouble-shooting purposes. How
does one back out the patch to the previous version of 127111-09?
Can I just do "# patchrm 127111-10" according to the readme.
Yes, patchrm is the way to uninstall a patch. If you do "patchrm 127111-10", you will not neccessarily go to 127111-09. Instead, you'll find that you go the last installed version before 127111-10 - let's say you have revs 05, 08 and 10 installd. If you'd do the patchrm, you'll be at rev 08.
If you need to go to rev 09, you'll have to patchadd that revision afterwards.
Andrew Gabriel 16 April 2008 12:10:29 [ permanent link ]
In article <2c946582-0c64-449a-8133-97903dac87ef@x19g2000prg.googlegroups.com>, underh20.scubadiving@gmail.com writes:
Dear Sir/Madam,
I've just applied a kernel patch #127111-10 at our Solaris 10 server
which runs Veritas Storage Foundation for Oracle with root mirrored
and encapsulated. The command I used was "# patchadd 127111-10". The
server has been running that kernel patch for 2 days. Unfortunately,
we've been asked to back it out for trouble-shooting purposes. How
does one back out the patch to the previous version of 127111-09?
Can I just do "# patchrm 127111-10" according to the readme. Is there
anything we need to be aware of before and after running the
patchrm ? Down the road, is it ok to reapply the 127111.10 again ?
Backing out kernel patches is not risk-free. I would ensure you have a backup to recover from (and which you know how to reinstall from) if the system no longer works.
This is where live-upgrade really wins -- you would just reboot the previous boot environment.
Can't comment on what effect Veritas encapsulated root will have.
-- Andrew Gabriel [email address is not usable -- followup in the newsgroup]