Hi,
I'm using lvs load balancers for web applications.
Kernel version: 2.6.10
Cluster Management: Heartbeat 1.2.3
Job scheduling algorithm: wlc
Cluster's type: LVS/NAT
Monitoring daemon: Ldirectord 1.77.2.5
I have two web servers with differents processors. I try to implement
different weight for that servers.
So, here is ldirectord configuration file:
checktimeout=8
checkinterval=5
virtual=xxx.xxx.xxx.xxx:80
protocol=tcp
scheduler=wlc
persistent=900
real=10.1.1.25:80 masq 1
real=10.1.1.26:80 masq 3
checktype=connect
service=http
The ipvsadm -Ln result is:
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP xxx.xxx.xxx.xxx:80 wlc persistent 900
-> 10.1.1.26:80 Masq 1 2 30
-> 10.1.1.25:80 Masq 1 2 2
You can see that the weight is not correct.
An idea?
Regards
|