[lvs-users] udp sessions

Julian Anastasov ja at ssi.bg
Fri Jun 13 06:13:23 BST 2014


	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 at ssi.bg>



More information about the lvs-users mailing list