Hi there,
Being very new to LVS i'm trying to get to grips on
a test setup. One LVS and two web servers. However everything seems to go fine
until i try to run the lvs_nat.conf script with ./configure and i get
this...
[root@build3 config]# ./configure
lvs_nat.conf
warning: ./configure has not been tested with kernel version
2.2.18
error: conf_file syntax error - param array is not empty, contains
LVSCONF_FORMAT
in line LVSCONF_FORMAT=1.0
error: conf_file syntax error
- param array is not empty, contains CLEAR_IPVS_TABLES
in line
CLEAR_IPVS_TABLES=yes
error: conf_file syntax error - param array is not
empty, contains DIRECTOR_GW
in line DIRECTOR_GW=192.168.1.254
error:
conf_file syntax error - param array is not empty, contains SERVER_GW
in
line SERVER_GW=192.168.15.1
print_service_lines error: unknown protocol
SERVICE
service t does not give a valid port number in /etc/services
[root@build3 config]#
Any ideas as i'm stuck?
My lvs_nat.conf loks like this...
#----------lvs_nat.conf------------------------------------
LVSCONF_FORMAT=1.0
LVS_TYPE=VS_NAT
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
#note:
VIP, netmask, broadcast are from a /24 network (unlike VS-DR)
VIP=eth0
192.168.1.211 255.255.255.0 192.168.1.255
DIRECTOR_INSIDEIP=eth1 192.168.15.1
255.255.255.0 192.168.15.255
DIRECTOR_GW=192.168.1.254
SERVICE=t telnet rr
192.168.15.2:telnet
192.168.15.3:telnet
SERVER_NET_DEVICE=eth0
SERVER_GW=192.168.15.1
#----------end
lvs_nat.conf------------------------------------
Any ideas??
Thanx
Tom