Using LVS with squid cluster

Owens, Ron ron.owens at nuigalway.ie
Mon Oct 23 14:38:53 BST 2006


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 at nuigalway.ie 
Phone: External +353 91 49 3252 Internal: 3252 
 


More information about the lvs-users mailing list