LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] lvs scheduling lb_algo

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] lvs scheduling lb_algo
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Tue, 3 Dec 2019 11:13:10 +0000
On 2 Dec 2019, at 21:29, Fernando Silva <fernando.silva@xxxxxxxxxxx> wrote:
> Am I missing something obvious?

Do you have ‘persistence_timeout’ set or not in your keepalived configuration?

If not, it defaults to 6 minutes - which means if you open a new connection 
within that time of any other traffic traversing the  director, you’ll get sent 
to the same realserver.

If you set it to something short(ish) you should get the behaviour you require. 
I think.

Graeme
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>