We use lvs, squid, and apache for load-balanced web services. The lvs
director takes requests and passes them to one of the real servers. On
the real servers, squid listens on the regular ip address, and apache
listens on localhost. Apache takes care of non cache hits passed
through by squid.
Since the squid/apache servers each function as self-contained units,
lvs persistence works independently. We've seen no problems so far.
Thanks,
-jrr
On Tue, 2005-04-05 at 17:34 -0400, Brad Taylor wrote:
> I have a reverse proxy setup for caching using Squid. I want to use LVS
> to load balance 3 web servers. I need to make sure persistence works
> for our web servers. If the LVS receives the request from Squid will
> persistence still work? I'm thinking not because LVS would always see
> the same IP address, Squid's IP address. Thanks
|