LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

FW: LVS working :-) But not with Squid :-(

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: FW: LVS working :-) But not with Squid :-(
From: "Palmer J.D.F." <J.D.F.Palmer@xxxxxxxxxxxxx>
Date: Fri, 15 Mar 2002 13:29:54 -0000
Hi, 

I finally managed to get time enough to spend getting my LVS cluster
working, finally. 

Well it works fine with http, but not with squid.
What I mean by this is I get network unreachable back from the squid boxes
(on the squid generated errors), the actual load balancing works okay.

I have 1 director and 3 realservers.

I used Joseph Mack's configuration tool. 
Here is my configure script, can anyone spot what is wrong?


LVSCONF_FORMAT=1.1
LVS_TYPE=VS_DR
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
#VIP line format - device[:alias] IP netmask broadcast
#To help avoid namespace collisions with other VIPs, I set alias=last number

#of VIP (here 110).
#note: for VS-DR, VS-Tun, the IP is in a /32 network
VIP=eth0:110 137.44.1.68 255.255.255.0 137.44.1.68
#DIP line format - device[:alias] IP network netmask broadcast
DIP=eth0:9 137.44.1.25 137.44.1.0 255.255.255.0 137.44.1.255 
#no DIRECTOR_GW for VS-DR or VS-Tun
#DIRECTOR_GW=
#SERVICE line format - proto port scheduler IP[,weight] [IP[,weight]]
SERVICE=t 3128 wlc 137.44.1.30,1 137.44.1.31,1 137.44.1.48,1
#SERVICE=t http wlc 137.44.1.30,1 137.44.1.31,1 137.44.1.48,1
SERVER_VIP_DEVICE=lo:110
SERVER_NET_DEVICE=eth0
#SERVER_GW - packets with src_addr=VIP, dst_addr=0/0 are sent to SERVER_GW
#to be forwarded to the outside world.
#For standard VS-DR,VS-Tun, this must _NOT_ be the director.
#For Julian's martian modification (see the HOWTO), it will be the director.
#If you don't know about the martian modification, you aren't using it.
#The script will not neccesarily set up the SERVER_GW as the real-servers's
default gw.
SERVER_GW=137.44.1.254

Thanks,
Jezz Palmer.

****************************************
Jezz Palmer.
Internet Systems Officer.
Library and Information Services
University of Wales, Swansea
Singleton Park
Swansea
SA2 8PP
Tel 01792 513260
****************************************



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