On Wed, Mar 19, 2003 at 12:41:22PM -0800, Chris Croswhite wrote:
> Hey,
>
> New to LVS, so forgive my ignorance. I have a problem with persistant
> connections, it seems that once a connection has timed-out (-p secs) that
> two things happen; 1: the connection is closed even if there is an active
> connection and 2: no new connections from that host can be made. This
> presents a problem for both secure mail and ssh sessions (which can last
> from 1 hour to 48 hours). I am curious, can I setup persistant connections
> such that they do not close a user's session and that once the time has
> expired, that reconnecting will re-initiate and allow a connection again?
>
> Here are simple ipvs rules that I have tested with:
> ipvsadm -A -t 192.168.1.21:ssh -s rr -p 120
> ipvsadm -a -t 192.168.1.21:ssh -r 10.2.1.10:ssh -m
> ipvsadm -a -t 192.168.1.21:ssh -r 10.2.1.15:ssh -m
That definately should not be occuring. I have done
some quick tests and can't seem to reproduce your problem.
Perhaps monitoring the output of ipvsadm -Lcn will
give you some insights into what is happening.
--
Horms
|