Hi !
I'm new on this list, so let me introduce myself. I'm Alexis, french
student, and i'm actually trying to make a squid cluster with failover
functionnalities and, probably later, load balancing possibilities.
For the moment, I juste want to use heartbeat, ldirectord (to monitor
squid) on 2 computers. The VIP is 10.0.0.234, and the RIPs are
10.0.0.233 and 10.0.0.232.
Of course, I've read a lot of docs but nothing works on my config.
Heartbeat is running perfectly, and when I switch off a computer, the
second takes hand. When I kill squid, ldirectord delete server from the
cluster (ipvsadm -Ln shows me this) but nothing happen with heartbeat
and, consequently, there's no failsafe :(
My ldirectord.cf is :
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
virtual=10.0.0.234:3128
real=10.0.0.232:3128 gate
real=10.0.0.233:3128 gate
scheduler=dh
protocol=tcp
quiescent=no
checktype=connect
checkport=3128
Have you ever met this situation ?
Thanks for your help.
--
Alexis
|