LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: First connection always to lowest IP?

To: Paul Wouters <paul@xxxxxxxxx>
Subject: Re: First connection always to lowest IP?
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 4 Dec 2001 00:22:59 +0000 (GMT)
        Hello,

On Mon, 3 Dec 2001, 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).

        Are you sure?

> 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 :)

        You mean, the first time the server with weight 1 is selected?
This really sounds as a bug if it is true.

> 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 :)

Regards

--
Julian Anastasov <ja@xxxxxx>



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