- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to break a root mirror
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
тАО05-25-2011 12:02 AM
тАО05-25-2011 12:02 AM
What is the procedure to break root mirror in HP-UX. Before doing the patching we are thinking of breaking mirror, so that after the patching if the OS on primary corrupts, we should be in a position to recover/boot the server from secondary disk. Please advise.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2011 12:20 AM
тАО05-25-2011 12:20 AM
Solutionyou can split your LV by using #lvsplit command.
So for example:
#lvsplit /dev/vg00/lvol1
It depends on what files the patch fixes, you can specify all the LVOL's from your VG00 on the same command line:
#lvsplit /dev/vg00/lvol1 /dev/vg00/lvol2 /dev/vg00/lvol3 ...
then look at command #lvmerge , which is used to synchronize the LVOL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2011 10:45 AM
тАО05-25-2011 10:45 AM
Re: How to break a root mirror
Then boot the server from the clone.
In case of problems, just boot from the original disk.
You can do all this with minimum downtime (1 reboot only, if all works).
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
тАО05-25-2011 07:42 PM
тАО05-25-2011 07:42 PM
Re: How to break a root mirror
Go through below doc.
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01920361/c01920361.pdf
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2011 12:04 AM
тАО05-26-2011 12:04 AM
Re: How to break a root mirror
If I do a lvsplit initially and during patching my primary disk got corrupted, what is the procedure to recover it from the backup lv or lv's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2011 12:26 AM
тАО05-26-2011 12:26 AM
Re: How to break a root mirror
I recommend splitting all of the LVOL's of your vg00 and then if your primary disk becomes unbootable, then boot with your secondary disk (the one that was just splitted) and 'lvmerge' the volume back. But be carefull to use the lvmerge command in the right direction! ! !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2011 12:27 AM
тАО05-26-2011 12:27 AM
Re: How to break a root mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2011 03:21 AM
тАО05-26-2011 03:21 AM
Re: How to break a root mirror
Scenario 1 ( No mirrored Disk)
Before go for patching take ignite backup of your system as recommended by hp.
If you dont have an option to take ignite in tape, configure ignite server and take ignite backup..
Take kernel backup.
Reboot the server and ensure server comes up prior to patching.
Check for error message's, service status, dmesg, /var/adm/syslog/syslog.log.
Then go for patching.
Scenario 2 ( Mirrored disk )
split the root disk as suggested.
Reboot the server and ensure both (primary /secodary) disk's are bootable.
Take kernel backup
Then go for patching.
Rollback
if you face any issue after patching. you have an option to boot in secondary disk merge the primary with secondeary and update the boot informatio.
or
Uninstall the installed by patches.
If you need to remove the installed patch bundle
1) Generate a list of patches to be removed which were installed as part of this change
# swlist -l product -a install_date | grep 2009MMDD | awk '{print $1}' > /tmp/patches_to_remove.txt
NOTE: In the above line 2009MMDD corresponds to the install date of the patch bundles. For example if
the install date was Jan 17 2009, then 2009MMDD should read 20090117
NOTE: The list of patches to be removed should be verified to confirm that only patches installed as a
result of this change will be removed. Check the /tmp/patches_to_remove.txt file against the list of patches
installed in the /var/adm/sw/swinstall.log and /var/adm/sw/swagent.log files.
2) Remove the patches
# swremove -x mount_all_filesystems=false -x autoreboot=true -f /tmp/patches_to_remove.txt