LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

how to load balance http and squid request ?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: how to load balance http and squid request ?
From: massimiliano conteduca <massimiliano@xxxxxxxxxxxxx>
Date: Tue, 18 Apr 2006 02:57:01 -0700 (PDT)
hello all,

ive 3 server where 1 is acting as director and other 2
as realserver.
the director is load balancing http request to the
realservers all is working fine.

ipvsadm -L shows:
TCP VIP: http rr persistent 360
         RIP1   masq
         RIP2   masq



now i installed on the 2 real servers squid 2.5 stable
version and i wish to load balancing all the request
to the port 3128 on director to the 2 realservers (as
i did for http). 
i have to use the squid with users authetication (i
dont need transparent proxy) to give internet access
to lan and wan (ive a static ip address)

i tried to setup the ipvasadm in this way without
success

ipvsadm -A -t VIP:3128 -s wlc
ipvsadm -a -t VIP:3128 -r VIP1
ipvsadm -a -t VIP:3128 -r VIP2

i tried other solution i found on the net but
without success too, do you have some hint ?
thank you



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