LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

lvs problem with weighting

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: lvs problem with weighting
From: Hayden Myers <hayden@xxxxxxxxxxx>
Date: Wed, 4 Oct 2000 16:23:06 -0400 (EDT)
We are implementing the lvs solution using rh 6.2, 2.2.16 w/ latest ipvs
patches.  We are also using the NAT method.  Everything is working
perfectly with the exception of the wrr scheduling method.  No matter the
weight on the real servers the ldirectord routing table is showing a
weight of one for each active server in the pool.  A snip from the
ldirectord.cf file is below.

virtual=63.86.125.50:80
        real=192.168.0.100:80 masq 5
        real=192.168.0.101:80 masq 10
        service=http
        request="/"
        receive=" "
        scheduler=wrr
        protocol=tcp

here is the ldirector status page

  IP Virtual Server version 0.9.15 (size=4096)

 Prot LocalAddress:Port Scheduler Flags

   -> RemoteAddress:Port          Forward Weight  ActiveConn InActConn
 TCP  63.86.125.50:80      wrr
   -> 192.168.0.101:80            Masq    1            0          0         
   -> 192.168.0.100:80            Masq    1            0          0         
 TCP  63.86.125.47:80      rr
 TCP  63.86.125.50:5555    rr
 
 ldirectord for ldirectord.cf is running with pid: 11746

It seems wierd that the real servers under 63.86.125.50:80 both have a
weight set to 1 while in the ldirectord.cf file the weights are 5 and 10.
Any help is appreciated.  


hayden myers
 



<Prev in Thread] Current Thread [Next in Thread>