- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rollback after installing HPUX patch bundles
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
Discussions
Discussions
Forums
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
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
тАО02-17-2009 09:12 AM
тАО02-17-2009 09:12 AM
rollback after installing HPUX patch bundles
On yearly basis we apply hpux patches supplied by our HP support folks.
I've never had to rollback from a hpux patch bundle. So do you rollback if the patch bundle causes issues and how do you deal with dependency issues when you rollback
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 09:22 AM
тАО02-17-2009 09:22 AM
Re: rollback after installing HPUX patch bundles
Create a DRD clone of your vg00, patch it.
Once you have the possibility, activate (boot) the clone and test.
In case of problems simply boot the original vg00.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 09:26 AM
тАО02-17-2009 09:26 AM
Re: rollback after installing HPUX patch bundles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 09:32 AM
тАО02-17-2009 09:32 AM
Re: rollback after installing HPUX patch bundles
I use one. I restore the Ignite make_tape_recovery or make_net_recovery backup I did before the patch set.
If you created a patch bundle and did not remove superseded patches, you can remove the patch set by bundle with swremove.
You can remove individual patches if dependency problems are not created.
After committing patches with the cleanup command your options are limited to Ignite.
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
тАО02-17-2009 10:40 AM
тАО02-17-2009 10:40 AM
Re: rollback after installing HPUX patch bundles
If the system is bootable and you can login to the system, use swremove to uninstall the installed patch bundle and reboot the system.
Generate a list of patches to be removed which were installed as part of this change
# swlist -l product -a install_date | grep 2007MMDD | awk '{print $1}' > /tmp/patches_to_remove.txt
In the above line 2007MMDD corresponds to the install date of the patch bundles. For example if
the install date was Jan 17 2007, then 2007MMDD should read 20070117
Remove the patches
# swremove -x mount_all_filesystems=false -x autoreboot=true -f /tmp/patches_to_remove.txt
Progress of the patch removal can be viewed in the swagent.log (until the reboot takes place), eg:
# tail -f /var/adm/sw/swagent.log
Once the system has rebooted, remove the bundle definitions:
3) Now generate the bundle definition list including the revision details
# swlist ├в l bundle ├в a install_date | grep 2007MMDD | awk '{print $1}' > /tmp/bundle_def
For every bundle get the revision details
# swlist ├в a revision ├в l bundle ├в bundle name├в
4) Remove the bundle definitions
# swremove ├в x mount_all_filesystems=false ├в Bundle name├в .,r=├в bundle revision├в
e.g. # swremove GOLDAPPS11i.,r=B.11.11.0509.429
** Note: remember the ├в .├в After the bundle name
Option 2: Recover from Ignite backup !!
Best of Luck !!
You have not assigned points to your post.
Please assign points:
Refer: http://forums11.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 10:40 AM
тАО02-17-2009 10:40 AM
Re: rollback after installing HPUX patch bundles
1) Boot from previous kernel and remove offending patch using swremove as stated above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 02:50 PM
тАО02-17-2009 02:50 PM
Re: rollback after installing HPUX patch bundles
If you install a patch and later remove it, you get back to the original state.
If you install a patch bundle and later remove it, you *might* get back to the original state.
The difference is that the patch is atomic, while the bundle is comprised of parts. It is possible that some of those parts were installed before the bundle, and yet removing the bundle may cause those preexisting patches to be removed.
For that reason I recommend using the DRD and recovery image options described above. Failing that, review the swagent.log and remove the patches that were installed rather than selecting the bundle for removal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 09:47 PM
тАО02-17-2009 09:47 PM
Re: rollback after installing HPUX patch bundles
have an Ignite backup and in case you need the roll-back restore that, actually that would be a much more cleaner approach that i think.
Other part is that if you have a mirror of the OS Disk then yiu can simply unplug one of the disks when you upgrade the patch, for roll-back boot the disk from the removed disk and do a mirroring on the disk that you have used for patching.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 10:17 PM
тАО02-17-2009 10:17 PM
Re: rollback after installing HPUX patch bundles
You can't rollback the bundle but you can rollback patch.
with swremove command you can uninstall/remove the patch from a system.
If you don't have DRD then better you go for Ignite backup.
Suraj