LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

More help....

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: More help....
From: "Tom Brown" <list@xxxxxxxxxxxxxx>
Date: Thu, 26 Apr 2001 18:37:15 +0100
Hi,
 
What i'm basically trying to set up is as follows....
 
1 LVS box with 2 network cards and 2 network addresses... One (eth0) 192.168.1.211 which is visible to the rest of the network and (eth1) 192.168.15.1 which is visible to the two web boxes....
 
The two web boxes have the IP's of 192.168.15.2 and 192.168.15.3 ....
 
Using the script below i can't seem to get the configure script to run correctly... Can anyone see an obvious problem as i'm stumped...
 
I'm a newbie to this load balancing so be kind ;-))
 
#----------lvs_nat.conf------------------------------------
LVSCONF_FORMAT=1.0
LVS_TYPE=VS_NAT
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
VIP=eth0 192.168.1.211 255.255.255.0
DIRECTOR_INSIDEIP=eth1 192.168.15.1 255.255.255.0 192.168.15.255
DIRECTOR_GW=192.168.1.254
#SERVICE=t ftp rr sneezy:ftp bashfull:ftp
SERVICE=t telnet rr 192.168.15.2:telnet 192.168.15.3:telnet
SERVICE=t netpipe rr 192.168.15.2:netpipe 192.168.15.3:netpipe
SERVICE=t http rr 192.168.15.2:http 192.168.15.3:http
#SERVICE=t https rr sneezy:https
SERVER_NET_DEVICE=eth0
#no server vip device for real-server for VS-NAT
#SERVER_VIP_DEVICE=
#no default gw for real-server with VS-NAT
#SERVER_GW=
#----------end lvs_nat.conf---------------------------------
 
What am i doing wrong???
 
thanx
<Prev in Thread] Current Thread [Next in Thread>