Re: [squid-users] Re: Proxy parent failover

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 13 Feb 2008 00:21:12 +1300

Josh wrote:
> Sorry for the re-post, keyboard went crazy :/
>
> A little schema of what i want to do:
>
> Squid proxy ------------------- Proxy Parent 1----Link1----- Internet
> |
> |---FO--- Proxy Parent 2 ----Link2----- Internet
>
> if Link1 is available,
> Force squid proxy to go through parent 1 only
> if Link1 is not available,
> Force squid proxy to go through parent 2 only
>
> I can configure squid with multiple parents but it'll use them both at
> the same time.
> I couldn't figure out if there's a way to configure squid with
> multiple parents in "failover" mode...
>
> Hope you can give me some hints...

Squid has a mode FIRST_UP_PARENT which is exactly what you describe.
I believe its the default unless you configure another selection method.
So what exactly do you have in your squid.conf for the cache_peer lines?
and what release of squid is this in?

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Tue Feb 12 2008 - 04:20:58 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST