hastatus shows the cluster is up, but the vxdctl -c mode command shows it as inactive.
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.
# 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
347561Terms of use for this information are found in Legal Notices.
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.
# 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
347561Terms of use for this information are found in Legal Notices.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16163290/viewspace-1787447/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16163290/viewspace-1787447/