[Linux-HA] HA cluster 2 IP Service and bonding
Miguel Olivares
miguel.olivares at evistel.com
Tue Jul 28 08:55:21 MDT 2009
Hello,
I have 2 servers in mi cluster with 4 Ethernet cards each one, i used
bonding in order to have full redundancy. i didn't have any problem with
my configuration, it works but not as well as i expect. What i want to
do is when one of the two bonding interfaces "bond0" or "bond1" does not
respond in the primary server this servers gives up, and the other
server can take the service, but i don't know how to do that. i put my
config files ha.cf and haresources.
eth0 and eth1 -> bond0 #on Server1 and Server2
eth2 and eth3 -> bond1 #on Server1 and Server2
192.168.1.10 Server1 # bond0
192.168.1.11 Server2 # bond0
192.168.1.12 virtual IP1
172.16.10.10 Server1 #bond1
172.16.10 11 Server2 #bond1
172.16.10.12 virtual IP2
in my configuration i saw both virtual's IP in Server1, but when i put
down bond1 Server1 still continue as the primary node.
does anybody help me
Thanks
regards.
[ha.cf]
debugfile /var/log/ha-debug
logfile /var/log/ha-log
keepalive 2
deadtime 30
warntime 10
initdead 60
udpport 694
bcast bond0 bond1
auto_failback off
node Server1 Server2
ping 192.168.1.254
ping 172.16.10.254
[haresources]
Server1 192.168.1.12 172.16.1.12
More information about the Linux-HA
mailing list