Matthias Krauss wrote:
>
> Hello,
> if a have eg RIP1 existing in my LVS connection table and if
> this host - lets say doesnt exist anymore - : how can i
> remove this host from the connection table, specialy if i've
> setup an extreme long persistant timeout configured ?
hmm I just setup a persistent telnet LVS-DR (ipvsadm v 1.20, ip_vs 0.9.4)
and then made a few connections (all of which went to the same
realserver, as you would expect) and then logged out of all connections.
I could then delete all entries with ipvsadm -C and then when
I re-ran the ipvsadm setup commands again, I saw the original
number of InActConns. This I expected.
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.
If I changed the weight to 0 then I could still connect, presumably
because the timeout period since the last connection hasn't expired.
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|