Re: [squid-users] parents and siblings in a complex enviroment

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 19 Jun 2003 17:17:12 +0200

On Thursday 19 June 2003 15.05, Eric Wieling wrote:

> When a request comes into a BRANCH cache, the cache queries it's
> sibling and both parents at HQ. Do the parents then query each
> other (since they are siblings)? If so, does anyone have ideas on
> the best way to prevent these duplicate queries?

The HQ parents query each other when the sibling decides to send the
request to one of the HQ parents.

Do avoid this you can use cache_peer_access to deny the other HQ
server to be used if the request was received from one of the
siblings.

hq1:

acl siblings src ip.of.sibling1 ip.of.sibling2 ...
cache_peer_access hq2 deny siblings

hq2:

acl siblings src ip.of.sibling1 ip.of.sibling2 ...
cache_peer_access hq1 deny siblings

To be consistent you shuould also include the other HQ server in the
list of sibling addresses.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Thu Jun 19 2003 - 09:17:25 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:26 MST