请大侠们帮帮忙。我的备用调度器,一关机就死。可能是因为什么呀?

我问的可能太笼统了,
不过,因为和主调度器的配置什么都差不多。
包括ha.cf/haresource/ldirectord.cf文件。

无论怎么操作/或者什么都不操作,

在关机的时候,总是在
Stopping High-Availability services:
就死了。

也有可能是在等待什么,但是时间太长了,
过了20多分钟都没动静了。

不过,当主调度器宕掉之后,
他是可以直接接管ip转发的任务的。

不过还是不能关机。

btw1:请问和我的主辅调度器中的ha.cf文件有没有关系呀?

因为我的这2个文件中,对node的设定都是一样的,都是:
node locaohost.realserver1
node locaohost.realserver2

而且都是光指定了
bcast eth1
而mcast和ucast都没有指定。

btw2:我的辅调度器,虽然在关机的时候“死”了,但是看网卡好像还是在和主调度器有联络。
也就是主辅两台电脑的网卡都同步的一闪一闪的。
会和防火墙有关吗?

我在防火墙设置里面,已经打开了694端口了呀!

而且刚才说了,都已经可以做到主调度器的备份了。

附一些信息:

开机时候的信息
Starting HAL daemon: [ OK ]
Starting High-Availability services:
Invoking ldirectord invoked as: /etc/ha.d/resource.d/ldirectord ldirectord.cf s
atus
ldirectord is stopped for /etc/ha.d/ldirectord.cf
ldirectord is stopped for /etc/ha.d/ldirectord.cf
Exiting with exit_status 3: Exiting from ldirectord status
[ OK ]

/var/log/ha-log中的最新的2组信息
heartbeat[2494]: 2006/04/28_18:52:44 info: heartbeat: version 2.0.4
heartbeat[2494]: 2006/04/28_18:52:44 info: Heartbeat generation: 22
heartbeat[2494]: 2006/04/28_18:52:44 info: G_main_add_TriggerHandler: Added sign
al manual handler
heartbeat[2494]: 2006/04/28_18:52:44 info: G_main_add_TriggerHandler: Added sign
al manual handler
heartbeat[2494]: 2006/04/28_18:52:44 info: Removing /var/run/heartbeat/rsctmp fa
iled, recreating.
heartbeat[2494]: 2006/04/28_18:52:44 info: glib: UDP Broadcast heartbeat started
on port 694 (694) interface eth1
heartbeat[2494]: 2006/04/28_18:52:44 info: glib: UDP Broadcast heartbeat closed
on port 694 interface eth1 - Status: 1
heartbeat[2494]: 2006/04/28_18:52:44 info: G_main_add_SignalHandler: Added signa
l handler for signal 17
heartbeat[2494]: 2006/04/28_18:52:45 info: Local status now set to: 'up'
heartbeat[2494]: 2006/04/28_18:52:45 info: Exiting write_hostcachedata process 2
506 returned rc 0.
heartbeat[2494]: 2006/04/28_18:52:47 info: Link localhost.realserver1:eth1 up.
heartbeat[2494]: 2006/04/28_18:52:47 info: Status update for node localhost.real
server1: status active
heartbeat[2494]: 2006/04/28_18:52:47 info: Link localhost.realserver2:eth1 up.
heartbeat[2494]: 2006/04/28_18:52:47 info: Exiting write_hostcachedata process 2
545 returned rc 0.
harc[2544]: 2006/04/28_18:53:01 info: Running /etc/ha.d/rc.d/status status

/var/log/ha-debug文件内容如下
heartbeat[2494]: 2006/04/28_18:58:21 debug:
heartbeat[2494]: 2006/04/28_18:58:22 debug: hist->ackseq =0
heartbeat[2494]: 2006/04/28_18:58:22 debug: hist->lowseq =0, hist->hiseq=504
heartbeat[2494]: 2006/04/28_18:58:22 debug: expecting from localhost.realserver1
heartbeat[2494]: 2006/04/28_18:58:22 debug: it's ackseq=0
heartbeat[2494]: 2006/04/28_18:58:22 debug:
heartbeat[2494]: 2006/04/28_18:58:22 debug: hist->ackseq =0
heartbeat[2494]: 2006/04/28_18:58:22 debug: hist->lowseq =0, hist->hiseq=505
heartbeat[2494]: 2006/04/28_18:58:22 debug: expecting from localhost.realserver1
heartbeat[2494]: 2006/04/28_18:58:22 debug: it's ackseq=0
heartbeat[2494]: 2006/04/28_18:58:22 debug:
heartbeat[2494]: 2006/04/28_18:58:23 debug: hist->ackseq =0
heartbeat[2494]: 2006/04/28_18:58:23 debug: hist->lowseq =0, hist->hiseq=506
heartbeat[2494]: 2006/04/28_18:58:23 debug: expecting from localhost.realserver1
heartbeat[2494]: 2006/04/28_18:58:23 debug: it's ackseq=0
heartbeat[2494]: 2006/04/28_18:58:23 debug:
heartbeat[2494]: 2006/04/28_18:58:24 debug: hist->ackseq =0
heartbeat[2494]: 2006/04/28_18:58:24 debug: hist->lowseq =0, hist->hiseq=507
heartbeat[2494]: 2006/04/28_18:58:24 debug: expecting from localhost.realserver1
heartbeat[2494]: 2006/04/28_18:58:24 debug: it's ackseq=0
heartbeat[2494]: 2006/04/28_18:58:24 debug:
heartbeat[2494]: 2006/04/28_18:58:24 debug: hist->ackseq =0
heartbeat[2494]: 2006/04/28_18:58:24 debug: hist->lowseq =0, hist->hiseq=508
heartbeat[2494]: 2006/04/28_18:58:24 debug: expecting from localhost.realserver1
heartbeat[2494]: 2006/04/28_18:58:24 debug: it's ackseq=0
heartbeat[2494]: 2006/04/28_18:58:24 debug:

Forums:

请问这个问题如何解决的?谢谢。myQQ:1405878

原因没有找到,倒是代用该节点为DC启动再加入其他节点就可以了。

randomness