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: "Kit Gerrits" <kitgerrits@xxxxxxxxx>
Date: Fri, 19 Dec 2008 11:40:44 +0100
Worked like a charm!

Oddly enough, I don't see the setting in
http://www.linux-vs.org/docs/sysctl.html
Was I looking in the right place?

Regards,

Kit



On Thu, Dec 18, 2008 at 5:16 PM, Graeme Fowler <graeme@xxxxxxxxxxx> wrote:

> 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
>
_______________________________________________
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>