[lvs-users] debian lenny-lvs virtual IP

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] debian lenny-lvs virtual IP
From: Marek Soha <marek@xxxxxxx>
Date: Sat, 14 Feb 2009 13:58:49 +0100
Hello all.

I followed "loadbalancing tutorial for mysql" at
When I follow all steps, it didnt work for me.
The problem is, that ldirectord dont add virtual IP address to
interface from config. I tested a lot of scenarios to get it work, but
nothing happened.

Im using debian lenny, my configuration files is:


debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility daemon
bcast        eth0
mcast eth0 694 1 0
auto_failback off
node        loadb1
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster


loadb1 \ \
LVSSyncDaemonSwap::master \



virtual =
        service = mysql
        real = gate
        real = gate
        checktype = negotiate
        login = "ldirector"
        passwd = "ldirectorpassword"
        database = "ldirectordb"
        request = "SELECT * FROM connectioncheck"
        scheduler = wrr
        protocol = tcp

interface configuration

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
qlen 100
    link/ether 11:11:43:0d:e5:78 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
    inet6 fe80::211:43ff:fe0d:e578/64 scope link
       valid_lft forever preferred_lft forever

The question is, why ldirector dont add virtual ip to interface...
Have you any idea?
Thanks in advance.


S prianim pekneho dna

             \\ _ _ // 
              ( o o ) 
             Marek Soha 
           marek@xxxxxxx network administrator
          ICQ 146-284-791
          MSN spam@xxxxxxx
             oooO  (  ) 
             (  )  ) / 
              \ ( (_/ 

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>