On 06/01/11 14:19, mgough@xxxxxxxxx wrote:
Hi, I've looked through the documentation and posts and haven't found exactly what I'm looking for. I have a Squid in front of two Apache servers for high availability reasons. Because sessions are involved for some functions, I'd like to configure Squid to send all requests to a particular Apache instance, and only to the other one if the preferred Apache fails. None of the peer selection methods in the cache_peer documentation seems to fit this exactly, although it looks like setting "default" to the failover instance would do the trick. However, the documentation indicates that ICP is needed for those options and these are Apaches rather than Squids.
The order of cache_peer configuration does this type of failover by default when no selection method is given. The peers are listed top-down in order of preference. The first available origin is used.
Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.10 Beta testers wanted for 3.2.0.4