- 论坛徽章:
- 0
|
环境:虚拟机环境,redhat4.4
两个节点的cluster,
node1;cluster1
node2:cluster2
[root@cluster1 ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain
192.168.60.133 cluster1
192.168.60.135 cluster2
192.168.60.133 gnbd-server
[root@cluster2 ~]#
两个节点/etc/hosts文件相同,
iptables,selinux全部关闭!
在两个节点启动,ccsd服务 集群管理器(cman)
[root@cluster1 ~]# ccsd
[root@cluster1 ~]# /sbin/cman_tool join
[root@cluster1 ~]#ccs_test connect
ccs_connect failed: Connection refused
查看日志,报出如下错误:
[root@cluster1 ~]#tail -f /var/log/messages
Jun 18 15:17:49 cluster1 kernel: CMAN: Waiting to join or form a Linux-cluster
Jun 18 15:17:50 cluster1 ccsd[2405]: Connected to cluster infrastruture via: CMAN/SM Plugin v1.1.4
Jun 18 15:17:50 cluster1 ccsd[2405]: Initial status:: Inquorate
Jun 18 15:18:05 cluster1 kernel: CMAN: sendmsg failed: -13
Jun 18 15:18:06 cluster1 ccsd[2405]: Cluster is not quorate. Refusing connection.
Jun 18 15:18:06 cluster1 ccsd[2405]: Error while processing connect: Connection refused
Jun 18 15:18:06 cluster1 ccsd[2405]: Cluster is not quorate. Refusing connection.
Jun 18 15:18:06 cluster1 ccsd[2405]: Error while processing connect: Connection refused
Jun 18 15:18:08 cluster1 kernel: CMAN: sendmsg failed: -13
Jun 18 15:18:18 cluster1 last message repeated 3 times
Jun 18 15:18:21 cluster1 kernel: CMAN: forming a new cluster
Jun 18 15:18:21 cluster1 kernel: CMAN: sendmsg failed: -13
Jun 18 15:18:21 cluster1 kernel: CMAN: No functional network interfaces, leaving cluster
Jun 18 15:18:21 cluster1 kernel: CMAN: sendmsg failed: -13
Jun 18 15:18:21 cluster1 kernel: CMAN: we are leaving the cluster.
Jun 18 15:18:21 cluster1 ccsd[2405]: Cluster manager shutdown. Attemping to reconnect...
Jun 18 15:18:32 cluster1 ccsd[2405]: Unable to connect to cluster infrastructure after 300 seconds.
Jun 18 15:19:02 cluster1 ccsd[2405]: Unable to connect to cluster infrastructure after 330 seconds.
Jun 18 15:19:33 cluster1 ccsd[2405]: Unable to connect to cluster infrastructure after 360 seconds.
总是提示
Jun 18 15:18:05 cluster1 kernel: CMAN: sendmsg failed: -13
Jun 18 15:18:06 cluster1 ccsd[2405]: Cluster is not quorate. Refusing connection.
Jun 18 15:18:06 cluster1 ccsd[2405]: Error while processing connect: Connection refused
两个节点报错日志相同,事实上两个节点都启动了cman,
请各位帮忙看看,谢谢!
[ 本帖最后由 exitgogo 于 2007-6-18 15:36 编辑 ] |
|