VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Chapter 10, Administering Cluster Functionality
Administering VxVM in Cluster Environments
261
Requesting the Status of a Cluster Node
The vxdctl utility controls the operation of the vxconfigd volume configuration
daemon. The -c option can be used to request cluster information. To determine whether
the vxconfigd daemon is enabled and/or running, use the following command:
# vxdctl -c mode
This produces one of the following output messages depending on the current status of
the cluster node:
mode: enabled: cluster active - MASTER
mode: enabled: cluster active - SLAVE
mode: enabled: cluster active - role not set
mode: enabled: cluster inactive
Note If the vxconfigd daemon is disabled, no cluster information is displayed.
See the vxdctl(1M) manual page for more information.
Determining if a Disk is Shareable
Thevxdisk utility manages VxVMdisks.To usethevxdisk utility todeterminewhether
a disk is part of a cluster-shareable disk group, use the following command:
# vxdisk list accessname
where accessname is the disk access name (or device name).
A portion of the output from this command (for the device c4t1d0) is shown here:
Device: c4t1d0
devicetag: c4t1d0
type: sliced
clusterid: cvm2
disk: name=disk01 id=963616090.1034.cvm2
timeout: 30
group: name=rootdg id=963616065.1032.cvm2
flags: online ready autoconfig shared imported
...
Note that the clusterid field is set to cvm2 (the name of the cluster), and the flags
field includes an entry for shared. When a node is not joined to the cluster, the flags
field contains the autoimport flag instead of imported.