LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs + squid + squidguard

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: lvs + squid + squidguard
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Thu, 13 Oct 2005 14:09:23 +0100
On Thu 13 Oct 2005 13:36:18 BST , Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
On Thu, 13 Oct 2005, Tony Spencer wrote:
It fails if squid is trying to serve a page that is local, that is if the
page is on a web site that resolves back to the VIP.

you need to do special things to get the realservers to be a client in an LVS.

In this case, using Squid, you can do other clever things - as long as you know where your virtual hosts are inside your platform (or can determine this programatically) then Squid can run a "redirector" script to send the requests directly to the virtual hosts.

That way if the squids need to request a page on a VIP which is on the director you can "redirect" the request to a realserver without going via the director at all.

http://squid.visolve.com/squid/squid24s1/externals.htm#redirect_program
http://squid.visolve.com/squid/squid24s1/glossary.htm#external_programs

Graeme


<Prev in Thread] Current Thread [Next in Thread>