originserver plus carp configuration?

From: Joe Cooper <joe@dont-contact.us>
Date: Thu, 07 Apr 2005 18:14:41 -0500

Hey Henrik and all,

I've got a reverse proxy running Squid with the following cache_peer
configuration:

cache_peer 192.168.1.47 parent 80 7 originserver no-query carp
cache_peer 192.168.1.48 parent 80 7 originserver no-query carp
cache_peer_domain 192.168.1.47 .domain.com
cache_peer_domain 192.168.1.48 .domain.com

The cache_peer_domain settings are there because we have 6 back-end
servers serving 3 domains--two servers for each domain.

The whole configuration is working, except for load balancing. Without
"carp" I always get FIRST_UP_PARENT/192.168.1.47. With "carp" I always
get CARP/192.168.1.48, no matter what IP I'm coming from (and I tried a
half dozen client IPs to be sure I wasn't just coincidentally always
hashing to the same destination).

What am I doing wrong?

Thanks!
Received on Thu Apr 07 2005 - 17:11:58 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:06 MDT