做HA集群,CMAN一直无法启动,求助啊!

OpenStack/Juju/MAAS/CloudStack/Hadoop
回复
头像
愤怒的阿狸
帖子: 48
注册时间: 2013-03-04 11:27

做HA集群,CMAN一直无法启动,求助啊!

#1

帖子 愤怒的阿狸 » 2013-12-04 22:54

root@wy1 cluster]# service cman start
Starting cluster:
Checking if cluster has been disabled at boot... [确定]
Checking Network Manager... [确定]
Global setup... [确定]
Loading kernel modules... [确定]
Mounting configfs... [确定]
Starting cman... Node name resolves to localhost, please check /etc/hosts and assign this node a network IP address
Unable to get the configuration
corosync [MAIN ] Corosync Cluster Engine ('1.4.1'): started and ready to provide service.
corosync [MAIN ] Corosync built-in features: nss dbus rdma snmp
corosync [MAIN ] Successfully read config from /etc/cluster/cluster.conf
corosync [MAIN ] Node name resolves to localhost, please check /etc/hosts and assign this node a network IP address
corosync [MAIN ] Corosync Cluster Engine exiting with status 8 at main.c:1695.
Node name resolves to localhost, please check /etc/hosts and assign this node a network IP address
cman_tool: corosync daemon didn't start Check cluster logs for details
[失败]
Stopping cluster:
Leaving fence domain... [确定]
Stopping gfs_controld... [确定]
Stopping dlm_controld... [确定]
Stopping fenced... [确定]
Stopping cman... [确定]


提示我/etc/hosts 有问题,但是我两个的节点的解析已经做了呀!!!!!!!!!!!!!!!
头像
gao1881001
帖子: 54
注册时间: 2012-12-28 10:40
系统: ubuntu
来自: 天朝
联系:

Re: 做HA集群,CMAN一直无法启动,求助啊!

#2

帖子 gao1881001 » 2014-03-21 15:31

:em06 太高端了额
不会~
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 做HA集群,CMAN一直无法启动,求助啊!

#3

帖子 poloshiao » 2014-03-21 17:59

Starting cman... Node name resolves to localhost, please check /etc/hosts and assign this node a network IP address
sudo cat /etc/hosts
把結果 直接複製 貼上來
liuyug
帖子: 42
注册时间: 2007-01-12 10:28

Re: 做HA集群,CMAN一直无法启动,求助啊!

#4

帖子 liuyug » 2014-05-08 8:38

主机IP不要用 127...
回复