LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Backup instance brings up VIPs and keeps them up

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Backup instance brings up VIPs and keeps them up
From: Stoyan Stoyanov <stoyansbg@xxxxxxxxx>
Date: Tue, 22 Oct 2013 11:08:58 -0700
Hello,

I have the following problem. Occasionally, the backup keepalived instance
becomes master, brings up the virtual IPs, but then it fails bringing them
down after it realizes that another instance with higher prio number is
online.

Here are excerpts from the log files. everything happens within a second so
timestamps are omitted.

On the backup server:

Keepalived_vrrp: VRRP_Instance(INTIF) Transition to MASTER STATE
Keepalived_vrrp: VRRP_Group(VG1) Syncing instances to MASTER state
Keepalived_vrrp: VRRP_Instance(EXTIF) Transition to MASTER STATE
Keepalived_vrrp: VRRP_Instance(EXTIF) Entering MASTER STATE
Keepalived_vrrp: VRRP_Instance(INTIF) Received higher prio advert
Keepalived_vrrp: VRRP_Instance(INTIF) IPSEC-AH : Syncing seq_num -
Decrement seq
Keepalived_vrrp: VRRP_Instance(INTIF) Entering BACKUP STATE
Keepalived_vrrp: VRRP_Group(VG1) Syncing instances to BACKUP state
kernel: [31833.448553] IPVS: stopping backup sync thread 2564 ...
kernel: [31833.451613] IPVS: stopping master sync thread 2587 ...

On the master:

Keepalived_vrrp: VRRP_Instance(EXTIF) Received lower prio advert, forcing
new election
Keepalived_vrrp: VRRP_Instance(EXTIF) IPSEC-AH : Syncing seq_num -
Increment seq
Keepalived_vrrp: VRRP_Instance(INTIF) Received lower prio advert, forcing
new election
Keepalived_vrrp: VRRP_Instance(INTIF) IPSEC-AH : Syncing seq_num -
Increment seq
Keepalived_vrrp: VRRP_Instance(EXTIF) Received lower prio advert, forcing
new election
Keepalived_vrrp: VRRP_Instance(EXTIF) IPSEC-AH : Syncing seq_num -
Increment seq

INTIF and EXTIF are two vrrp instances associated with different interfaces
of the load balancer
VG1 is a vrrp_sync_group containing both INTIF and EXTIF vrrp instances.

auth_type is AH
advert_int is 1

In the case above, the VIPs associated with the EXTIF instance remained up
regardless that it was logged that the VG1 instances are syncing to backup
state. In other cases, the VIPs on both EXTIF and INTIF will remain up.

The environment is:
  OS: Ubuntu 12.04.3 LTS
  kernel: 3.2.0-54-generic
  keepalived: 1.2.2-3ubuntu1.1
  ipvsadm: 1.25.clean-1ubuntu5

Any idea what may be causing this?

Thanks!
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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