> -----Original Message----- > From: Zia-ul-Hassan Zia [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 30, 2005 4:45 AM > To: squid-users@squid-cache.org > Subject: [squid-users] cache-peering using sibling relationship > > > Hi Guys, > I will really appreciate if someone can help in my situation. > > We have three Squid proxies and want to share the cache between them using > cache_peer option.These three proxies are at the same level (we don't want to > configure them as parent child relationship). My concerns are. > > 1:- Should I configure all proxies as subling peers > cache_peer proxy1.example.com 8080 3130 proxy-only > cache_peer proxy2.example.com 8080 3130 proxy-only > cache_peer proxy3.example.com 8080 3130 proxy-only > > 2:- Should we need to define an access list(miss_acl) for neighbour peers > in case of MISSES neighbours can fetch from Internet instead of getting the > error message.Does that make sense? > > miss_access allow proxy1.example.com > miss_access allow proxy2.example.com > miss_access allow proxy2.example.com > miss_access allow manager > miss_access deny all > > Please guide me, if I am missing something > > Zia-ul-Hassan Zia > RMIT Infrastructure Services > UNIX Systems > Tel: 992 51964
FWIW, you might want to beware that some servers don't really play well with a single HTTP "session" originating from multiple IPs. In other words look into some way of "sticking" your cache clients to one proxy server. Setting up your cache-peer relationships as specified in (1) above should be sufficient. Misses will not cause an error message, and you will have a minimum of duplicated content between the peers. Just be sure to set up http_access rules such that the cache_peers are allowed to access each other's cache. Chris