LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: maintain persistant timeouts in connection table

To: Joseph Mack <mack.joseph@xxxxxxx>
Subject: Re: maintain persistant timeouts in connection table
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, <MKrauss@xxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 11 Sep 2002 00:30:21 +0000 (GMT)
        Hello,

On Tue, 10 Sep 2002, Joseph Mack wrote:

> I then connected again (with telnet) and then ran ipvsadm -C.
> To my surprise, all the ipvsadm entries disappeared, and my
> telnet session to the realserver was hung. I reran the ipvsadm
> setup commands and was presented with 1 ActiveConn and the original
> number of InactConns and my telnet session resumed.
>
> Julian - is this what's supposed to happen? I thought that `ipvsadm -C`
> wasn't supposed to clear out any current connections.

        May be the conns were just expired (in 1-2mins), you closed
them.

> If I changed the weight to 0 then I could still connect, presumably
> because the timeout period since the last connection hasn't expired.

        Yes, if persistence is used, we still can connect to stopped
RS if our conn template still exists.

> Joe

Regards

--
Julian Anastasov <ja@xxxxxx>



<Prev in Thread] Current Thread [Next in Thread>