VERITAS Volume Manager 4.1 Administrator's Guide
Administering Cluster Functionality
Administering VxVM in Cluster Environments
Chapter 10378
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.
Setting Exclusive Open Access to a Volume by a Node
NOTE Exclusive open access on a volume can only be set on the master node.
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.
Displaying the Cluster Protocol Version
The following command displays the cluster protocol version running on
a node: