- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgchange commands in serviceguard
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-10-2011 10:06 AM
03-10-2011 10:06 AM
In hp-ux serviceguard cluster, where do we use commands like vgchange -a y/n/e/r, vgchange -c y/n and vgchange -S y/n.
In which situations we will use these commands. Please give me clearly for which makes me bit of confuse.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2011 10:41 AM
03-10-2011 10:41 AM
Re: vgchange commands in serviceguard
Also, read the Managing Serviceguard manual from the document library
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4162060
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2011 11:06 AM
03-10-2011 11:06 AM
Re: vgchange commands in serviceguard
http://docs.hp.com/en/B2355-90681/vgchange.1M.html
Activate volume group
/usr/sbin/vgchange -a availability [-l] [-p] [-q quorum] [-s] [-P resync_daemon_count] [vg_name...]
Assign to high availability cluster and mark volume group sharable
/usr/sbin/vgchange -c cluster -S sharable vg_name
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2011 04:57 AM
03-11-2011 04:57 AM
Solutionvgchange -c y makes the volume group "cluster aware" and once this is done when you are using the "failover type" package and the disk partitioning approach as LVM, writing onto the same space of a shared disk can cause corruption to the V.G if you are not using higher volume managers that are aware of such reads/writes and do_not cause corruption. This post is based on classical_LVM and not_SLVM.
Using LVM, in order to avoid corruption, you can "exclusively activate" the volume group so that the confusion of a node having different views of the filesystem is nullified. Once you have executed...
vgchange -c y vg01, now you can execute
vgchange -a e vg01 on node1 as long as V.G is not activated on node2.
On node 2 of the cluster now if you execute..
vgchange -a e vg01... you get an error... However, you can still execute...
vgchange -a r vg01 in read only mode on node2
To activate exclusively on node2. On node1 execute...
vgchange -a n vg01.
On node2 now...
vgchange -a e vg01 should work!.
Hope you got the term "exclusive activation".
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2011 04:47 AM
03-12-2011 04:47 AM
Re: vgchange commands in serviceguard
You gave me what I expected...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2011 04:47 AM
03-12-2011 04:47 AM
Re: vgchange commands in serviceguard
You gave me what I wanted.