Re: [squid-users] cache_peer

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 29 Mar 2010 19:42:48 +1300

GIGO . wrote:
> I want that if my first listed cache peer goes down then only should my second peer be used.
>
>
> -----------------
> cache_peer 127.0.0.1 3128 0 default no-digest no-query no-delay (only if this is unavailable then the second one listed is used)
>
> cache_peer 10.1.82.205 8080 0 default proxy-only no-query no-digest default
>
>
> Please guide me on how to do this? what configuration would be required.

Two of type "parent", remove the "default".

Your access.log should list TCP_FIRST_UP_PARENT or similar for the fetch
source type.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
   Current Beta Squid 3.1.0.18
Received on Mon Mar 29 2010 - 06:42:56 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 29 2010 - 12:00:06 MDT