heartbeat调用lvs服务出错,求助!!
心跳通信采用eth1,启动后,开始eth1是up,但是几十秒后却是dead.loadbalancer上提示错误:Both machines own our resources!backup具体错误脚本如下:
heartbeat: 2008/03/04_17:16:07 info: **************************
heartbeat: 2008/03/04_17:16:07 info: Configuration validated. Starting heartbeat 1.2.5
heartbeat: 2008/03/04_17:16:07 info: heartbeat: version 1.2.5
heartbeat: 2008/03/04_17:16:07 info: Heartbeat generation: 70
heartbeat: 2008/03/04_17:16:07 info: UDP Broadcast heartbeat started on port 694 (694) interface eth1
heartbeat: 2008/03/04_17:16:07 info: ping heartbeat started.
heartbeat: 2008/03/04_17:16:07 info: pid 962 locked in memory.
heartbeat: 2008/03/04_17:16:07 info: Local status now set to: 'up'
heartbeat: 2008/03/04_17:16:08 info: pid 979 locked in memory.
heartbeat: 2008/03/04_17:16:08 info: pid 980 locked in memory.
heartbeat: 2008/03/04_17:16:08 info: pid 981 locked in memory.
heartbeat: 2008/03/04_17:16:08 info: Link loadbalancer:eth1 up.
heartbeat: 2008/03/04_17:16:08 info: pid 982 locked in memory.
heartbeat: 2008/03/04_17:16:08 info: pid 983 locked in memory.
heartbeat: 2008/03/04_17:16:08 info: Status update for node loadbalancer: status up
heartbeat: 2008/03/04_17:16:08 info: Link 192.168.10.1:192.168.10.1 up.
heartbeat: 2008/03/04_17:16:08 info: Status update for node 192.168.10.1: status ping
heartbeat: 2008/03/04_17:16:08 info: Local status now set to: 'active'
heartbeat: 2008/03/04_17:16:08 info: Starting child client "/usr/lib/heartbeat/ipfail" (0,0)
heartbeat: 2008/03/04_17:16:08 info: Starting "/usr/lib/heartbeat/ipfail" as uid 0 gid 0 (pid 987)
heartbeat: 2008/03/04_17:16:08 info: Status update for node loadbalancer: status active
heartbeat: 2008/03/04_17:16:08 info: Link backup:eth1 up.
heartbeat: 2008/03/04_17:16:08 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2008/03/04_17:16:08 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2008/03/04_17:16:19 info: local resource transition completed.
heartbeat: 2008/03/04_17:16:19 info: Initial resource acquisition complete (T_RESOURCES(us))
heartbeat: 2008/03/04_17:16:19 info: remote resource transition completed.
heartbeat: 2008/03/04_17:16:19 info: No local resources [/usr/lib/heartbeat/ResourceManager listkeys backup] to acquire.
heartbeat: 2008/03/04_17:16:49 WARN: node loadbalancer: is dead
heartbeat: 2008/03/04_17:16:49 WARN: No STONITH device configured.
heartbeat: 2008/03/04_17:16:49 WARN: Shared disks are not protected.
heartbeat: 2008/03/04_17:16:49 info: Resources being acquired from loadbalancer.
heartbeat: 2008/03/04_17:16:49 info: Link loadbalancer:eth1 dead.
heartbeat: 2008/03/04_17:16:49 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2008/03/04_17:16:49 info: No local resources [/usr/lib/heartbeat/ResourceManager listkeys backup] to acquire.
heartbeat: 2008/03/04_17:16:49 info: Taking over resource group IPaddr::192.168.10.240/24/192.168.10.240
heartbeat: 2008/03/04_17:16:49 info: Acquiring resource group: loadbalancer IPaddr::192.168.10.240/24/192.168.10.240 lvsdr
heartbeat: 2008/03/04_17:16:49 info: Running /etc/ha.d/resource.d/IPaddr 192.168.10.240/24/192.168.10.240 start
heartbeat: 2008/03/04_17:16:49 info: /sbin/ifconfig eth0:0 192.168.10.240 netmask 255.255.255.0 broadcast 192.168.10.240
heartbeat: 2008/03/04_17:16:49 info: Sending Gratuitous Arp for 192.168.10.240 on eth0:0 [eth0]
heartbeat: 2008/03/04_17:16:49 /usr/lib/heartbeat/send_arp -i 1010 -r 5 -p /var/lib/heartbeat/rsctmp/send_arp/send_arp-192.168.10.240 eth0 192.168.10.240 auto 192.168.10.240 ffffffffffff
heartbeat: 2008/03/04_17:16:49 info: Running /etc/ha.d/resource.d/lvsdr start
heartbeat: 2008/03/04_17:16:49 info: /usr/lib/heartbeat/mach_down: nice_failback: foreign resources acquired
heartbeat: 2008/03/04_17:16:49 info: mach_down takeover complete.
heartbeat: 2008/03/04_17:16:49 info: mach_down takeover complete for node loadbalancer.
请高手指教,多谢多谢!