Just to clear things up, let me just post my configuration:
# ________
# | |
# | client |
# |________|
# | CIP=eth1 10.80.1.3 (gateway/firewall)
# |
# | __________
# | | |
# |------| director |
# | |_________|
# | VIP=eth1:2 10.80.1.20/32 (prod-zope-atl)
# | DIP=eth1 10.80.1.5 (ns.dmz-atl.bogus)
# |
# |
# ------------------------------------
# | |
# | |
# ______________ ______________
# | | | |
# | realserver1 | | realserver2 |
# |______________| |______________|
# RIP1=eth1 RIP2=eth1
# 10.80.1.21 10.80.1.22
# prod-zope-atl01 prod-zope-atl02
#
And here are the lines in lvs_dr.conf.one_NIC_one_network_matt
LVSCONF_FORMAT=1.1
LVS_TYPE=VS_DR
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
VIP=eth1:2 prod-zope-atl.dmz-atl.bogus 255.255.255.255 10.80.1.255
#I also tried the below:
#VIP=eth1:2 10.80.1.20 255.255.255.255 10.80.1.255
DIP=eth1 ns.dmz-atl.bogus 10.80.1.0 255.255.255.0 10.80.1.255
#I also tried the below:
#DIP=eth1 10.80.1.5 10.80.1.0 255.255.255.0 10.80.1.255
SERVICE=t http 8080 rr 10.80.1.21 10.80.1.22
SERVER_VIP_DEVICE=lo:1
SERVER_NET_DEVICE=eth1
SERVER_GW=10.80.1.3
> parse_hostname: error: gethostbyname failure - Couldn't lookup hostname
rr
I don't have many previous emails here about your configuration, but I'm
guessing rr is 'round robin', the scheduling policy. This is being read as
a
hostname for some reason?
Jeremy
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|