- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirroring on shared volume and lvmconf changes
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
тАО01-28-2004 02:22 AM
тАО01-28-2004 02:22 AM
2 * A classes in Service Guard pair.
Shared volume group is /dev/vg_shared consists of 2 physical drives and 3 logical volumes lvol9 lvol13 and lvol14.
Mirroring setup only on lvol14.
vg_shared currently mounted on HOST_B and running oracle
Host_A knows all about vg_shared ie all /dev/vg_shared/lvol* n group etc present so I assume that vgexport/vgimport etc done succesfully in past.
I have now mirrored up lvol9 and lvol13.
Now, Do I need to worry about lvmconf file differences between the 2 servers?? ie does mirroring ,I have now done, effect any lvm files?
Thanks in Advance
Sue
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:35 AM
тАО01-28-2004 02:35 AM
Re: mirroring on shared volume and lvmconf changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:47 AM
тАО01-28-2004 02:47 AM
Re: mirroring on shared volume and lvmconf changes
The mirror setup is saved to the Volume Group records on disk so you don't need to update anything on the other host to activate it with the new mirroring. The lvmconf area is a backup of the physical volume configuration and layout so what you can't do is activate it on host a then vgcfgrestore to the mirror disk - this will restore the old information to the disk headers and removing the mirroring for the two lvols. What you should do after activating the VG on the other host is take a backup of the new configuration using vgcfgbackup to make sure everything is in sync.
Cheers,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:51 AM
тАО01-28-2004 02:51 AM
Re: mirroring on shared volume and lvmconf changes
You could do this by vgexport-ing vg_shared in preview mode on HOST_B with a map file (vgexport -p -s -m mapfile vg_shared), rcp the mapfile to HOST_A and vgimporting back on HOST_A (with vgimport -s -m mapfile vg_shared).
Of course, I only outlined the steps needed to synchronize the vg on the second node. You should read few manual pages of lvm commands to do things right.
Good luck,
Virgil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 03:01 AM
тАО01-28-2004 03:01 AM
Solutionyou do not need to vgexport/vgimport. This is only necessary when you add/remove disks to/from the vg.
If you add lvols you should add the required rlvol/lvol device files using mknod (or run vgexport -p -s and vgimport -s)
If you remove lvols you should remove the unnecessary device files using rmsf
For add/remove lvols you would most likely also change the package control script and have to copy that to the other node.
Now in your case, since lvmconf files are only updated when you run make_tape/net_recovery or when you make changes to the VG, it would be good practice to run vgcfgbackup vg_shared, after you started the package (i.e. activate the vg_shared) on the other node. You do not have to do this immediately, though.
Regards,
Bernhard