- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Steps required to break the mirrior
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
01-15-2008 11:39 AM
01-15-2008 11:39 AM
Steps required to break the mirrior
I have some patching activity on my hp-ux box,As i dont have ignite backup with me I need to break the mirrior before activity .so some one pls give me the steps to break the mirrior and use that disk when my primary got failed to boot after the patch installation.
Jai...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 02:57 PM
01-15-2008 02:57 PM
Re: Steps required to break the mirrior
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cXtYdZ
where cXtYdZ corresponds to your boot disk.
Now shutdown and remove your mirror disk and boot. If the mirror disk ain't in the box, one hard to try really hard to alter its contents.
I actually prefer to leave the disk mirrored while patching (after all you could have a disk failure then) and instead do a lifeboat copy to another disk before patching.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 03:05 PM
01-15-2008 03:05 PM
Re: Steps required to break the mirrior
To "break the mirror", so that the off-lined disk remains bootable and valid:
1.) Sanity check: verify that the bootloader exists on both halves of the mirrored system disk (PA-RISC: lifls /dev/rdsk/
If it doesn't, read HP's document "When Good Disks Go Bad" and redo your mirror using the proper procedure.
The bootloader is not on the LVM-managed disk area, so it is not mirrored automatically.
2.) shutdown system
3.) unplug one of the system disks
4.) restart system using "-lq" boot option
(otherwise it will not boot; this option should be set as default when the system was originally mirrored)
If the patch operation fails:
1.) shutdown system
2.) unplug the disk that has the failed installation
3.) re-plug the disk that contains the good installation
4.) restart system (this makes the event timestamps on the good installation newer than on the bad one, so the system won't sync in the wrong direction if/when it tries to resync the mirror automatically)
5.) reinstall the other disk and re-mirror using the normal system disk mirror procedure for your architecture, as listed in document "When Good Disks Go Bad".
Document "When Good Disks Go Bad":
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
You might also want to check out "Dynamic Root Disk": it's a free product from HP. It could be described as "Ghost for HP-UX", if you're familiar with that disk cloning software of the PC world.
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DynRootDisk
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 03:17 PM
01-15-2008 03:17 PM
Re: Steps required to break the mirrior
But we are on Offshore support and we cant able to unplug or plug the disk.Is there any way to do it from offshore.
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 04:45 PM
01-15-2008 04:45 PM
Re: Steps required to break the mirrior
When you are good to go do "lvextend -m 1"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 10:39 PM
01-15-2008 10:39 PM
Re: Steps required to break the mirrior
If you are running 11.23 or 11.31 have a look at dynamic root disk (DRD).
This tool will clone the vg00 to a "cold standby" disk. Now you can patch this cold standby copy, example:
# drd runcmd swinstall -s ...
Once this is done, you can activate the clone and boot from.
In case of any problems just boot from the original disk - this remains unchanged.
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
01-16-2008 06:49 AM
01-16-2008 06:49 AM
Re: Steps required to break the mirrior
do an lvdisplay to see if any stale extends.
Then run the comamnds as below.
sync; lvsplit /dev/vg00/lvdump
sync; lvsplit /dev/vg00/lvol8
sync; lvsplit /dev/vg00/lvol7
sync; lvsplit /dev/vg00/lvol6
sync; lvsplit /dev/vg00/lvol5
sync; lvsplit /dev/vg00/lvol4
sync; lvsplit /dev/vg00/lvol2
sync; lvsplit /dev/vg00/lvol1
sync; lvsplit /dev/vg00/lvol3
"/" must be split LAST!
S.O
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 01:21 PM
01-16-2008 01:21 PM
Re: Steps required to break the mirrior
Sounds Good ,Is this enough to break mirrior or i need to do some thing in /etc/fstab etc ...
jai,,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 01:29 PM
01-16-2008 01:29 PM
Re: Steps required to break the mirrior
i.e.
all lvols on split will now be called lvol1b, lvol2b, lvol3b, etc.. but the lvlnboot and fstab still reference lvol1, lvol2, lvol3 etc..
You must mount the now split lvol1b, edit the fstab, I forget how to fix the lvlnboot. Might be a lvm maintenance mode thing IF you end up using the mirror.
Also need to change the boot handler for the split disk to use -lq as mentioned earlier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 04:01 PM
01-16-2008 04:01 PM
Re: Steps required to break the mirrior
Can some pls update the final step needs to be performed after this lvsplit ( exact steps )
jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 10:22 PM
01-16-2008 10:22 PM
Re: Steps required to break the mirrior
# model
# uname -a
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!
