Search squid archive

Re: Cache_peer configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux