ITPub博客

首页 > Linux操作系统 > Linux操作系统 > vxdctl -c mode command shows it as inactive.

vxdctl -c mode command shows it as inactive.

原创 Linux操作系统 作者:cxs86621 时间:2015-08-31 14:36:15 0 删除 编辑

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. 




References

Legacy ID

347561

Terms 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. 




References

Legacy ID

347561

Terms of use for this information are found in Legal Notices.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16163290/viewspace-1787447/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: NFS挂载
请登录后发表评论 登录
全部评论

注册时间:2014-11-01

  • 博文量
    24
  • 访问量
    56096