[Linux-HA] Configuring HA

Dan Track dan.track at gmail.com
Tue Oct 10 03:48:39 MDT 2006


Hi
I'm trying to setup heartbeat 2.0.7 on rhel 4 es and am having some problems.

I'm following the instructions on this page:

http://www.linux-ha.org/GettingStarted/OneIPAddress

I'm having the following problems

1) Both nodes come up with the virtual floating IP once the primary
node is restarted. Only one should come up that gets failed over to
the other node. ( at least this is how I understand it)

2) Running the following generated the following error:

 python /usr/lib/heartbeat/haresources2cib.py /root/haresources.temp >
/var/lib/heartbeat/crm/cib.xml
cib.xml or cib.xml.sig exist in /var/lib/heartbeat/crm/
please remove them before generating new cib.xml

Everytime you remove the file the script recreates a blank file and
then complains, buit never populates the file.

Could someone please help me with the above?

My configuration files are

node1: ha.cf

logfile /var/log/ha-log
logfacility     daemon
keepalive 1
deadtime 10
warntime 5
initdead 120 # depend on your hardware
udpport 694
ping 10.11.8.40
bcast eth1
ucast eth1 192.168.16.2
auto_failback off
node    zhang
node    quan
respawn hacluster /usr/lib/heartbeat/ipfail
use_logd yes

node2: ha.cf
logfile /var/log/ha-log
logfacility     daemon
keepalive 1
deadtime 10
warntime 5
initdead 120 # depend on your hardware
udpport 694
ping 10.11.8.40
bcast eth1
ucast eth1 192.168.16.2
auto_failback off
node    zhang
node    quan
respawn hacluster /usr/lib/heartbeat/ipfail
use_logd yes


If you need anymore info please let me know.

Thanks in advance
Dan


More information about the Linux-HA mailing list