- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Confirming steps for vxvm 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
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
06-27-2006 06:51 AM
06-27-2006 06:51 AM
I have a shared volume group called omcdg that need to be activated exclusively in package control script. Whereas in LVM we specify vgchange -e to exclusive mount the volume, can you please confirm, how should i deactivate volume from all nodes of cluster and activate the volume group in exclusive mode. An example will really help my understanding now.
Thanks,
Srikanth
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 08:08 AM
06-27-2006 08:08 AM
Re: Confirming steps for vxvm in serviceguard
This is all documented in the Managing Serviceguard manual available at:
http://docs.hp.com/en/ha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 08:03 PM
06-27-2006 08:03 PM
Re: Confirming steps for vxvm in serviceguard
I did see in the documentation. My question is when we depot, what files get created and where? Should I rcp that to the second node.
After copying to second node, what parameter i need to specify to vxdg import.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 09:38 PM
06-27-2006 09:38 PM
SolutionThere are 4-Modes available:
a)sw means shared-write
The node has write access to the disk group.
b)ew means exclusive-write
The node has exclusive write access to the disk group. No other node can activate the disk group for write access.
c)ro means read-only
The node has read access to the disk group and denies write access for all other nodes in the cluster. The node has no write
access to the disk group. Attempts to activate a disk group for either of the write modes on other nodes fail.
d)sr means shared-read
The node has read access to the disk group. The node has no write access to the disk group, however other nodes can obtain
write access.
Example to set the same:
#vxdg -g willowdg set activation=sw
You can use above modes in similar fashion in the scripts.
Hope this helps.
-Amit
PS: Please remember to assign points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 10:08 PM
06-27-2006 10:08 PM
Re: Confirming steps for vxvm in serviceguard
I am not sure what you mean here.
The details on how to do this are all documented in the manual.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 10:19 PM
06-27-2006 10:19 PM
Re: Confirming steps for vxvm in serviceguard
Reply is inline:
how should i deactivate volume from all nodes of cluster and activate the volume group in exclusive mode
A) Suppose the DG ( Disk Group = VG in LVM) name is dg01 and the setup is two node cluster , node1 and node2
Now you have already created a shared DG , dg01 by the command "vxdg -s init dg01 c4t0d0" on any of the node on the shared disk "c4t0d0"
Once you create a shared DG , it will be activated on both the nodes. You can create Volume,delete volume from the Master Server , which can be known by the command
#vxdctl -c mode"
If you want DG to be imported from both the nodes, you need to give the command
#vxdg deport dg01
It will be deported from both the nodes.
Now you can give following command on the node2 , on which you want to activate the same:
#vxdg import dg01
With this command only node2 will be able to see the DG not node1.
If again you want both the nodes to see the Dg after completing your work , then you can give the following commands:
#vxdg deport dg01
#vxdg -s import dg01
Also I have mentioned the various modes which are available. Suppose you want to create volume from any node , then you need to give the command
#vxdg -g dg01 set activation=sw
Hope this helps. update if you still have any confusion on the same.
-Amit
PS: Please don't forget to assign the points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 10:59 PM
06-27-2006 10:59 PM
Re: Confirming steps for vxvm in serviceguard
Thanks everybody..its working fine now. I will assign points to you all.
Thanks,
Srikanth