- 论坛徽章:
- 0
|
几天没来了……感谢各位大大的帮忙。那两台测试机给我重新胡来了一次,正在测靠heartbeat掌管共享盘的试验(专门写了个检测共享盘挂载的脚本,结合heartbeat自己的脚本,并且把它respawn了),目前还在看效果,所以原机上的配置只有我备份的了:
连法就是两台机器hba卡连到阵列,一对网卡心跳(ha1,ha2),一对网卡出去,fence用的ibm bmc(ipmi)
cluster.conf
<?xml version="1.0"?>
<cluster alias="new_cluster" config_version="5" name="new_cluster">
<quorumd device="/dev/sdc2" interval="5" label="qdisk" min_score="3" tko="12" votes="1">
<heuristic interval="2" program="/bin/true" score="1"/>
</quorumd>
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="ha1" nodeid="1" votes="1">
<fence>
<method name="1">
<device lanplus="" name="fence_bmc1"/>
</method>
</fence>
</clusternode>
<clusternode name="ha2" nodeid="2" votes="1">
<fence>
<method name="1">
<device lanplus="" name="fence_bmc2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_ipmilan" auth="password" ipaddr="10.0.0.40" login="USERID" name="fence_bmc1" passwd="PASSW0RD"/>
<fencedevice agent="fence_ipmilan" auth="password" ipaddr="10.0.0.41" login="USERID" name="fence_bmc2" passwd="PASSW0RD"/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="cluster_failover" ordered="0" restricted="0">
<failoverdomainnode name="ha1" priority="1"/>
<failoverdomainnode name="ha2" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<clusterfs device="/dev/sdc3" force_unmount="0" fsid="15000" fstype="gfs" mountpoint="/db" name="new_cluster:gfs2" options=""/>
</resources>
</rm>
</cluster>
报错就是上面提到的那样
我只是想知道一般都有什么原因导致错误的发生,因为日志里完全没看出来,就只提到quorum丢失然后开始刷
Cluster is not quorate. Refusing connection.
Error while processing connect: Connection refused。
出现过两次这种情况,其中一次是我朝上面插了个U盘…… |
|