LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Keepalived keeps forcing new elections

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Keepalived keeps forcing new elections
From: Brad Chang <keepalived@xxxxxxxxxx>
Date: Sun, 20 Jun 2004 08:48:58 -0700
Hi I have 2 keepalived/routers.  basically today they started having a war 
about who was going to be master and take all the ip addresses.

Snippet fw2:
Jun 20 07:53:25 fw2 Keepalived_vrrp: VRRP_Instance(internal) Received lower 
prio advert, forcing new election
Jun 20 07:53:25 fw2 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0
Jun 20 07:54:52 fw2 Keepalived_vrrp: VRRP_Instance(external) Received lower 
prio advert, forcing new election
Jun 20 07:54:52 fw2 Keepalived_vrrp: VRRP_Instance(external) Sending gratuitous 
ARP on eth1
Jun 20 07:54:55 fw2 Keepalived_vrrp: VRRP_Instance(internal) Received lower 
prio advert, forcing new election
Jun 20 07:54:55 fw2 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0
Jun 20 07:54:55 fw2 Keepalived_vrrp: VRRP_Instance(external) Received lower 
prio advert, forcing new election
Jun 20 07:54:55 fw2 Keepalived_vrrp: VRRP_Instance(external) Sending gratuitous 
ARP on eth1
Jun 20 07:55:30 fw2 Keepalived_vrrp: VRRP_Instance(external) Received lower 
prio advert, forcing new election
Jun 20 07:55:30 fw2 Keepalived_vrrp: VRRP_Instance(external) Sending gratuitous 
ARP on eth1
Jun 20 07:55:30 fw2 Keepalived_vrrp: VRRP_Instance(internal) Received lower 
prio advert, forcing new election
Jun 20 07:55:30 fw2 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0
Jun 20 07:55:38 fw2 Keepalived_vrrp: VRRP_Instance(internal) Received lower 
prio advert, forcing new election
Jun 20 07:55:38 fw2 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0
Jun 20 07:56:11 fw2 Keepalived_vrrp: VRRP_Instance(external) Received lower 
prio advert, forcing new election
Jun 20 07:56:11 fw2 Keepalived_vrrp: VRRP_Instance(external) Sending gratuitous 
ARP on eth1
Jun 20 07:56:11 fw2 Keepalived_vrrp: VRRP_Instance(internal) Received lower 
prio advert, forcing new election
Jun 20 07:56:11 fw2 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0
Jun 20 07:56:49 fw2 Keepalived_vrrp: VRRP_Instance(internal) Received lower 
prio advert, forcing new election
Jun 20 07:56:49 fw2 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0
Jun 20 07:56:55 fw2 Keepalived_vrrp: VRRP_Instance(external) Received lower 
prio advert, forcing new election
Jun 20 07:56:55 fw2 Keepalived_vrrp: VRRP_Instance(external) Sending gratuitous 
ARP on eth1
Jun 20 07:56:55 fw2 Keepalived_vrrp: VRRP_Instance(internal) Received lower 
prio advert, forcing new election
Jun 20 07:56:55 fw2 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0

snippet fw1:
Jun 20 07:53:25 fw1 Keepalived_vrrp: VRRP_Instance(external) Received higher 
prio advert
Jun 20 07:53:25 fw1 Keepalived_vrrp: VRRP_Instance(external) Entering BACKUP 
STATE
Jun 20 07:53:25 fw1 Keepalived_vrrp: VRRP_Group(internal_external) Syncing 
instances to BACKUP state
Jun 20 07:53:29 fw1 Keepalived_vrrp: VRRP_Instance(external) Transition to 
MASTER STATE
Jun 20 07:53:29 fw1 Keepalived_vrrp: VRRP_Group(internal_external) Syncing 
instances to MASTER state
Jun 20 07:53:29 fw1 Keepalived_vrrp: VRRP_Instance(internal) Transition to 
MASTER STATE
Jun 20 07:53:29 fw1 Keepalived_vrrp: VRRP_Instance(internal) Entering MASTER 
STATE
Jun 20 07:53:29 fw1 Keepalived_vrrp: VRRP_Instance(internal) setting protocol 
VIPs.
Jun 20 07:53:29 fw1 Keepalived_vrrp: VRRP_Instance(internal) Sending gratuitous 
ARP on eth0
Jun 20 07:53:29 fw1 kernel: IPVS: stopping sync thread 17268 ...
Jun 20 07:53:29 fw1 kernel: IPVS: sync thread stopped!
Jun 20 07:53:30 fw1 kernel: IPVS: sync thread started.
Jun 20 07:53:30 fw1 Keepalived_vrrp: VRRP_Instance(external) Received higher 
prio advert
Jun 20 07:53:30 fw1 Keepalived_vrrp: VRRP_Instance(external) Entering BACKUP 
STATE
Jun 20 07:53:30 fw1 Keepalived_vrrp: VRRP_Group(internal_external) Syncing 
instances to BACKUP state
Jun 20 07:53:30 fw1 kernel: IPVS: stopping sync thread 17270 ...
Jun 20 07:53:30 fw1 kernel: IPVS: sync thread stopped!
Jun 20 07:53:30 fw1 kernel: IPVS: sync thread started.
Jun 20 07:53:30 fw1 Keepalived_vrrp: VRRP_Instance(internal) Entering BACKUP 
STATE
Jun 20 07:53:30 fw1 Keepalived_vrrp: VRRP_Instance(internal) removing protocol 
VIPs.
Jun 20 07:53:30 fw1 Keepalived_vrrp: Netlink reflector reports IP 65.39.254.1 
added



fw1 is set as backup and priority of 250
keepalived version 1.1.7 kernel 2.4.20
fw2 is set as master and priority of 255
keepalived 1.1.6 patched kernel 2.4.25

the keepalived boxes do roughly 14Mb/s please let me know if anyone wants any 
more information about these servers.  I am not sure why they started to do this
but restarting keepalived on both boxes did nothing.  I had to shutdown fw1 box 
and restart keepalived on fw2 to get it to work properly again.  as soon as I 
did this and confirmed everything was still working I plugged back in fw1 and 
both seem to be working fine now.




Thanks
-Brad Chang
-http://www.dotnoc.com


----------------------------------------------------------------
http://www.dotnoc.com hosting the way it should be.

<Prev in Thread] Current Thread [Next in Thread>