Howard Yuan
2007-03-06 22:56:32 UTC
Hi all,
I'm fairly new to Linux. I know a little bit about it. I'm currently running SLES 10 and I'm trying to set up DRBD and Heartbeat. I got the DRBD portion working and now I'm trying to get Heartbeat working. I currently have Heartbeat 2.0.8 installed on my two SLES 10 systems. I followed a few guides that I found online and I believe I have it configured right. However, every time I start up heartbeat (whether on both server simultaneously or one after the other), I always see in the log that it doesn't see the other node. Node A declares Node B is dead and binds my test IP address and Node B declares Node A as being dead and binds the test IP address as well. I can't figure out why it's doing this and I believe maybe I messed something up in my configuration file?
Any advice, comments, or suggestions are greatly appreciated. Thanks in advance.
Howard
Node A's ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 80
udpport 694
bcast eth1
auto_failback on
node LU3-US
node LU4-US
ping 192.168.15.1 192.168.15.2
#ping_group group1 192.168.15.1 192.168.15.2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
apiauth ping gid=haclient uid=root
compression bz2
compression_threshold 2
crm yes
Node B's ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 80
udpport 694
bcast eth0
auto_failback on
node LU3-US
node LU4-US
ping 192.168.15.1 192.168.15.2
#ping_group group1 192.168.15.1 192.168.15.2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
apiauth ping gid=haclient uid=root
compression bz2
compression_threshold 2
crm yes
Node A's and Node B's config's only difference is the broadcast port. Node A and B both have two network cards. The second cards are connected via a crossover cable while their first cards are connected to the main switch. The 192.168.x.x address is bound on Node A's eth1 while it's on eth0 on Node B's. They are able to ping each other using just the node name (i.e. LU4-US). Any help is greatly appreciated.
I'm fairly new to Linux. I know a little bit about it. I'm currently running SLES 10 and I'm trying to set up DRBD and Heartbeat. I got the DRBD portion working and now I'm trying to get Heartbeat working. I currently have Heartbeat 2.0.8 installed on my two SLES 10 systems. I followed a few guides that I found online and I believe I have it configured right. However, every time I start up heartbeat (whether on both server simultaneously or one after the other), I always see in the log that it doesn't see the other node. Node A declares Node B is dead and binds my test IP address and Node B declares Node A as being dead and binds the test IP address as well. I can't figure out why it's doing this and I believe maybe I messed something up in my configuration file?
Any advice, comments, or suggestions are greatly appreciated. Thanks in advance.
Howard
Node A's ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 80
udpport 694
bcast eth1
auto_failback on
node LU3-US
node LU4-US
ping 192.168.15.1 192.168.15.2
#ping_group group1 192.168.15.1 192.168.15.2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
apiauth ping gid=haclient uid=root
compression bz2
compression_threshold 2
crm yes
Node B's ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 80
udpport 694
bcast eth0
auto_failback on
node LU3-US
node LU4-US
ping 192.168.15.1 192.168.15.2
#ping_group group1 192.168.15.1 192.168.15.2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
apiauth ping gid=haclient uid=root
compression bz2
compression_threshold 2
crm yes
Node A's and Node B's config's only difference is the broadcast port. Node A and B both have two network cards. The second cards are connected via a crossover cable while their first cards are connected to the main switch. The 192.168.x.x address is bound on Node A's eth1 while it's on eth0 on Node B's. They are able to ping each other using just the node name (i.e. LU4-US). Any help is greatly appreciated.