Symantec logo

Requesting node status and discovering the master node

The vxdctl utility controls the operation of the vxconfigd volume configuration daemon. The -c option can be used to request cluster information and to find out which node is the master. To determine whether the vxconfigd daemon is enabled and/or running, use the following command:

# vxdctl -c mode

This produces different output messages depending on the current status of the cluster node:

Cluster status messages

Status message

Description

mode: enabled: cluster active - MASTER
master: mozart
 

The node is the master. 

mode: enabled: cluster active - SLAVE
master: mozart
 

The node is a slave. 

mode: enabled: cluster active - role not set
master: mozart
state: joining
reconfig: master update
 

The node has not yet been assigned a role, and is in the process of joining the cluster. 

mode: enabled: cluster active - SLAVE
master: mozart
state: joining
 

The node is configured as a slave, and is in the process of joining the cluster. 

mode: enabled: cluster inactive 

The cluster is not active. 


  Note   If the vxconfigd daemon is disabled, no cluster information is displayed.


See the vxdctl(1M) manual page for more information.