Problem
hastatus shows the cluster is up, but the vxdctl -c mode command shows it as inactive.
Solution
hastatus shows the cluster is up, but the vxdctl -c mode command shows it as inactive.
# vxdctl -c mode
mode: enabled: cluster inactive
From the man page of vxdctl we see that:
If the -c flag is specified and vxconfigd is in the enabled mode, the clustered state of vxconfigd is displayed. The output format is:
mode: enabled: clustered_state where clustered_state is one of cluster inactive, cluster active - role not set, cluster active - MASTER, cluster active - SLAVE.
This information is only available if the VxVM cluster feature is enabled e.g
# vxlicrep -e shows the CVM feature enabled
CVM_FULL = Enabled
The VxVM cluster feature means if you are using Cluster Volume Manager (CVM/CFS) where in both the nodes have diskgroup imported/filesystem mounted at the same time .For example in a Oracle RAC setup.
# vxdctl -c mode
mode: enabled: cluster active - MASTER
master: System1
To check the vxconfigd mode only, use the following rather than vxdctl -c mode
# vxdctl mode
mode: enabled
vxconfigd operates in the following modes: enabled, disabled or booted.
References
Legacy ID
347561
Terms of use for this information are found in Legal Notices.