略去导航.
主页

heartbeat管理网卡问题,,,求助!!!!!!

实际环境:
系统:RHEL5U1 FOR PPC64
ibm p5两台,ds4700一台,
node1:eth0-10.200.128.111 ,eth1-10.0.0.111(心跳)
node2:eth0-10.200.128.112,eth1-10.0.0.112(心跳)

两个ha.cf配置文件为:
logfile /var/log/ha_log/ha-log.log
logfacility local0
bcast eth1
ucast eth1 10.0.0.112
keepalive 2
deadtime 30
initdead 120
hopfudge 1
udpport 694
auto_failback on
node server-a
node server-b
ping 10.200.128.112 10.200.128.111
respawn root /usr/lib/heartbeat/ipfail
apiauth ipfail gid=root uid=root

现在遇到的问题:
当我在测试的时候:

断node1的eth0(对外网卡)时,node2不接管资源,请问大家帮忙看看,如何让heartbeat监测对外的eth0网卡呢?

十分着急,!!!!!

说实话,没看懂你的

说实话,没看懂你的需求,监控对外网卡的作用是什么?
你这两台上跑了什么对外的服务?

回复BIOS

我两台机器跑的http,可能是我没有说清楚,我node1和node2的eth0是做心跳连接,eth1是LAN的,
我现在的测试结果是:
1,当我断node1机器时,或是/etc/init.d/heartbeat stop时,node2接管资源(http,eth0:0,DS4700的共享磁盘)

2.当我拔掉node1上的eth1(对外)的网线,node2不接管资源,可以说明的是heartbeat没有监测网络的连接情况,

现在的需求是当任何一台node的eth1断掉,另一台接管资源,如何让heartbeat监测网络连接,???

ping_group group1 10.200.128.111 10.200.128.112
respawn root /usr/lib/heartbeat/ipfail
apiauth ipfail gid=root uid=root

我添加的ipfail这部分不管事!!!!
十分火急!!!

这个不应该是heartbeat

这个不应该是heartbeat做的事,这个应该是ldirectord做的事情,或者你用了mon,加我qq或man吧:48973947
harvey_liu@126.com我们具体聊,这里太慢