zyfromzero 发表于 2013-03-28 09:30

关于一个检查mc集群配置文件的报错,请帮忙给看一下

配置了一个集群配置文件cluster.ascii,然后check,apply,如下输出:

rx3600-2#cmcheckconf -k -v -C /etc/cmcluster/cluster.ascii
Begin cluster verification...
Checking cluster file: /etc/cmcluster/cluster.ascii.
MAX_CONFIGURED_PACKAGES configured to 3.
Checking nodes ... Done
Checking existing configuration ... Done
MAX_CONFIGURED_PACKAGES configured to 3.
Gathering storage information
Found 5 devices on node rx3600-2
Found 5 devices on node rx3600-3
Analysis of 10 devices should take approximately 2 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 3 volume groups on node rx3600-2
Found 3 volume groups on node rx3600-3
Analysis of 6 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Gathering network information
Beginning network probing (this may take a while)
Completed network probing
Node rx3600-2 did not receive an ICMP REPLY message on 10.0.6.241
from the polling target 10.0.0.1
Node rx3600-3 did not receive an ICMP REPLY message on 10.0.6.212
from the polling target 10.0.0.1
Failed to evaluate polling targets
cmcheckconf: Unable to reconcile configuration file /etc/cmcluster/cluster.ascii
with discovered configuration information.

rx3600-2#vgchange -a y vglock
Activated volume group.
Volume group "vglock" has been successfully changed.

rx3600-2#cmapplyconf -k -v -C /etc/cmcluster/cluster.ascii
Begin cluster verification...
Checking cluster file: /etc/cmcluster/cluster.ascii
MAX_CONFIGURED_PACKAGES configured to 3.
check_cdsf_group, no cdsf group specified.
Checking nodes ... Done
Checking existing configuration ... Done
MAX_CONFIGURED_PACKAGES configured to 3.
Note: -k option specified, only the lvm volume groups
mentioned in the cluster configuration file will be checked.
To remove lvm volume groups from the cluster,
do not use the -k option.
Gathering storage information
Found 5 devices on node rx3600-2
Found 5 devices on node rx3600-3
Analysis of 10 devices should take approximately 2 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 3 volume groups on node rx3600-2
Found 3 volume groups on node rx3600-3
Analysis of 6 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
The volume group /dev/vglock is activated on more than one node:
rx3600-2
rx3600-3
Volume groups should not be activated on more than one node.
Use vgchange to de-activate a volume group on a node.
Gathering network information
Beginning network probing (this may take a while)
Completed network probing
Node rx3600-2 did not receive an ICMP REPLY message on 10.0.6.241
from the polling target 10.0.0.1
Node rx3600-3 did not receive an ICMP REPLY message on 10.0.6.212
from the polling target 10.0.0.1
Failed to evaluate polling targets
cmapplyconf: Unable to reconcile configuration file /etc/cmcluster/cluster.ascii
with discovered configuration information.


不知道是什么原因,请帮忙分析一下,cluster配置文件放到附件中


haizdl 发表于 2013-03-28 20:39

SUBNET 10.0.0.0
IP_MONITOR ON
POLLING_TARGET 10.0.0.1

改成:

SUBNET 10.0.0.0
IP_MONITOR OFF

或者

SUBNET 10.0.0.0
IP_MONITOR ON
POLLING_TARGET 10.0.6.212
POLLING_TARGET 10.0.6.241

另外,您的网卡没有冗余,不能Local切换。

NODE_NAME               rx3600-2
NETWORK_INTERFACE   lan0
    HEARTBEAT_IP      10.0.6.241
NETWORK_INTERFACE   lan4
    HEARTBEAT_IP      192.168.1.1
#CLUSTER_LOCK_LUN   
FIRST_CLUSTER_LOCK_PV /dev/disk/disk27

zyfromzero 发表于 2013-03-29 14:24

ok,多谢了。

lbseraph 发表于 2013-03-30 07:10

回复 3# zyfromzero

如果按照楼上的方法解决了问题,麻烦回复一下帖子。以供后来人参考,谢谢~
页: [1]
查看完整版本: 关于一个检查mc集群配置文件的报错,请帮忙给看一下