On Mon, Nov 05, 2001 at 09:22:47AM -0000, Palmer J.D.F. wrote:
> Hello all,
>
> I'm totally new to all this LVS stuff so please bear with me.
> I am presently in the middle of setting up 3 squid cache boxes which I will
> ultimately be using to create a LVS cluster with 2 directors. I'm sure I'll
> have a barrage of questions regarding this when I get round to implementing
> it.
>
> Has anyone actually creates a squid cache LVS already?
There is some discussion of using squid in conjunction with LVS in
the HOWTO.
http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO.html
> I know the JANet Web Cache Service does this, but I was hoping that someone
> had done it on a smaller scale.
>
> What I am particularly interested in knowing is whether with the use of
> IP-Tables etc on the directors you can route various URLs/IPs (such as ones
> requiring NTLM authentication like FrontPage servers etc) not to go through
> the caches, but just to be transparently routed to there destination.
> I hope this makes sense to you.
This can only be done if the URLS to be passed directly through can be
identified by IP address and/or Port. LVS only understands IP addresses and
Ports, weather it is TCP or UDP, and other spurious low level data that can
be matched using ipchains/iptables.
In particular LVS does _not_ understand HTML, it cannot differentiate
between, for instance http://blah/index.html and http://blah/index.asp.
rather you would need to set up something along the lines of
http://www.blah/index.html and http://asp.blah/index.asp, and have www.blah
and asp.blah resolve to different IP addresses.
Hope that helps.
--
Horms
|