LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] udp sessions

To: sangdrax8 <sangdrax8@xxxxxxxxx>
Subject: Re: [lvs-users] udp sessions
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 13 Jun 2014 08:13:23 +0300 (EEST)
        Hello,

On Thu, 12 Jun 2014, sangdrax8 wrote:

> Alright, I have a little better understanding of my problem.  It seems that
> with out turning on persistence, each connection from the same source IP
> and different source port gets sent to a different real server.  Until the
> UDP connection times out, this works perfectly for me.  Problem being that
> with out persistence, the session doesn't stay as long as traffic is seen.
>  Even if there is traffic, the session will time out and then the server
> could change.  As soon as I turn on persistence to keep the session alive
> with traffic, it starts grouping all ports from a single host together.
> 
> Is there any set of options which will reset the timeout for the UDP
> connection, while not grouping different source ports into a single session?

        Perhaps

ipvsadm --set 0 0 UDP_TIMEOUT_SECONDS

        to modify just the timeout used for UDP connections.

man ipvsadm

Regards

--
Julian Anastasov <ja@xxxxxx>

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