Re: [squid-users] Cache_peer configuration

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 25 May 2011 20:49:46 +1200

On 20/05/11 00:27, senthil kumar wrote:
> Hello All,
>
> We have 5 squid servers and each squid server is configured to send
> requests from certain clients to cache_peer( cache_peer is a filter)
> and rest of the request passes as direct requests. We have disk
> caching at all servers and need to share disk caching among the five
> servers. How to configure all squid servers with sibling relationship
> and ensure the clients which are supposed to pass through
> filter(cache_peer) are not bypassed filter or passed as direct
> requests?
>
> Whether following configuration will achieve it? Please share your views.
>

No it will not.
  You used "no-query" which disables ICP (Internet Cache Protocol)
sharing of information.

I also recommend you experiment with HTCP. Which is a slightly improved
version of ICP.

> proxy1 configuration:
>
> client range: 172.16.1.0/24 and 10.0.0.0/8
>
> cache_peer example.com parent 3128 7 no-query no-digest default name=filter
> acl peer src 172.16.1.0/24
> cache_peer_access filter allow peer
>
> cache_peer proxy2 sibling 3128 7 no-query proxy-only round-robin
> cache_peer proxy3 sibling 3128 7 no-query proxy-only round-robin
> cache_peer proxy4 sibling 3128 7 no-query proxy-only round-robin
> cache_peer proxy5 sibling 3128 7 no-query proxy-only round-robin
>
> Thanks
> Senthil

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Wed May 25 2011 - 08:49:54 MDT

This archive was generated by hypermail 2.2.0 : Wed May 25 2011 - 12:00:03 MDT