LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Everything installed, but doesn't work

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Everything installed, but doesn't work
From: Mike Warwick <mwarwick@xxxxxxxxx>
Date: Thu, 17 May 2001 14:46:25 -0400
Hi,

I'm new to LVS, but after quite a bit of effort I believe I have installed
everything correctly.  When I run the rc.lvs_dr script on my LinuxDirector,
some strange stuff happens.  The script proceeds okay, but it severs my
external SSH connection.  After running the script, I can only SSH to the
Director from one of the other servers on the same switch (e.g. one of the
real servers).

Moreover, when I try to connect to the virtual IP address using a Web
browser, the attempt times out.  If I run "ipvsadm" on the Director, it sees
more than one connection attempt, but they all go into the "InActConn"
column.  For example, here's the result when I only tried to connect once:

[root@www1 /root]# /sbin/ipvsadm
IP Virtual Server version 0.2.7 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port             Forward Weight ActiveConn InActConn
TCP  209.116.71.36:http rr
  -> 209.116.71.39:http             Route   1      0          3
  -> 209.116.71.38:http             Route   1      0          2


I have three servers colocated at a hosting company.  The usable IP range is
<209.116.71.36-46>.  They told me that my Netmask should be
<255.255.255.240>, and that my gateway is <209.116.71.33>.  Each of the
servers has two NIC interfaces, but I'm only using one as described in the
LVS how-to.  Here's my "lvs_dr.conf":

#----------lvs_dr.conf--------------------------------------------------
LVSCONF_FORMAT=1.0
LVS_TYPE=VS_DR
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
VIP=eth0:1 209.116.71.36 255.255.255.240 209.116.71.47
DIRECTOR_INSIDEIP=eth0 209.116.71.37 209.116.71.32 255.255.255.240
209.116.71.47
SERVICE=t http rr 209.116.71.38:80 209.116.71.39:80
SERVER_NET_DEVICE=eth0
SERVER_VIP_DEVICE=lo:1
SERVER_GW=209.116.71.33
#----------end lvs_dr.conf-----------------------------------------------

Am I missing something?  Thanks so much in advance for any assistance you
can provide.  I stupidly put myself on tight schedule to bring these servers
up.

--Mike Warwick



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