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的电脑没有打开。
和这个有关系吗?
谢谢!
清水
周三, 2006-04-26 01:42
Permalink
你的ha.cf文件里没有看到下面这句。
mcast eth1 225.0.0.1 694 1 0
或用ucast方式:
ucast eth1 172.16.10.110
要看到比较详细的,请把主要配置文件和ha-log等日志信息放上来。
villagehead
周三, 2006-04-26 04:50
Permalink
请问这两句话是具体作什么的呢?
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
Anonymous (没有被验证)
周二, 2013-11-26 16:18
Permalink
aLwCstgpLjMsZt
www.carinsurancequotesbirmingham.com www.carinsurancequoteschicago.com
Anonymous (没有被验证)
周日, 2013-12-01 08:20
Permalink
DfwVBvxiCRARDovezqF
cheap car insurance vegas dentacare insurance cheap auto insurance florida automobile insurance identification card mi auto insurance quotes auto insurance quotes
Anonymous (没有被验证)
周四, 2013-12-05 04:36
Permalink
AbdyMZHuwlZ
insurance good student car cheapest car insurance viagra online auto insurance cheap generic viagra
Anonymous (没有被验证)
周六, 2013-12-07 22:37
Permalink
HOEajhmmxu
auto insurance quotes viagra viagra on sale new driver car insurance cheap car insurance quotes for california auto insurance quote
Anonymous (没有被验证)
周一, 2013-12-09 17:50
Permalink
CHXRsNMRNtsNoEPuzao
cheap auto insurance car insurance japanese auto insurance quotes levitra online cheapest car insurance
Anonymous (没有被验证)
周六, 2013-12-14 20:06
Permalink
SHJTDNqRKFMgzKQCutWk
quotes on auto insurance insurance auto quotes best price for Cialis auto ownders insurance insurance auto reviews complaints car insurance
Anonymous (没有被验证)
周四, 2013-12-26 04:56
Permalink
EBgrXIJPpk
audi car insurance cheap low auto insurance quotes car insurance quotes cheapest auto insurance click here to get started
Anonymous (没有被验证)
周三, 2014-01-01 16:49
Permalink
kLCfpDexfcIRg
share website auto insurance quotes car insurance quotes free car insurance estimates cheap insurance health
Anonymous (没有被验证)
周日, 2014-03-16 03:24
Permalink
payday loans
gifqqtol payday loans 9893 payday loans 0782 payday loan 8]]]
Anonymous (没有被验证)
周二, 2014-09-02 04:14
Permalink
money mutual
ijajklp money mutual >:-OOO no credit check payday loans =-] payday loans 4525 everest cash advance 7370 apply for instant loans :-O
Anonymous (没有被验证)
周日, 2014-09-14 15:59
Permalink
payday loans
zohwnw payday loans >:]] payday loans >:-OOO payday loans >:-[
Anonymous (没有被验证)
周四, 2015-05-21 05:10
Permalink
payday loans
vgitvvip payday loans 4440 payday loans 8]]] payday loans :-O payday loans online HjPvV
Anonymous (没有被验证)
周五, 2015-05-29 05:54
Permalink
viagra
bfepyv viagra VgrrG viagra YxDglO cialis >:]] buy cialis ABvBV
Anonymous (没有被验证)
周五, 2015-06-26 22:22
Permalink
cheap cialis
jpqyidh cheap cialis 4464 cheapest place to order cialis JBWSoL viagra 3786 order viagra SbXemT
Anonymous (没有被验证)
周三, 2015-07-22 21:27
Permalink
cialis
calwpkf cialis >:-OOO cheap viagra 3276 viagra online :-O cialis online without prescription tAPFf