vxdctl -c mode command shows it as inactive.

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博客 ” ,链接:http://blog.itpub.net/16163290/viewspace-1787447/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16163290/viewspace-1787447/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值