Re: [lvs-users] Scheduling with wlc, lc or rr

To: Andre Magri <andremag@xxxxxxxxx>
Subject: Re: [lvs-users] Scheduling with wlc, lc or rr
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 16 Feb 2010 16:57:26 +1100
On Wed, Feb 10, 2010 at 11:40:53AM +0100, Andre Magri wrote:
> Hi,
> I have been trying to setup LVS DR on 1 virtual ip ( which in
> turn should load balance http & https requests.

[ config details snipped ]

> What's happening is that no matter from which source ip I make a request to
> is always forwarding request to one server If I
> delete from the real servers list all subsequent connections are
> successfully made to
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> FWM 80 rr persistent 300 mask
> -> Route 20 5 0
> -> Route 20 0 0
> The only problem that I see is when I issue ipvsadm -L -c:
> IPVS connection entries
> pro expire state       source             virtual            destination
> IP  00:40 * ERR! *
> The ERR! entry I do not understand because I do not see virtual
> a valid virtual address.

That does seem odd.

For starters, ipvsadm -L indicates that there are 5 active connections,
they should show up in the output of ipvsadm -L -c.

> Loopback adapters on the real servers (IIS) are set with the VIP
> ip.

Could you try

a) turning off persistence and;
b) using persistence with a mask of (the default)

and see what happens. I suspect that persistence is why your
requests always end up on the same real-server.

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

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