Re: [squid-users] multi original servers

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 10 Jun 2008 14:50:26 +1200 (NZST)

> 2008/6/10 Ben Hollingsworth <ben.hollingsworth_at_bryanlgh.org>:
>
>>
>> In my testing, I found that the names had to be slightly different. For
>> instance:
>>
>> cache_peer INTERNALIP1 parent 80 0 no-query originserver login=PASS
>> name=INTERNALNAME1-peer sourcehash
>> cache_peer INTERNALIP2 parent 80 0 no-query originserver login=PASS
>> name=INTERNALNAME2-peer sourcehash
>>
>> cache_peer_access INTERNALNAME1-peer allow sites_INTERNALNAME
>> cache_peer_access INTERNALNAME2-peer allow sites_INTERNALNAME
>>
>
> Thanks all.
> Under this setting, when one original server was down, can Squid
> exclude it automatically?
>

yes, there is a small delay (about 10 requests) for it to detect the
down-state then its excluded. It's checked at intervals to see if its up
again at which point it resumes service. The cache_peer options include a
set of monitor* bits to control the testing.

Amos
Received on Tue Jun 10 2008 - 02:50:31 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 10 2008 - 12:00:03 MDT