[sorry for the repost, my previous post of this appeared as a reply to
another thread]
Hello,
I originally setup in ldirectord.cf, with the weights are 3-2-1. Later
(couple hours) I checked with ipvsadm, it showed 2-2-1, and now 2-1-1. Does
ipvsadm automatically change the weight?
[root@director]# ipvsadm -L -n
IP Virtual Server version 1.0.8 (size=65536) Prot LocalAddress:Port
Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP VIP:80 wlc
-> RIP1:80 Tunnel 2 29 38
-> RIP2:80 Tunnel 1 7 1320
-> RIP3:80 Tunnel 1 6 1196
And my ldirectord.cf settings follows:
[root@director]# more /etc/ha.d/ldirectord.cf
# Global Directives
checktimeout=10
checkinterval=2
autoreload=no
logfile="/var/log/ldirectord.log"
logfile="local0"
quiescent=yes
# Virtual Server for HTTP
virtual=VIP:80
real=RIP1:80 ipip 3
real=RIP2:80 ipip 2
real=RIP3:80 ipip 1
service=http
request="status.txt"
receive="online"
scheduler=wlc
protocol=tcp
checktype=negotiate
Thanks
Son Nguyen
|