LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

(no subject)

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: (no subject)
From: "Ravindranath Kokku" <rkokku@xxxxxxxxxx>
Date: Fri, 6 Jul 2001 12:00:56 -0500
Hi!
     Alison has been talking to you for the last few days about our
problems with LVS setup. We are not sure if we are missing (messing???)
something in our configuration thats causing the LVS director crash...
Here's how our setup looks like...

9.3.61.55 is the virtual IP address on which the client sends out
http/telnet requests. lo:0 is hidden on real servers.


(DIRECTOR)                               (CLIENT running httperf)
eth0     9.3.61.51                           eth0 9.3.61.57
eth0:0  9.3.61.55
                   |                                                     |
-----------------------------------------------------------------------------------

Gigabit switched network
                   |                                                     |
(REALSERVER 1)                     (REALSERVER 2)
eth0 9.3.61.52                               eth0 9.3.61.53
lo:0 9.3.61.55                                lo:0 9.3.61.55


lvs_dr.conf

#----------lvs_dr.conf----------------------------------------
LVSCONF_FORMAT=1.0
LVS_TYPE=VS_DR
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
VIP=eth0:0 9.3.61.55 255.255.255.255 9.3.61.55
DIRECTOR_INSIDEIP=eth0 9.3.61.51 9.3.61.0 255.255.255.0 9.3.61.255
#no default gw for director with VS-DR or VS-Tun
#DIRECTOR_GW=
#SERVICE=t telnet rr 12.1.1.2 12.1.1.3 12.1.1.4
#SERVICE=t http rr 9.3.61.52 9.3.61.53 9.3.61.54
SERVICE=t telnet rr 9.3.61.52 9.3.61.53 9.3.61.54
SERVER_VIP_DEVICE=lo:0
SERVER_NET_DEVICE=eth0
SERVER_GW=9.3.61.1
#----------end lvs_dr.conf------------------------------------


Here's what happens:

1. Before I run the rc.lvs_dr on the director, I do a telnet from client to
9.3.61.51 and 9.3.61.55. In both cases, the DIRECTOR responds correctly and
allows me to login.
2. I then run rc.lvs_dr on the director ad the real servers. I donot see
any errors except the warning that $router_forwards is not set.
3. I check the variables in the hidden and see all values correctly.
3. I ping 9.3.61.55 and see that the director is responding correctly. The
arp cache on the client contains the hardware address of the DIRECTOR for
the virtual IP address.
4. I do a telnet 9.3.61.51 and it works fine.
5. I now do a telnet 9.3.61.55 and the LVS DIRECTOR machine crashes.

Many things I wrote might be redundant, but I thought I should be as
verbose as possible. Could anyone please analyse the setup and symptoms and
point out why our setup is not working?

Thanks
Ravi.



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