[lvs-users] Non-existent VIP

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Non-existent VIP
From: Piotr Gbyliczek <pg@xxxxxxxxxxxxxx>
Date: Tue, 11 May 2010 11:03:23 +0100

I have some problems with heartbeat/lvs load balancing setup. 
I'm trying to recognize what is really happening, as I'm in need to reconfigure 
this setup. It is more heartbeat problem, but maybe somebody can help.

At first it looks like simple setup with 2 lamp servers serving site, and 2 
load balancers, in active and standby/failover. lvs is happily directing 
to lamp nodes, at least looking on ipvsadm output : 

ipvsadm -L -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP rr persistent 600
  ->            Route   1      12         16        
  ->            Route   1      4          0         
TCP rr persistent 600
  ->             Route   1      3          24        
  ->             Route   1      2          10  

But, my problem is that I'm expecting IP, as a VIP, to be 
present on one of load balancers, where heartbeat takes care of moving it in 
case of failure. It is not. Both load balancers have eth0 interface with one 
IP, eth1 with one IP, and loopback. Any ideas what I could use to investigate 
this ?? Any tools to check heartbeat resources/setup or so ?? For now I can 
only see that tcpdump shows traffic for going through LB-2, 
which is active load balancer. But how it is doing it, that is a mystery for 
me. There could be a hint in logs, as it contains a line about promiscous 
mode, but still can't see how IP can live on interface without actualy being 
on that interface. 

My config files below :


LB-2        \ \
        LVSSyncDaemonSwap::master \

logfacility        local0
bcast        eth0                # Linux
mcast eth0 694 1 0
auto_failback off
node        LB-1
node        LB-2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster

Piotr Gbyliczek
Second Line Technician
ForLinux Ltd
Tel:  0845 4210444 

ForLinux Ltd, Innovation House,
Cafferata Way, Beacon Hill Business
Park, Newark, Notts. NG24 2TN

Tel:  0845 4210444  FAX 01636 703910

Registered Company No 04227715
A BS9001 & ISO27001 Accredited Hosting Provider

The information contained in this message or any of its attachments maybe 
confidential and is intended for the exclusive use of the addressee(s).

Any disclosure, reproduction, distribution or other dissemination or use
of this communication is strictly prohibited without the express
permission of the sender. The views expressed in this email are those of
the individual and not necessarily those of ForLinux Limited.

ForLinux Limited email is for business use only.

This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

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