Re: [squid-users] cache_peer_domain with file list

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 24 Aug 2009 17:50:35 +1200

Waitman Gobble wrote:
> Amos Jeffries wrote:
>> ?huh? your example omits cache_peer order.
>> Which is half the critical config for failover sequencing.
>> {important stuff in previous email}
>> Amos
>>
> Thanks Amos,
>
> yeah, that was a too-fast hit-send email mistake. with typos too. ARRGH
>
> acl s1 dstdomain "/s1"
> acl s2 dstdomain "/s2"
>
> cache_peer 172.16.10.5 parent 80 0 no-query originserver name=server_s1
> login=PASS
> cache_peer_access server_s1 allow s1
>
> cache_peer 172.16.10.7 parent 80 0 no-query originserver name=bu_s1
> login=PASS
> cache_peer_access bu_s1 allow s1
>
> cache_peer 172.16.10.7 parent 80 0 no-query originserver name=server_s2
> login=PASS
> cache_peer_access server_s2 allow s2
>
> cache_peer 172.16.10.5 parent 80 0 no-query originserver name=bu_s2
> login=PASS
> cache_peer_access bu_s2 allow s2
>
>
> so if 5 is off all traffic will go to 7 and vice-versa.
> if both are on it should be split up. i'll test it.
>
>
> Waitman
>
>

Ah yes now that makes sense :)

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
   Current Beta Squid 3.1.0.13
Received on Mon Aug 24 2009 - 05:50:46 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 24 2009 - 12:00:04 MDT