- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgchange -c y
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
03-14-2003 01:06 PM
03-14-2003 01:06 PM
vgchange -c y
I ran into cannot activate vg exclusively message in ServiceGuard periodically, its easy to fix but can I find out ahead of time.
Thanks, Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:27 PM
03-14-2003 01:27 PM
Re: vgchange -c y
To find it ahead of the time, one way is to do a vgchange -a y vgxx and it should complain saying that the requested mode conflicts with the configured mode. Then you can perform a vgchange -c y and start up the cluster.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:30 PM
03-14-2003 01:30 PM
Re: vgchange -c y
Friday evening.
If "vgchange -a y " is successful, then it means it is not cluster aware and you can do a "vgchange -a n" followed by "vgchange -c y". If you get the error, then you are good.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:31 PM
03-14-2003 01:31 PM
Re: vgchange -c y
In vgdisplay output you will see on VG Status line available, exclusive.
vgchange will not let you do -e or -s unless your group is configured as cluster aware (vgchange -c). Please note that in order to do vgchange -c vgXX your system must have cmld daemon running.
Hope this helps,
-0leg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:39 PM
03-14-2003 01:39 PM
Re: vgchange -c y
However, I cannot try to activate it because its already activated on the primary node.
Vgdisplay will tell me the activated vg is in Exclusive mode, the problem was when I fail over to the 2nd node, the same vg fail to activate because the -c flag is not set.
I can workaround it, just wondering if there is a way to tell on the failover node.
Thanks, Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:45 PM
03-14-2003 01:45 PM
Re: vgchange -c y
On failover node you do not have to worry about the mode.
You create your group file for VG and then vgimport -v -s -m vgXX.map vgXX
Once package is started your volume group will be activated in the correct mode.
Just make sure your VG is mentioned in cmclconf.ascii file :)
Hope this helps.
-0leg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:51 PM
03-14-2003 01:51 PM
Re: vgchange -c y
If you are looking at the failover node, you do not need to bother if the volume group is already activated on the primary group unless the activation mode you specified on the primary node is not default viz., "vgchange -a e".
Look at your control file (search for VGCHANGE) to see if the activation mode does not match on both the nodes.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:54 PM
03-14-2003 01:54 PM
Re: vgchange -c y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2003 03:04 AM
03-15-2003 03:04 AM
Re: vgchange -c y
For example, assuming the PV is /dev/dsk/c1t6d0
doing:
echo "0x12080?84X" | adb /dev/dsk/c1t6d0
results in something like this being returned:
12080: 0 1 21D734 0
Note we get the location (12080) echoed back, followed by four fields (because we specified 4X).
The fourth field is a zero if NOT a clustered PV, but returns the Cluster id if it is part of a clusterd vg as follows:
12080: 0 0 0 3E4BAD31
So here the PV is cluster aware, and is part of cluster id 3E4BAD31
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 05:25 AM
03-17-2003 05:25 AM
Re: vgchange -c y
My original problem was somehow some of the vg has lost its -c setting and therefore will not failover correctly. It was documented in one of the postings in ITRC, when you do a cmapplyconf without specifying some of the vg at the bottom of the cluster configuration file.
Thanks for all the help.