[SQU] two parallel parent-caches : does not work

From: Peter Pilsl <pilsl@dont-contact.us>
Date: Tue, 23 Jan 2001 18:52:50 +0100

I want to use two different parent-caches to have them polled parallel
and the fastest wins. Especially if one cache fails (lets say the
connection is interrupted) I want the other proxy come in place.

According to the squid-faq, the following configuration should do it
(I dont want to use ICP)

cache_peer proxy1 parent 8080 0 no-query
cache_peer proxy2 parent 3128 0 no-query
prefer_direct off

However,always proxy1 is used and when it fails, squid reports an
error back instead of using proxy2 or direct_access. When I change
the order and put proxy2 first, always proxy2 is polled and squid
reports an error when proxy2 is not reachable.

What the heck am I doing wrong ?


mag. peter pilsl
phone: +43 676 3574035
fax  : +43 676 3546512
email: pilsl@goldfisch.at
sms  : pilsl@max.mail.at
pgp-key available
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Jan 23 2001 - 10:55:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:31 MST