i would approach this by configuring the 'cache_peer' parameters like this
cache_peer proxy1 parent 3128 3130 no-query round-robin weight=100
cache_peer proxy2 parent 3128 3130 no-query round-robin weight=100
cache_peer proxy3 parent 3128 3130 no-query weight=20
or maybe this will work
cache_peer proxy1 parent 3128 3130 no-query round-robin default
cache_peer proxy2 parent 3128 3130 no-query round-robin default
cache_peer proxy3 parent 3128 3130 no-query
but... perhaps anyone got better ideas...? would be interesting
Best regards
Torsten Lange
botp@delmonte-phil.com on 14.07.2001 11:00:35
To: squid-users@squid-cache.org
cc:
Subject: [squid-users] squid parents setup
--------------------------------------------------------------------------
Hi Team:
I plan to setup the ff proxy parents:
proxy1
proxy2
proxy3
Proxy1 and proxy2 are given top priority and will round robin (sort of)
request from siblings. While proxy1 and proxy2 are up (or at least one of
them), siblings should NOT query proxy3. Siblings will only query proxy3 if
proxy1 and proxy2 are down. The reason for this is that proxy3 has a very
slow link and it should only be used as a last option. I am thinking in a
way similar to the way the DNS MX priority works.
Is this possible? Hints, pls, for a newbie.
Thanks in advance,
-botp
Received on Sun Jul 15 2001 - 04:11:41 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:07 MST