- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchange -c y
Operating System - HP-UX
1820735
Members
3290
Online
109627
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-07-2011 05:21 AM
тАО06-07-2011 05:21 AM
Hello,
I have two servers in a MCSG cluster.
after one year, MCSG is deactived the vg's are actived with vgchange -c n and vgchange -a y.
Now, i want reactive the cluster.
Must i do a vgchange -c y before or not....
Thank's
I have two servers in a MCSG cluster.
after one year, MCSG is deactived the vg's are actived with vgchange -c n and vgchange -a y.
Now, i want reactive the cluster.
Must i do a vgchange -c y before or not....
Thank's
D.Blond
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 06:10 AM
тАО06-07-2011 06:10 AM
Solution
If a VG is clustered (i.e. the disks have been presented to two or more hosts) then yes, "vgchange -c y" is necessary.
Otherwise, the system will not enforce proper locking and there is a possibility of accidentally activating the VG and mounting the disk on more than one server simultaneously. This will cause data corruption, because of disk caching.
When "vgchange -c y" is in effect on a VG, that VG cannot be activated with the usual "vgchange -a y": you must use "vgchange -a e" instead. And "vgchange -a e" works only when the server is running Serviceguard and a member of the cluster (the server status is "up" in "cmviewcl" output), AND no other node in the cluster has the same VG active.
If the VG's disks are presented to one host only, then "vgchange -c y" is not necessary for that VG, even if the system is running Serviceguard. Normally, vg00 should *never* be in "vgchange -c y" mode.
MK
Otherwise, the system will not enforce proper locking and there is a possibility of accidentally activating the VG and mounting the disk on more than one server simultaneously. This will cause data corruption, because of disk caching.
When "vgchange -c y" is in effect on a VG, that VG cannot be activated with the usual "vgchange -a y": you must use "vgchange -a e" instead. And "vgchange -a e" works only when the server is running Serviceguard and a member of the cluster (the server status is "up" in "cmviewcl" output), AND no other node in the cluster has the same VG active.
If the VG's disks are presented to one host only, then "vgchange -c y" is not necessary for that VG, even if the system is running Serviceguard. Normally, vg00 should *never* be in "vgchange -c y" mode.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2011 04:53 AM
тАО06-15-2011 04:53 AM
Re: vgchange -c y
vgchange -a n (volume group active no)
vgchange -a y (volume group active yes)
vgchange -s y (volume group sharing yes)
vgchange -s n(volume group sharing no)
vgchange -c y(clustering yes)
This way u can easily remember
from u above postings u activated only volume group u have to activate cluster also
by using vgchange -c y
thanks and regards
Sajjad sahir
vgchange -a y (volume group active yes)
vgchange -s y (volume group sharing yes)
vgchange -s n(volume group sharing no)
vgchange -c y(clustering yes)
This way u can easily remember
from u above postings u activated only volume group u have to activate cluster also
by using vgchange -c y
thanks and regards
Sajjad sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2011 05:30 AM
тАО06-15-2011 05:30 AM
Re: vgchange -c y
thank's
D.Blond
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP