LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Why doesn't -d clear the persistent routing/timeout info?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Why doesn't -d clear the persistent routing/timeout info?
From: Mark Swanson <mark@xxxxxxxxxxxxxxxxx>
Date: Thu, 09 Nov 2006 16:50:35 -0500
Hello,

I have a question regarding persistent connections.
When I take a machine offline via:
/sbin/ipvsadm -d -t machineA:http -r machineB:http

Everything works mostly fine. If I click 'reload' on a browser window that had previously connected to machineB it hangs, but clicking 'reload' again connects to a different machine in the cluster and all is well.

However, after I'm done doing maintenance on machineB and I bring it back online via:
/sbin/ipvsadm -a -t machineA:http -r machineB:http -m -w 1

Then the machine instantly has 65 ActiveConn, 138 InActConn. It's as if the persistent connection information wasn't removed when I did ipvsadm -d previously.

If I wanted the persistent connection information to be cleared for a particular machine that I've deleted, is there a way to do that?

Thank you.

--
http://www.ScheduleWorld.com/
Free Google Calendar synchronization with Outlook, Evolution,
cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird,
Pocket PC/Windows Mobile. Also sync tasks, notes and contacts!
WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support.

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