heartbeat心脏跳的不是太好,请名医指点一二

对不起,又有个问题。

在我安装了heartbeat的调度器上,
开机的时候,
显示了如下的信息。

Starting anacron: [ OK ]
Starting atd: [ OK ]
Starting system message bus: [ OK ]
Starting HAL daemon: [ OK ]
Starting High-Availability services:
sed: -e expression #1, char 1: unknown command: `%'
sed: -e expression #1, char 1: unknown command: `%'
[ OK ]
然后可以正常登陆。
登陆上去以后,
等很长时间,大概10分钟左右吧!
显示出来一句:(自己蹦出来的,我什么也没操作)
[root@localhost ~]# IPVS: Error joining to the multicast group
IPVS: Error connecting to the multicast addr

之后执行
/etc/ha.d/resource.d/LVSSyncDaemonSwap master status
显示
[root@localhost resource.d]# ./LVSSyncDaemonSwap master status
master stopped
sed: -e expression #1, char 1: unknown command: `%'
sed: -e expression #1, char 1: unknown command: `%'

最后在关机的时候,
又在stoping的时候等了很长时间,
(我有个帖子里写过,那时候我还以为是死机了)
显示的内容是:
Stopping High-Availability services:
IPVS: Error connecting to the multicast addr

然后倒是可以正常关机。

请问我为什么会出这个提示呢?

和我的环境有关吗?

配置文件里并没有哪个%符号呀?

下面是我ha.cf文件的部分内容
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 120
udpport 694
baud 19200
serial /dev/ttyS0
auto_failback on
node localhost.realserver1
node localhost.realserver2

是不是和这个文件中的mcast和auto_failback的设置有关呢?

我的haresources文件内容是:
#
localhost.realserver1 \
LVSSyncDaemonSwap::master \
IPaddr2::172.31.0.16/24/eth0

其中172.31.0.16是我的VIP

要说明的是,
我现在主要是测试ldirectord,
所以另一台叫做localhost.realserver2的,用来做backup director的电脑没有打开。
和这个有关系吗?

谢谢!

Forums:

你的ha.cf文件里没有看到下面这句。
mcast eth1 225.0.0.1 694 1 0

或用ucast方式:

ucast eth1 172.16.10.110

要看到比较详细的,请把主要配置文件和ha-log等日志信息放上来。

请问这两句话是具体作什么的呢?

multicast是发给谁?又是做什么用的呢?

那个eth1的位置,应该是写做什么用的interface呢?

我的实验环境里,master和backup是用串口线连接的,
还需要这2个参数吗?

谢谢!

附:
ha-log:(最新一次启动的log)
heartbeat[2321]: 2006/04/26_13:21:49 WARN: Traditional compression selected. Realtime behavior will likely be impacted(!)
heartbeat[2321]: 2006/04/26_13:21:49 info: See http://linux-ha.org/ha.cf/TraditionalCompressionDirective for more information.
heartbeat[2321]: 2006/04/26_13:21:49 WARN: Logging daemon is disabled --enabling logging daemon is recommended
heartbeat[2321]: 2006/04/26_13:21:49 info: **************************
heartbeat[2321]: 2006/04/26_13:21:49 info: Configuration validated. Starting heartbeat 2.0.4
heartbeat[2333]: 2006/04/26_13:21:49 info: heartbeat: version 2.0.4
heartbeat[2333]: 2006/04/26_13:21:52 info: Heartbeat generation: 16
heartbeat[2333]: 2006/04/26_13:21:52 info: G_main_add_TriggerHandler: Added signal manual handler
heartbeat[2333]: 2006/04/26_13:21:52 info: G_main_add_TriggerHandler: Added signal manual handler
heartbeat[2333]: 2006/04/26_13:21:57 info: Removing /var/run/heartbeat/rsctmp failed, recreating.
heartbeat[2333]: 2006/04/26_13:21:59 info: glib: Starting serial heartbeat on tty /dev/ttyS0 (19200 baud)
heartbeat[2333]: 2006/04/26_13:21:59 info: G_main_add_SignalHandler: Added signal handler for signal 17
heartbeat[2333]: 2006/04/26_13:22:02 info: Local status now set to: 'up'
heartbeat[2333]: 2006/04/26_13:22:02 info: Exiting write_hostcachedata process 2557 returned rc 0.

authkeys文件内容:
auth 3
3 md5 AreYouAlive?

haresources文件内容:
localhost.realserver1 \
LVSSyncDaemonSwap::master \
IPaddr2::172.31.0.16/24/eth0

(172.31.0.16是我的VIP)

ha.cf文件内容:
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 120
udpport 694
baud 19200
serial /dev/ttyS0
auto_failback on
node localhost.realserver1
node localhsot.realserver2

gifqqtol payday loans 9893 payday loans 0782 payday loan 8]]]

zohwnw payday loans >:]] payday loans >:-OOO payday loans >:-[

bfepyv viagra VgrrG viagra YxDglO cialis >:]] buy cialis ABvBV