Hello,
My lvs recently had a strange behavior. I have 3 realservers (with the
same content) , and only 2 of them are loadbalanced. But my ipvs command
displays the 3 realservers :
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
FWM 1 wlc persistent 600
-> 192.168.0.2:0 Route 1 0 0
-> 192.168.0.3:0 Route 1 0 0
-> 192.168.0.4:0 Route 2 0 0
FWM 2 wlc persistent 600
-> 192.168.0.3:0 Route 1 0 0
The 192.168.0.2 doesn't appear in my configuration file. When i reload
my director, 192.168.0.2 is deleted, but after a couple of hours, it's
added again. Nothing about adding this realserver in the log.
Here is my config :
# Global Directives
checktimeout=5
checkinterval=10
#fallback=127.0.0.1:80
autoreload=no
logfile="/var/log/ldirectord.log"
quiescent=no
# for HTTP
virtual=1
real=192.168.0.3:0 gate 1
real=192.168.0.4:0 gate 2
netmask=255.255.255.255
service=http
request="/root/hello.txt"
receive="hello"
scheduler=wlc
persistent=600
protocol=fwm
checktype=negotiate
# for AOL proxys
virtual=2
real=192.168.0.3:0 gate 1
netmask=255.255.255.255
service=http
request="/root/hello.txt"
receive="hello"
scheduler=wlc
persistent=600
protocol=fwm
checktype=negotiate
Any idea ?
Sincerely yours,
David
|