Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)
# vxdg -g diskgroup set dgfailpolicy=dgdisable|leave|requestleave
The default failure policy is dgdisable.
Creating volumes with exclusive open access by a node
When using the vxassist command to create a volume, you can use the
exclusive=on attribute to specify that the volume may only be opened by one
node in the cluster at a time. For example, to create the mirrored volume volmir
in the disk group dskgrp, and configure it for exclusive open, use the following
command:
# vxassist -g dskgrp make volmir 5g layout=mirror exclusive=on
Multiple opens by the same node are also supported. Any attempts by other nodes
to open the volume fail until the final close of the volume by the node that opened
it.
Specifying exclusive=off instead means that more than one node in a cluster
can open a volume simultaneously. This is the default behavior.
Setting exclusive open access to a volume by a node
Exclusive open access on a volume can be set from the any node in the cluster.
Ensure that none of the nodes in the cluster have the volume open when setting
this attribute.
You can set the exclusive=on attribute with the vxvol command to specify that
an existing volume may only be opened by one node in the cluster at a time.
For example, to set exclusive open on the volume volmir in the disk group dskgrp,
use the following command:
# vxvol -g dskgrp set exclusive=on volmir
Multiple opens by the same node are also supported. Any attempts by other nodes
to open the volume fail until the final close of the volume by the node that opened
it.
Specifying exclusive=off instead means that more than one node in a cluster
can open a volume simultaneously. This is the default behavior.
Displaying the cluster protocol version
The following command displays the cluster protocol version running on a node:
# vxdctl list
459Administering cluster functionality (CVM)
Administering VxVM in cluster environments