420Administering cluster functionality

Administering VxVM in cluster environments

Administering VxVM in cluster environments

The following sections describe the administration of VxVM’s cluster functionality.

Note: Most VxVM commands require superuser or equivalent privileges.

Requesting node status and discovering the master node

The vxdctl utility controls the operation of the vxconfigd volume configuration daemon. The -coption 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:

Table 13-6

Cluster status messages

 

 

 

 

Status message

 

Description

 

 

mode: enabled: cluster active - MASTER

The node is the master.

master: mozart

 

 

 

 

mode: enabled: cluster active - SLAVE

The node is a slave.

master: mozart

 

 

 

 

mode: enabled: cluster active - role not set

The node has not yet been

master: mozart

 

assigned a role, and is in the

state: joining

 

process of joining the

reconfig: master update

cluster.

 

 

mode: enabled: cluster active - SLAVE

The node is configured as a

master: mozart

 

slave, and is in the process

state: joining

 

of joining the cluster.

 

 

mode: enabled: cluster inactive

The cluster is not active on

 

 

this node.

 

 

 

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

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