[squid-users] ICP / CARP

From: Michael Pophal <michael.pophal@dont-contact.us>
Date: 13 May 2004 15:57:40 +0200

Hi all,

since a while I have a problem with the siblings in my proxy cluster.
Some weeks ago, I activated CARP on the proxies, to loadbalance the
parents by URL-Hash. This should save disk space!
But unfortunately since this change, sibling does not work anymore. No
ICP request is sent or recieved by one of the proxies. Nothing happens
in the ICP port.
I played with the order of the cache_peer lines in squid.conf and
figured out the following:
- if the cache_peer parent (CARP) line is followed by the cache_peer
sibling line, no sibling works.

cache_peer x.x.x.1 parent 81 83 no-query no-digest carp-load-factor=0.5
cache_peer x.x.x.2 parent 81 83 no-query no-digest carp-load-factor=0.5
cache_peer y.y.y.1 sibling 81 83 proxy-only
cache_peer y.y.y.2 sibling 81 83 proxy-only

- if the cache_peer sibling line is followed by the cache_peer parent
(CARP) line, no CARP works.

cache_peer y.y.y.1 sibling 81 83 proxy-only
cache_peer y.y.y.2 sibling 81 83 proxy-only
cache_peer x.x.x.1 parent 81 83 no-query no-digest carp-load-factor=0.5
cache_peer x.x.x.2 parent 81 83 no-query no-digest carp-load-factor=0.5

What is going wrong, do I missunderstand these relationships?

Regards Michael
Received on Thu May 13 2004 - 07:57:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT