- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Activating VG in another cluster node
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
тАО08-16-2007 04:58 AM
тАО08-16-2007 04:58 AM
Activating VG in another cluster node
I am having this strange problem while trying to active the replicated VG on an another cluster.
1) Did a pairsplit and pairdisplay to make sure the CA pairs are in split mode
2) VGimported the VG using the CA-SVOLS
3) # vgchange -c n vgXX
Performed Configuration change.
Volume group "vgXX" has been successfully changed.
This will remove the cluster ID of the old cluster
4) # vgchange -c y vgXX
Performed Configuration change.
Volume group "vgXX" has been successfully changed.
#
This will install the cluster ID of the new cluster (or that is what I thought :-))
5)# vgchange -a e vgXX
vgchange: Volume group "/dev/vgXX" belongs to a different Cluster. Activation failed.
I am also looking in to the possiblity of a LVM patch fix. But any thoughts ?
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 05:08 AM
тАО08-16-2007 05:08 AM
Re: Activating VG in another cluster node
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 05:17 AM
тАО08-16-2007 05:17 AM
Re: Activating VG in another cluster node
The system is zoned to see only SVOLS and thus wont get "confused" seeing two disks with the same PVID/VGID.
I know it doesn't hurt to try but the above sequence of commands should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 05:29 AM
тАО08-16-2007 05:29 AM
Re: Activating VG in another cluster node
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 01:43 PM
тАО08-16-2007 01:43 PM
Re: Activating VG in another cluster node
Suppose that you want to activate vg01 from nodeA to nodeB in your cluster (In normal case, this do by using MC/SG command).
I have done this job lots of time :)
1) nodeA#umount all of mount point belong to vg01
2) nodeA#vgchange -a n vg01
3) nodeA#vgchange -c n vg01
4) nodeB#vgchange -c y vg01
5) nodeB#vgchange -a y vg01
Hope this works :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2007 08:19 AM
тАО08-17-2007 08:19 AM
Re: Activating VG in another cluster node
You can do this:
1. fuser -ku /dev/vgash/lvol1
2. umount /test
3. vgchange -a n vgash
4. vgchange -c n vgash
5. vgchange -a n vgash
6. vgchange -a y vgash
7. fsck -F vxfs /dev/vgash/lvol1
8. mount /dev/vgash/lvol1 /test
Thanks & Regards
A. Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:35 AM
тАО08-22-2007 05:35 AM
Re: Activating VG in another cluster node
So, the vgchange commands, though seem to complete successfully, is misleading.
After splitting the pairs with -rw option, I was able to change the cluster ID and activate the VG in exclusive mode !
HP LVM team ?!?!?!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 03:17 PM
тАО08-22-2007 03:17 PM
Re: Activating VG in another cluster node
I used to mount the CA copy for backup; But never faced this problem as i always bring them up in normal(-a y) for backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2007 08:55 AM
тАО08-27-2007 08:55 AM
Re: Activating VG in another cluster node
You will not be able to do a vgchange -a y if the source VG was part of a cluster.
In my opinion, vgchange -c y and -c n are very misleading. Had they complained that the configuration change cannot be performed due to read-only volumes, I would have figured instantly that the S-VOL was split read-only.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2007 03:04 PM
тАО08-27-2007 03:04 PM