heartbeat启动报错

hooligan00011 2013-08-03 07:46:54
日志:
[root@dbm201 ~]# tail n20 /var/log/ha-log
tail: cannot open `n20' for reading: No such file or directory
==> /var/log/ha-log <==
Aug 03 19:29:57 dbm201 heartbeat: [2685]: info: standby: dbm202 can take our foreign resources
Aug 03 19:29:57 dbm201 heartbeat: [2718]: info: give up foreign HA resources (standby).
Aug 03 19:29:57 dbm201 heartbeat: [2718]: ERROR: /usr/local/heartbeat/share/heartbeat/ResourceManager givegroup staring resourceManager exited with return code 1
Aug 03 19:29:57 dbm201 heartbeat: [2718]: ERROR: pclose(/usr/local/heartbeat/share/heartbeat/ResourceManager givegroup staring resourceManager) exited with return code 1
Aug 03 19:29:57 dbm201 heartbeat: [2718]: info: foreign HA resource release completed (standby).
Aug 03 19:29:57 dbm201 heartbeat: [2685]: info: Local standby process completed [foreign].
Aug 03 19:29:58 dbm201 heartbeat: [2685]: WARN: 1 lost packet(s) for [dbm202] [10155:10157]
Aug 03 19:29:58 dbm201 heartbeat: [2685]: info: remote resource transition completed.
Aug 03 19:29:58 dbm201 heartbeat: [2685]: info: No pkts missing from dbm202!
Aug 03 19:29:58 dbm201 heartbeat: [2685]: info: Other node completed standby takeover of foreign resources.



cf.conf文件:
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 10
warntime 6
initdead 120
udpport 694
bcast eth1
ucast eth1 192.168.2.202
node dbm201
node dbm202


authkeys文件:
auth 1
1 crc

haresources文件:
#dbm201 IPaddr::192.168.2.222/24/eth1 httpd
以上是主机的配置。

启动时显示:
[root@dbm201 ha.d]# /etc/init.d/heartbeat start
Starting High-Availability services: staring resourceManager
Done.

vip192.168.2.222显示不出,主:192.168.2.201(dbm201 )
从:192.168.2.202(dbm202)

...全文
500 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

25,980

社区成员

发帖
与我相关
我的任务
社区描述
高性能WEB开发
社区管理员
  • 高性能WEB开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧