LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Using LVS with squid cluster

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Using LVS with squid cluster
From: "Owens, Ron" <ron.owens@xxxxxxxxxxxx>
Date: Mon, 23 Oct 2006 14:38:53 +0100
I am trying to move from a squid cluster currently using a load
balancing "super proxy" client script to a proper LVS solution.
 
I gave set up my ldirectord.conf (with one real server just to see if it
works!) as follows:
 
virtual=140.203.7.73:80
        real=172.16.12.240:80 gate 1
        checkport=8080
        checktype=connect
        protocol=tcp
        scheduler=wrr
 
ipvsadm shows the virtual and real server becoming available, but when I
try to get traffic through via the browser, all I see via ipvsadm is the
"InActConn" incrementing . The " ActiveConn" never increments. 
 
I tried running ldirecord with the "-d"  debugging option, but it
doesn't give any output related to the requested (maybe it's not
supposed to ... I don't know)
 
I have configured the real server with lvsdrrs to hide the loopback
interface as per the web server.
 
Now... has anybody managed to get squid working via ldirectord?
 
I am running the same ldirectord configuration with a web server with no
problems.....
 
__________________________________________________
Ron Owens - Principal Technical Specialist
Infrastructure Team - Computer Services 
email: ron.owens@xxxxxxxxxxxx 
Phone: External +353 91 49 3252 Internal: 3252 
 

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