Forum Discussion
Kent_Gott_50332
Nimbostratus
May 03, 2012Clearing Persistent Connections
What iControl method should I call to clear persistent connections on a Node?
I tried calling iControl.LocalLB.Pool.delete_persistence_record() but that deletes all connections under a Pool and I only want to delete connections for specific Nodes under a Pool.
3 Replies
- hoolio
Cirrostratus
Hi Kent,
Here are a couple of related posts:
https://devcentral.f5.com/Forums/tabid/53/aft/58542/Default.aspx58544
https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/51/aft/63136/showtab/groupforums/Default.aspx
Aaron - Kent_Gott_50332
Nimbostratus
I tried the instructions from those links but it still didn't clear our current connections on the Node. I have two servers (Nodes) under a Pool and I'm pulling one server (Node) out o service but I still see connections on the Overview->Statistics->Local Traffic->Persistent Records page. This seems like it should be very easy to just clear connections for a specific Node.
Does anyone else have any ideas on how to clear connections for a specific Node? - Hitesh_Patel_34Historic F5 AccountHi Kent,
I'm not sure if you can do this directly with iControl. The available methods do not allow you to delete by specifying the pool member/node address. You could remove the member from the pool and re-add it after a couple of seconds.
Also, you should be able to clear the entries through SSH by using the following TMSH command:
tmsh delete ltm persistence persist-record node-addr x.x.x.x
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects