LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

configuring LVS-DR

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: configuring LVS-DR
From: Adam Goodman <adam@xxxxxxxxxxxxxx>
Date: Fri, 06 Jul 2001 17:19:10 -0400
HI,

I am putting together an LVS system and I am having some problems understanding how to configure it all.
can you tell me what is wrong?



The setup:
I have 3 boxes, 1 director and 2 real-servers. They are all on the same network (192.168.1.128/26)
 The GW is 192.168.1.129

The director has 1 NIC

director: 192.168.1.133  (director.mydomain.com)
VIP1 192.168.1.185 (vip1.mydomain.com)

real-server1 192.168.1.137 (real-server1.mydomain.com)
real-server2 192.168.1.139 (real-server2.mydomain.com)


My (non working) config file looks like this,
#----------lvs_dr.conf----------------------------------------
LVSCONF_FORMAT=1.0
LVS_TYPE=VS_DR
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
VIP=eth0:185 vip1 255.255.255.255 vip1
DIRECTOR_INSIDEIP=eth0 dir1 192.168.1.0 255.255.255.192 192.168.1.191
SERVICE=t telnet rr work1 work2
SERVICE=t ftp rr work1 work2
SERVER_VIP_DEVICE=lo:185
SERVER_NET_DEVICE=eth0
SERVER_GW=192.168.1.129
#----------end lvs_dr.conf------------------------------------


Thanks, Adam

~




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