[Keepalived-devel] active/active setup not reverting
Status: Beta
Brought to you by:
acassen
|
From: Michael H. <mik...@gm...> - 2009-03-19 15:27:29
|
Hi, I'm new to the list. I hope this is the right place to post my
question. Any help would be much appreciated as I don't really know
what I'm doing :)
I'm trying to setup a load balanced router where there are 2 VIPs and
both nodes can take over the other's ip. The problem that I'm seeing
is that when I disable networking on node2 and then re-enable it a few
seconds later node2 does not revert to being active. I keep seeing
this message in node2's logs:
VRRP_Instance(VI_2) Received lower prio advert, forcing new election
However the election never seems to take place because node1 keeps
node's address. Here are the config files I have on each node:
NODE1:
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
# authentication {
# auth_type AH
# auth_pass k@l!ve1
# }
virtual_ipaddress {
172.16.209.131/24 dev eth0
}
}
vrrp_instance VI_2 {
state BACKUP
interface eth0
virtual_router_id 52
priority 100
advert_int 1
# authentication {
# auth_type AH
# auth_pass k@l!ve3
# }
virtual_ipaddress {
172.16.209.129/24 dev eth0
}
}
NODE2:
vrrp_instance VI_1 {
state BACKUP
interface eth0
virtual_router_id 51
priority 100
advert_int 1
# authentication {
# auth_type AH
# auth_pass k@l!ve1
# }
virtual_ipaddress {
172.16.209.131/24 dev eth0
}
}
vrrp_instance VI_2 {
state MASTER
interface eth0
virtual_router_id 52
priority 150
advert_int 1
# authentication {
# auth_type AH
# auth_pass k@l!ve3
# }
virtual_ipaddress {
172.16.209.129/24 dev eth0
}
}
|