If you have sufficient hardware, you could set up a 1:1 mapping of squid
& apache servers:
/-squid--apache
lvs--squid--apache
\-squid--apache
The assumption is that each squid/apache pair gets equal load
distribution. Another option would be a side-by-side config where squid
handles a separate hostname (e.g. images.domain.com) and never serves
session-based content. That would require changing web page content,
though.
Thanks,
-jrr
On Tue, 2005-04-05 at 18:16 -0400, Brad Taylor wrote:
> 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?
|