Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Chapter 13, Administering Cluster Functionality
Administering VxVM in Cluster Environments
377
Setting the DIsk Detach Policy on a Shared Disk Group
Note The disk detach policy for a shared disk group can only be set on the master node.
The vxdg command may be used to set either the global or local disk detach policy for
a shared disk group:
# vxdg -g diskgroup set diskdetpolicy=global|local
The default disk detach policy is global. See “Connectivity Policy of Shared Disk
Groups” on page 353 for more information.
Setting the Disk Group Failure Policy on a Shared Disk Group
Note The disk group failure policy for a shared disk group can only be set on the master
node.
The vxdg command may be used to set either the dgdisable or leave failure policy for
a shared disk group:
# vxdg -g diskgroup set dgfailpolicy=dgdisable|leave
The default failure policy is dgdisable. See “Disk Group Failure Policy” on page 356 for
more information.
Creating Volumes with Exclusive Open Access by a Node
Note All shared volumes, including those with exclusive open access, can only be created
on the master 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.