LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Persistence with expire_nodest_conn not working as adver

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Persistence with expire_nodest_conn not working as advertised
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Thu, 18 Dec 2008 16:16:57 +0000
On Thu, 2008-12-18 at 17:06 +0100, Kit Gerrits wrote:
> [@lvs-test1 ~]$ sudo /sbin/ipvsadm
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  trac-test-pub.rdc.local:http wlc persistent 300
>   -> trac-test2.rdc.local:http    Masq    0      0          1
>   -> trac-test1.rdc.local:http    Masq    500    0          0

<snip>

> Am I forgetting something?

Yep. That's a quiescent server, not a "nodest_conn" - the latter meaning
a connection destined for a server no longer in the pool.

You need to set the "expire_quiescent_template" sysctl to 1 instead.

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>