Re: [squid-users] CacheHierarchy - load balance, failover

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 02 Dec 2011 15:09:11 +1300

On 2/12/2011 2:10 p.m., Chia Wei LEE wrote:
> Hi Amos
>
> Since the child server don have internet access. so we only set it
> never_direct allow all
>

Okay. Then the answer is Yes. Traffic will only be permitted through the
cache_peers. And if one goes offline/unavailable the other will take all
the load.

Amos

>
> Amos Jeffries wrote:
>
>
> On 1/12/2011 10:49 p.m., Chia Wei LEE wrote:
>> Hi All
>>
>> I had linked squid servers into a cache hierarchy. One Child and two
>> Parent.
>>
>> below is the Child config
>> cache_peer p1.example.com parent 3128 3130 weighted-round-robin
>> cache_peer p2.example.com parent 3128 3130 weighted-round-robin
>>
>> Here is my question,
>> if let say, the p1.example.com was down, is it all the traffic will go
> thru
>> the p2.example.com ? if not, any solution to avoid the service downtime ?
> Maybe. What do your always_direct and never_direct and prefer_direct
> configuration say about it?
>
> Amos
>
> ForwardSourceID:NT00009DFE
>
Received on Fri Dec 02 2011 - 02:09:19 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 02 2011 - 12:00:01 MST