- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Patch rollback
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 05:52 AM
03-22-2006 05:52 AM
Patch rollback
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:00 AM
03-22-2006 06:00 AM
Re: Patch rollback
If its one patch, the backout is swremove PHSS_12345
Just use a real name.
If its a complex patch set, you would need to issue on one command line an swremove statement that includes everything you installed.
Usually I do a make_tape_recovery or make_net_recvery right before patching.
I include only vg00 and restore the system if it refused to boot or does something unacceptable after patching.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:00 AM
03-22-2006 06:00 AM
Re: Patch rollback
FIRST - do *not* run any cleanup commands to commit superseded patches.
Then I would probably do it one of two ways.
1) make a "safe" copy of /stand/vmunix.prev -- Just in case
2) swremove the bundle(s) you just swinstalled.
3) Reboot - If the new vmunix is "bad" boot the safe copy of vmunix.prev - do not boot the "current" vmunix.prev
OR
1) Reboot & boot vmunix.prev - then make a safe copy of it
2) swremove the bundle(s) you swinstalled
3) Reboot - If the new vmunix is "bad" boot the safe copy of vmunix.prev - do not boot the "current" vmunix.prev
Either way should get it done.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:29 AM
03-22-2006 06:29 AM
Re: Patch rollback
For an individual patch, 'swremove' will roll-back the patch assuming that you have the requisite roll-back information in '/var/adm/sw'. That is, you didn't install the new patch with '-x patch_save_files=false'.
I actually prefer to begin a major patch session by makeing an Ignite 'make_recovery_tape' and then commiting all patches to form a baseline:
# swmodify -x patch_commit=true \*
This gives a clean base upon which to install new patches.
Rolling-back patches shouldn't be taken lightly since there may be dependent relationships among patches.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 06:08 AM
03-28-2006 06:08 AM