LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Everything installed, but doesn't work

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, mwarwick@xxxxxxxxx
Subject: Re: Everything installed, but doesn't work
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Fri, 18 May 2001 09:46:06 -0400
Mike Warwick wrote:
> 
> 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.  

Hmm, well the script clears a lot of tables. Presumably the machine you're
ssh'ing from gets dropped. I've only ever tested the script by running
on the director console or when connected through an interface on the
director that the configure script isn't told about (eg ssh into eth2).


> 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).

I expect/plan that the admin on the director will occur through another 
interface which is not
a part of the lvs. Eventually filter rules will go into the configure script
which only allow LVS packet over the interfaces known to the 
configure script. 

> 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
netmask is wrong, try 

             209.116.71.36 255.255.255.255 209.117.71.36 

> DIRECTOR_INSIDEIP=eth0 209.116.71.37 209.116.71.32 255.255.255.240 
> 209.116.71.47
you have an extra entry here, try instead
                         209.116.71.37 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-----------------------------------------------

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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