Re: [squid-users] Multiple Parents

From: Tiz <tizatron_at_gmail.com>
Date: Mon, 24 Jan 2011 16:14:35 -0800

On 1/21/11 7:57 PM, "Amos Jeffries" <squid3_at_treenet.co.nz> 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?

-- 
Regs
-Dean
Received on Tue Jan 25 2011 - 00:14:49 MST

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