怎么保证ldirectord的高可用,不清楚heartbeat是否可以检测?继续查资料!
如果那位大侠可以指点一二不胜感激!
Anonymous (没有被验证)
周一, 2007-12-17 13:01
Permalink
我关闭ldirectord后,ipvs列表清空,是不是那里配置的不对? 这样当ldirectord失败后,集群不是就完了吗?
周一, 2007-12-17 14:28
所以要双击热备。
周二, 2007-12-18 13:56
怎么热备??
周四, 2007-12-20 05:22
heartbeat 配置 respawn参数 的运行日志,配置respawn 监控 ldirectord也是出现类似错误,启动多次后都失败,进程关闭
heartbeat[14147]: 2007/12/20_13:18:10 ERROR: Respawning client "/usr/lib/heartbeat/ipfail": heartbeat[14147]: 2007/12/20_13:18:10 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114) heartbeat[14176]: 2007/12/20_13:18:11 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14176) heartbeat[14147]: 2007/12/20_13:18:11 WARN: Exiting /usr/lib/heartbeat/ipfail process 14176 returned rc 126. heartbeat[14147]: 2007/12/20_13:18:11 ERROR: Respawning client "/usr/lib/heartbeat/ipfail": heartbeat[14147]: 2007/12/20_13:18:11 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114) heartbeat[14177]: 2007/12/20_13:18:12 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14177) heartbeat[14147]: 2007/12/20_13:18:12 WARN: Exiting /usr/lib/heartbeat/ipfail process 14177 returned rc 126. heartbeat[14147]: 2007/12/20_13:18:12 ERROR: Respawning client "/usr/lib/heartbeat/ipfail": heartbeat[14147]: 2007/12/20_13:18:12 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114) heartbeat[14178]: 2007/12/20_13:18:13 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14178) heartbeat[14147]: 2007/12/20_13:18:13 WARN: Exiting /usr/lib/heartbeat/ipfail process 14178 returned rc 126. heartbeat[14147]: 2007/12/20_13:18:13 ERROR: Respawning client "/usr/lib/heartbeat/ipfail": heartbeat[14147]: 2007/12/20_13:18:13 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114) heartbeat[14179]: 2007/12/20_13:18:14 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14179) heartbeat[14147]: 2007/12/20_13:18:14 WARN: Exiting /usr/lib/heartbeat/ipfail process 14179 returned rc 126. heartbeat[14147]: 2007/12/20_13:18:14 ERROR: Respawning client "/usr/lib/heartbeat/ipfail": heartbeat[14147]: 2007/12/20_13:18:14 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114) heartbeat[14180]: 2007/12/20_13:18:15 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14180) heartbeat[14147]: 2007/12/20_13:18:15 WARN: Exiting /usr/lib/heartbeat/ipfail process 14180 returned rc 126. heartbeat[14147]: 2007/12/20_13:18:15 ERROR: Respawning client "/usr/lib/heartbeat/ipfail": heartbeat[14147]: 2007/12/20_13:18:15 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114) heartbeat[14181]: 2007/12/20_13:18:16 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14181) heartbeat[14147]: 2007/12/20_13:18:16 WARN: Exiting /usr/lib/heartbeat/ipfail process 14181 returned rc 126. heartbeat[14147]: 2007/12/20_13:18:16 ERROR: Respawning client "/usr/lib/heartbeat/ipfail": heartbeat[14147]: 2007/12/20_13:18:16 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114) heartbeat[14182]: 2007/12/20_13:18:17 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14182) heartbeat[14147]: 2007/12/20_13:18:17 WARN: Exiting /usr/lib/heartbeat/ipfail process 14182 returned rc 126. heartbeat[14147]: 2007/12/20_13:18:17 ERROR: Client /usr/lib/heartbeat/ipfail "respawning too fast"
周四, 2007-12-20 05:28
令人撞墙的"respawning too fast"出错问题 这个问题困扰了我好几天,在lfs系统上安装ha2的时候,respawn的插件每一个能正常启动的,NND,google都搜了底朝天,也没有给出答案,今天终于发现原来是权限的问题。用heartbeat的用户启动不了插件,如ipfail,ccm,crm等。在ha.cf中不要按照上面建议的网上大多数人给出的配置,很简单,因为他们给出的成功做法未必适合自己的系统。 将ha.cf中的 respawn hacluster /usr/lib/heartbeat/ipfail; apiauth ipfail gid=haclient uid=hacluster 改为 respawn root /usr/lib/heartbeat/ipfail; apiauth ipfail gid=root uid=root 就可以了,ipfail进程可以启动了,而且再也不会出现下面的令人郁闷的错误信息了。
附带的/var/log/ha-log报错信息。
周二, 2014-03-04 14:38
That's the thniknig of a creative mind
周三, 2014-03-05 02:05
If you're reading this, you're all set, paerdnr!
周五, 2014-05-09 08:22
insurance average cost car classic auto insurance browserrousers.com cheap insurance for car
周五, 2014-05-30 07:34
essay writing service reviews essay writing insurance car quotes insurance auto quotes
周二, 2014-06-03 08:26
affordable life insurance cheap seniors term life insurance levitra blindness buy essays online construction safety custom essays
周二, 2014-10-28 13:00
car insurance nursing programs associate degree viagra for sale online get car insurance quotes
周三, 2014-11-12 01:56
erection accredited online degree programs auto insurance car insurence quotes
周四, 2014-12-11 12:09
An inentliglet point of view, well expressed! Thanks!
周五, 2014-12-12 15:10
I love reading these articles because they're short but inotrmafive.
周二, 2014-12-16 13:26
car insurance quotes car insurance impotence stress cialis cheap
周四, 2014-12-18 08:36
can i buy cialis online CAR INSURANC disocunt cialis car insurance where to buy viagra
周一, 2014-12-22 18:16
life insurance quotes
周四, 2015-03-05 12:27
cialis car insurance quote auto insurance car insurance quote cialis cialis
周四, 2015-04-16 15:58
age because car insurance quotes possible solution some people car insurance quotes in Detroit, MI possible solution sore throat cheap auto insurance in San Jose, CA company claim age because cheap car insurance in NJ possible solution reach cheap auto insurance in CA narrow down
周二, 2015-04-21 07:31
school online colleges graduate who shop global life insurance quotes more insurance car comprehensive even online college even expand car thinking online california auto insurance quotes insurance company
周四, 2015-02-26 09:20
hard erection cialis generic reversible phosphodiesterase only recommend buy propecia online scalp med problems cialis for sale women though
zdx3578
周五, 2007-12-21 00:59
heartbeat的respawn可以检测ipfail等,但是respawn检测ldirectord还是不行,每次ldirectord的rc=0或1都导致heartbeat重启ldirectord,结果ldirectord都关闭了,没有启动。虽然linux稳定但是也用heartbeat热备,ldirectord稳定也需要监控把??查查watchdog的监控!!
周一, 2007-12-24 02:05
如果是hb2.0以上的话,完全可以
配制好/etc/ha.d/haresources和ha.cf后,调用 /usr/lib/heartbeat/haresources2cib.py
可以生成 /var/lib/heartbeat/crm/cib.xml
就可以对apache的状态进行监测了。
如果不行,可以运行hb_gui,为apache资源添加一个monitor
There are currently 0 users online.
Anonymous (没有被验证)
周一, 2007-12-17 13:01
Permalink
我关闭ldirectord后,ipvs
我关闭ldirectord后,ipvs列表清空,是不是那里配置的不对?
这样当ldirectord失败后,集群不是就完了吗?
Anonymous (没有被验证)
周一, 2007-12-17 14:28
Permalink
所以要双击热备。
所以要双击热备。
Anonymous (没有被验证)
周二, 2007-12-18 13:56
Permalink
怎么热备??
怎么热备??
Anonymous (没有被验证)
周四, 2007-12-20 05:22
Permalink
heartbeat 配置 respawn参数 的运行日志
heartbeat 配置 respawn参数 的运行日志,配置respawn 监控 ldirectord也是出现类似错误,启动多次后都失败,进程关闭
heartbeat[14147]: 2007/12/20_13:18:10 ERROR: Respawning client "/usr/lib/heartbeat/ipfail":
heartbeat[14147]: 2007/12/20_13:18:10 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114)
heartbeat[14176]: 2007/12/20_13:18:11 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14176)
heartbeat[14147]: 2007/12/20_13:18:11 WARN: Exiting /usr/lib/heartbeat/ipfail process 14176 returned rc 126.
heartbeat[14147]: 2007/12/20_13:18:11 ERROR: Respawning client "/usr/lib/heartbeat/ipfail":
heartbeat[14147]: 2007/12/20_13:18:11 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114)
heartbeat[14177]: 2007/12/20_13:18:12 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14177)
heartbeat[14147]: 2007/12/20_13:18:12 WARN: Exiting /usr/lib/heartbeat/ipfail process 14177 returned rc 126.
heartbeat[14147]: 2007/12/20_13:18:12 ERROR: Respawning client "/usr/lib/heartbeat/ipfail":
heartbeat[14147]: 2007/12/20_13:18:12 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114)
heartbeat[14178]: 2007/12/20_13:18:13 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14178)
heartbeat[14147]: 2007/12/20_13:18:13 WARN: Exiting /usr/lib/heartbeat/ipfail process 14178 returned rc 126.
heartbeat[14147]: 2007/12/20_13:18:13 ERROR: Respawning client "/usr/lib/heartbeat/ipfail":
heartbeat[14147]: 2007/12/20_13:18:13 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114)
heartbeat[14179]: 2007/12/20_13:18:14 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14179)
heartbeat[14147]: 2007/12/20_13:18:14 WARN: Exiting /usr/lib/heartbeat/ipfail process 14179 returned rc 126.
heartbeat[14147]: 2007/12/20_13:18:14 ERROR: Respawning client "/usr/lib/heartbeat/ipfail":
heartbeat[14147]: 2007/12/20_13:18:14 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114)
heartbeat[14180]: 2007/12/20_13:18:15 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14180)
heartbeat[14147]: 2007/12/20_13:18:15 WARN: Exiting /usr/lib/heartbeat/ipfail process 14180 returned rc 126.
heartbeat[14147]: 2007/12/20_13:18:15 ERROR: Respawning client "/usr/lib/heartbeat/ipfail":
heartbeat[14147]: 2007/12/20_13:18:15 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114)
heartbeat[14181]: 2007/12/20_13:18:16 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14181)
heartbeat[14147]: 2007/12/20_13:18:16 WARN: Exiting /usr/lib/heartbeat/ipfail process 14181 returned rc 126.
heartbeat[14147]: 2007/12/20_13:18:16 ERROR: Respawning client "/usr/lib/heartbeat/ipfail":
heartbeat[14147]: 2007/12/20_13:18:16 info: Starting child client "/usr/lib/heartbeat/ipfail" (106,114)
heartbeat[14182]: 2007/12/20_13:18:17 info: Starting "/usr/lib/heartbeat/ipfail" as uid 106 gid 114 (pid 14182)
heartbeat[14147]: 2007/12/20_13:18:17 WARN: Exiting /usr/lib/heartbeat/ipfail process 14182 returned rc 126.
heartbeat[14147]: 2007/12/20_13:18:17 ERROR: Client /usr/lib/heartbeat/ipfail "respawning too fast"
Anonymous (没有被验证)
周四, 2007-12-20 05:28
Permalink
http://blog.chinaunix.net/u1/39370/showart_442436.html
令人撞墙的"respawning too fast"出错问题
这个问题困扰了我好几天,在lfs系统上安装ha2的时候,respawn的插件每一个能正常启动的,NND,google都搜了底朝天,也没有给出答案,今天终于发现原来是权限的问题。用heartbeat的用户启动不了插件,如ipfail,ccm,crm等。在ha.cf中不要按照上面建议的网上大多数人给出的配置,很简单,因为他们给出的成功做法未必适合自己的系统。
将ha.cf中的
respawn hacluster /usr/lib/heartbeat/ipfail;
apiauth ipfail gid=haclient uid=hacluster
改为
respawn root /usr/lib/heartbeat/ipfail;
apiauth ipfail gid=root uid=root
就可以了,ipfail进程可以启动了,而且再也不会出现下面的令人郁闷的错误信息了。
附带的/var/log/ha-log报错信息。
Anonymous (没有被验证)
周二, 2014-03-04 14:38
Permalink
TmkXEzpbLhrRncH
That's the thniknig of a creative mind
Anonymous (没有被验证)
周三, 2014-03-05 02:05
Permalink
wJWkiimVTfq
If you're reading this, you're all set, paerdnr!
Anonymous (没有被验证)
周五, 2014-05-09 08:22
Permalink
wtZNOsUmNQaF
insurance average cost car classic auto insurance browserrousers.com cheap insurance for car
Anonymous (没有被验证)
周五, 2014-05-30 07:34
Permalink
oZXjnYqlHDumK
essay writing service reviews essay writing insurance car quotes insurance auto quotes
Anonymous (没有被验证)
周二, 2014-06-03 08:26
Permalink
UoYtfpHBFUXYQYA
affordable life insurance cheap seniors term life insurance levitra blindness buy essays online construction safety custom essays
Anonymous (没有被验证)
周二, 2014-10-28 13:00
Permalink
rsTTUJOYKLIFEGHT
car insurance nursing programs associate degree viagra for sale online get car insurance quotes
Anonymous (没有被验证)
周三, 2014-11-12 01:56
Permalink
CJGSGrDPdTH
erection accredited online degree programs auto insurance car insurence quotes
Anonymous (没有被验证)
周四, 2014-12-11 12:09
Permalink
HhlcUvdDlyMjRIgbuxl
An inentliglet point of view, well expressed! Thanks!
Anonymous (没有被验证)
周五, 2014-12-12 15:10
Permalink
YfnNCblHhKGK
I love reading these articles because they're short but inotrmafive.
Anonymous (没有被验证)
周二, 2014-12-16 13:26
Permalink
oasRcBiLNNzdeH
car insurance quotes car insurance impotence stress cialis cheap
Anonymous (没有被验证)
周四, 2014-12-18 08:36
Permalink
SgxZVhCxicX
can i buy cialis online CAR INSURANC disocunt cialis car insurance where to buy viagra
Anonymous (没有被验证)
周一, 2014-12-22 18:16
Permalink
QGXmyWhBLVv
life insurance quotes
Anonymous (没有被验证)
周四, 2015-03-05 12:27
Permalink
OMqRDXZgSH
cialis car insurance quote auto insurance car insurance quote cialis cialis
Anonymous (没有被验证)
周四, 2015-04-16 15:58
Permalink
jVWNndsBOjAENQ
age because car insurance quotes possible solution some people car insurance quotes in Detroit, MI possible solution sore throat cheap auto insurance in San Jose, CA company claim age because cheap car insurance in NJ possible solution reach cheap auto insurance in CA narrow down
Anonymous (没有被验证)
周二, 2015-04-21 07:31
Permalink
WDqLSyuWCOdvxlQdRi
school online colleges graduate who shop global life insurance quotes more insurance car comprehensive even online college even expand car thinking online california auto insurance quotes insurance company
Anonymous (没有被验证)
周四, 2015-02-26 09:20
Permalink
arWhbeYpvIpsACLsoHBa
hard erection cialis generic reversible phosphodiesterase only recommend buy propecia online scalp med problems cialis for sale women though
zdx3578
周五, 2007-12-21 00:59
Permalink
heartbeat的respawn可以检
heartbeat的respawn可以检测ipfail等,但是respawn检测ldirectord还是不行,每次ldirectord的rc=0或1都导致heartbeat重启ldirectord,结果ldirectord都关闭了,没有启动。虽然linux稳定但是也用heartbeat热备,ldirectord稳定也需要监控把??查查watchdog的监控!!
zdx3578
周一, 2007-12-24 02:05
Permalink
http://linux.chinaunix.net/bbs/thread-912964-1-1.html
如果是hb2.0以上的话,完全可以
配制好/etc/ha.d/haresources和ha.cf后,调用 /usr/lib/heartbeat/haresources2cib.py
可以生成 /var/lib/heartbeat/crm/cib.xml
就可以对apache的状态进行监测了。
如果不行,可以运行hb_gui,为apache资源添加一个monitor