Forum Discussion

Kent_Gott_50332's avatar
Kent_Gott_50332
Icon for Nimbostratus rankNimbostratus
May 03, 2012

Clearing 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

  • 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
  • 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_34's avatar
    Hitesh_Patel_34
    Historic F5 Account
    Hi 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