Re: [squid-users] Failover and/or load sharing possible with cache_peer?

From: Eugene <maes@dont-contact.us>
Date: Tue, 23 Nov 2004 15:06:51 +0200

you need to use "round-robin" option in "cache_peer" directive

TR> Hi

TR> Short question: is it possible to implement failover and/or load sharing
TR> with Squid configuration parameters alone when one Squid has two
TR> upstream Squids available as cache_peers (but no direct access to
TR> anything else) and, if so, how?

TR> Longer question: I've got an internal Squid server and two in a DMZ. I'd
TR> like the internal Squid to distribute its request across the two in the
TR> DMZ when both are available and stick to one of them when the other one
TR> fails to respond. I managed to implement failover, but practically all
TR> requests go to only one of the DMZ Squids until it fails (e.g. by my
TR> stopping the daemon) and the internal Squid switches over to the other
TR> one, where it then stays until it also goes away.

TR> Is it possible to do what I want with Squid alone? If so, how?

TR> Cheers,
TR> Tobias

-- 
Best regards,
 Eugene                            mailto:maes@pfu.dp.ua
Received on Tue Nov 23 2004 - 08:22:59 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST