May be the x-forwarder-for option in squid help you...
Mariano
-----Mensaje original-----
De: Brad Taylor [mailto:btaylor@xxxxxxxxxxxx]
Enviado el: Martes, 05 de Abril de 2005 07:16 p.m.
Para: LinuxVirtualServer.org users mailing list.
Asunto: RE: LVS, Squid and Persistent
So you have Squid and Apache running on the same box? I can't do that,
our web servers are IIS and can't change. So it would be
client--Squid--LVS--Real Server. But I'm thinking LVS won't be able to
keep session because LVS will only see the Squid IP address. I'm I
correct? If so what could I do to fix this?
-----Original Message-----
From: John Reuning [mailto:john@xxxxxxxxxxxxxxx]
Sent: Tuesday, April 05, 2005 6:08 PM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: LVS, Squid and Persistent
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
|