I added the additional udp info to my Squid configuration and restarted
both Squid and LVS and LVS still sees the connection to the VIP as an
inactive connection. Anything else I could provide or any other
suggestions?
-----Original Message-----
From: Ding Deng [mailto:ding.deng@gmail.com]
Sent: Wednesday, September 19, 2007 12:00 AM
To: Brad Taylor
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] LVS & Reverse Proxy Squid
"Brad Taylor" <btaylor@Autotask.com> writes:
> We use LVS (load balancer) to send traffic to multiple Squid 2.5
> servers in reverse proxy mode. We want to put multiple Squid instances
> on one box and have successful done that by changing: http_port 80 to
> http_port 192.168.60.7:80 in the squid.conf file. We tested to that
Squid is listening only on a private address now, what will the source
address of response from Squid be?
> instance of squid and worked successfully. Once it is added to the LVS
> load balancer the site no longer works. I'll check with the LVS group
> also.
You need as many public addresses as number of Squid instances you'd
like to run in a single box, and configure each instance to listen on a
different public address, e.g.:
Instance 1:
http_port 192.168.60.7:80
http_port 168.215.102.126:80
udp_incoming_address 192.168.60.7
udp_outgoing_address 255.255.255.255
Instance 2:
http_port 192.168.60.8:80
http_port 168.215.102.127:80
udp_incoming_address 192.168.60.8
udp_outgoing_address 255.255.255.255
Hope that helps.
Received on Wed Sep 19 2007 - 10:33:30 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT