[lvs-users] Issues with weighted round robin

Himanshu Raina himanshu.raina at naukri.com
Thu Jul 29 10:41:08 BST 2010


The correct output of " ipvsadm -L -n " is given below. There was
mistake in the earlier output.

TCP  161.58.189.1:80 wrr
>   -> 192.168.2.8:80             Tunnel  3	 888        1645
>   -> 192.168.2.5:80             Tunnel  7	 160        1702

On Thu, 2010-07-29 at 14:58 +0530, Himanshu Raina wrote:
> Hi
> 
> I'm using LVS tunnel with weighted round robin (weights 7 and 3
> respectively). The configuration is as follows
> 
> virtual=192.168.2.2:80
>       real=192.168.2.5:80 7 ipip 
>       real=192.168.2.8:80 3 ipip 
>       service=http
>       request="beat.html"
>       receive="ping"
>       scheduler=wrr
>       protocol=tcp
> 
> Even with weighted round robin the number of Active connections are more
> on the server with lesser weight as compared to the other one.
> 
> TCP  161.58.189.1:80 wrr
>   -> 192.168.2.8:80             Tunnel  7	 888        1645
>   -> 192.168.2.5:80             Tunnel  3	 160        1702
> 
> The reason for using wrr was that one of the machines is of lower
> configuration and till the time it is replaced I would want send 
> lesser traffic to it. What could be the reason for such a behavior ??
> Any help in this regard would be appreciated.
> 
> 
> 
> 
> 
> 
> 
> -- Regards,
> 
> Himanshu Raina -- 
> nesting roaches shorted out the ether cable
> 
> 
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
> 
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
-- 
Regards,

Himanshu Raina 
-- 
The price of greatness is responsibility.





More information about the lvs-users mailing list