Hi,
I've problem to configure loadbalancing :
ipvsadmn -L n
IP Virtual Server version 1.0.8 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.24.12.10:80 rr persistent 600
-> 10.24.12.30:80 Route 0 0 0
not weight 1
-> 10.24.12.20:80 Local 0 0 0
not weigth 1
-> 127.0.0.1:80 Local 1 0 0
I use Ultramonkey heart-beat + ldirectord
ldirectord.cf :
checktimeout=5
checkinterval=2
#fallback=127.0.0.1:80
autoreload=no
#logfile="/var/log/ldirectord.log"
logfile="local0"
quiescent=yes
# Virtual Server for HTTP
virtual=10.24.12.10:80
fallback=127.0.0.1:80
real=10.24.12.20:80 gate
real=10.24.12.30:80 gate
service=http
request="index.html"
receive="Test Page"
scheduler=rr
persistent=600
protocol=tcp
checktype=negotiate
This file is the same on 2 servers.
Have you an idea ?
Regards
--
Cordialement,
Christophe Mailhebuau
Administrateur systèmes et réseaux
Steria Aquitaine
06.19.03.19.26
DGI - COPERNIC/AdonisV2
GPG/fingerprint: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D
|