[squid-users] Problem between ICP et Heartbeat

From: JORT Emmanuel <[email protected]>
Date: Mon, 09 Oct 2006 11:39:17 +0200

Bonjour... hello !

We are using two Squid proxy servers running with Debian Sarge : proxy1[10.14.32.144] et proxy2[10.14.32.145]

We are trying to make them high available with HeartBeat : proxy1 should take virtual IP of proxy2 when this one is out... and proxy2 for proxy1.

To do that, we have installed and started Heartbeat on our two servers. Two virtual IP address have been created : 10.14.32.44 -> proxy1[10.14.32.144] et 10.14.32.45 -> proxy1[10.14.32.145]
There's no problem with heartbeat when we stop one of the two proxy.

On the other hand, we have problem with our neighbors (proxys using ours) using ICP (vers les IP virtuelles).

Here is our neighbors config :

cache_peer 10.14.32.44 parent 3128 3130 weight=10 proxy-only
cache_peer 10.14.32.45 parent 3128 3130 weight=10 proxy-only

When disabling ICP, with "no-query", all is running as well as possible but ... without ICP !

cache_peer 10.14.32.44 parent 3128 3130 weight=10 proxy-only no-query
cache_peer 10.14.32.45 parent 3128 3130 weight=10 proxy-only no-query

Any idea about this problem between Squid ICP protocol and Heartbeat ?

Thank you !

----------------------------------

I apalogize for my poor english on this list and send you a french version of this mail...

Bonjour,

Nous avons deux serveurs proxys Debian Sarge utilisant squid : proxy1[10.14.32.144] et proxy2[10.14.32.145]

Nous souhaitons rendre ces deux proxys "hautement disponibles" avec Heartbeat : faire en sorte que proxy1 prenne l'IP virtuelle de proxy2 en cas de d�faillance de celui-ci et r�cproquement.

Pour ce faire, nous avons install� et configur� Heartbeat sur nos serveurs.
Deux adresses IP virtuelles ont ainsi �t� g�n�r�es : 10.14.32.44 -> proxy1[10.14.32.144] et 10.14.32.45 -> proxy1[10.14.32.145]
Le basculement des adresses IP fonctionne.

En dehors de tout basculement IP, nous rencontrons des probl�mes avec les proxys fils qui utilisent ICP (vers les IP virtuelles) quand la configuration d'un proxy-fils est la suivante :

cache_peer 10.14.32.44 parent 3128 3130 weight=10 proxy-only
cache_peer 10.14.32.45 parent 3128 3130 weight=10 proxy-only

Si on d�sactive ICP, en ajoutant "no-query", tout fonctionne � nouveau normalement ... sans ICP !

cache_peer 10.14.32.44 parent 3128 3130 weight=10 proxy-only no-query
cache_peer 10.14.32.45 parent 3128 3130 weight=10 proxy-only no-query

Avez-vous une id�e sur ce probl�me entre ICP et Heartbeat ?

Merci

-- 
Emmanuel Jort
CRISI - DRS
Universit� de Caen
Received on Mon Oct 09 2006 - 03:39:25 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST