- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to properly Split an LVM Mirrored Boot Env...
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
10-13-2004 03:57 AM
10-13-2004 03:57 AM
How to properly Split an LVM Mirrored Boot Environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 04:02 AM
10-13-2004 04:02 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
Here is a documented process on how to boot from a split mirror if required.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063238284
the itrc doc id is X1401978.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 04:09 AM
10-13-2004 04:09 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
Will lvreducing the LVOLS and then moving the mirror PV out of VG00 actually destroy data on the PV? I was thinking, I can perhaps boot off of the split disk in LVM maint mode and fix VG00 afterwards??
I was thinking a dd copy might as well do the trick - after splitting the PV of course and using that as the dd target. Then boot off the dd disk in a fallback scenario (OVM maint mode) and fix VG00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 04:17 AM
10-13-2004 04:17 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
when you do lvreduce to reduce the mirror from the secondary disk, you actually destroy that copy on the mirror. lvextend to create a new copy will recreate the mirror. You can verify this by doing a pvdisplay after the lvreduce/lvextend command.
If i'm reading you correctly, you don't want to do that, but instead keep your mirror copy safe to reboot the server from the mirror in the event your primary copy gets corrupted while doing the upgrade.
Another choice is to create a ignite archive and use that to reload the OS in the event of a problem with the upgrade.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 06:02 AM
10-13-2004 06:02 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
man lvsplit
lvsplit - split mirrored LVM logical volume into two logical volumes
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 06:10 AM
10-13-2004 06:10 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
The document mentioned above is the proper way to do it.
I am doing something very similar right at the moment.
But if you want something very simple, you can just PULL one of the drive and patch the system.
You will have to override the quorum while booting.
When you are done with patching, if the patching is successful, insert the drive that you just pulled off, LVM should automatically sync the stale extends.
If the patching is not successful, PULL the drive that is currently online and PLUG the drive that you pulled off for the first time and boot from it
I cannot think of anything simpler than this :-)
- Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 06:14 AM
10-13-2004 06:14 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
That's the other method that we were looking at in addition to a dd copy and a make_net_recovery backup. The problem is the data center is a totally lights out environment - no humans or human help can be difficult to have.
;^)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 06:22 AM
10-13-2004 06:22 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
It is not as simple as it sounds.
If I am given the option, I would go with pulling the drive than splitting and merging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 06:38 AM
10-13-2004 06:38 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
hpux -lq at boot will give you desired to boot without mirror.
Hope it helps
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 08:39 AM
10-13-2004 08:39 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
make_tape_recovery -A -x inc_entire=vg00 -v -t...
This will keep you hassle free in case you want to reload originial OS.
Just have a glance of ITRC and/or other sites regarding issues regarding upgrade of OS and cPars software. May be it will be good idea to open a question on that so that you will get all valuable inputs. Take necessary precautions besides backing up and taking mirror disk out. So that chances are just least of failing. Also keep track of patches which will be needed to support your upgrade.
Hope above helps
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 09:11 AM
10-13-2004 09:11 AM
Re: How to properly Split an LVM Mirrored Boot Environment?
I did the same as you some time back, and the HP sollution was to go and pull out the disk, i didn't like that - but that was the sollution.
In sam you have the possibility to do:
disk and filesystems -> action ->
Replace Hot Pluggable Disk
I don't know what that command does, but that is something to look in on.
maybe pvchange -z n /dev.. will do it.
I don't thing you should splitt you volumes with lvsplit and merge that will rename the volume...