LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: First connection always to lowest IP?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: First connection always to lowest IP?
From: Padraig Brady <padraig@xxxxxxxxxxxxx>
Date: Tue, 04 Dec 2001 11:44:43 +0000
Paul Wouters wrote:

So now that everything works, it's time to be nitpicking :)

When setting up a weighted round robin, the first connection always goes to
the lowest IP number (experimentally seen).

This 'breaks' using weighted round robin with two servers, weight 1 and
weight 65535, as a failover setup for servers that get less then 1
connection per InActConn timeout period :)


Why not give the failover server a weight of 0 and the other 1

and switch around as appropriate?


Ofcourse, the workaround is simple. Have the normal server be the lowest
IP number, and the failover server the highest IP.

Still, it's off by one :)

Paul, really pleased with his lvs-nat setup now :)


Padraig.



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