Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

3
To monitor the master switching, use the following command:
# vxclustadm -v nodestate
state: cluster member
nodeId=0
masterId=0
neighborId=1
members[0]=0xf
joiners[0]=0x0
leavers[0]=0x0
members[1]=0x0
joiners[1]=0x0
leavers[1]=0x0
reconfig_seqnum=0x9f9767
vxfen=off
state: master switching in progress
reconfig: vxconfigd in join
In this example, the state indicates that master is being changed.
4
To verify whether the master has successfully changed, use one of the
following commands:
# vxclustadm nidmap
Name CVM Nid CM Nid State
system01 0 0 Joined: Master
system02 1 1 Joined: Slave
# vxdctl -c mode
mode: enabled: cluster active - MASTER
master: system01
Errors during CVM master switching
Symantec recommends that you switch the master when the cluster is not handling
VxVM or cluster configuration changes.
In most cases, CVM aborts the operation to change the master, if CVM detects
any configuration changes in progress. CVM logs the reason for the failure into
the system logs. In some cases, the failure is displayed in the vxclustadm
setmaster output as follows:
# vxclustadm setmaster system01
VxVM vxclustadm ERROR V-5-1-0 Master switching, a reconfiguration or
Administering cluster functionality (CVM)
Administering VxVM in cluster environments
452