Re: [squid-users] Multiple Parents

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 25 Jan 2011 00:51:06 +0000

On Mon, 24 Jan 2011 16:14:35 -0800, Tiz wrote:
> On 1/21/11 7:57 PM, "Amos Jeffries" wrote:
>
>> That config is:
>> http_port 80 accel defaultsite=yum-slave-01
>> cache_peer 1.1.1.1 parent 80 0 no-query round-robin name=yum1
>> forcedomain=yum-slave-01
>> cache_peer 2.2.2.2 parent 80 0 no-query round-robin name=yum2
>> forcedomain=yum-slave-02
>> cache_peer_access yum1 allow all
>> cache_peer_access yum2 allow all
>
> Amos,
>
> Thanks for this and I appreciate your explanation of accel for
http_port.
>
> The only nit was: I used forceddomain vs. forcedomain. Minor.
>
> I was able to stop the apache service on either slave1 or slave2 and the
> squid server reacted as it should. I was using version 3.1.8.
>
> Yum configs allow me to use a mirrored list of repo servers - in my
case, a
> list of squid servers.
>
> So I have added a second squid server with the same config. Would there
be
> any foreseeable difficulty in creating a sibling relationship between
the
> two squid servers?

Thats pretty much what siblings are about.
You can expect bandwidth between the two with a little higher lag on the
overall request when both are involved with serving it.

Amos
Received on Tue Jan 25 2011 - 00:51:11 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 25 2011 - 12:00:03 MST