Forum Discussion

thunderbird_920's avatar
thunderbird_920
Icon for Nimbostratus rankNimbostratus
Nov 28, 2011

Force the open/existing connection of pool members to be closed

Hi,

 

 

 

I would like to force the open/existing current connection of pool members (sharepoint server) become 0 (under local traffic-> Pools). The connections that still alive will take a while to be closed or timed out. Is there a way to kill/close the existing connection to the pool members?

 

 

 

Regards,

 

Thunderbird

5 Replies

  • Hi,

     

     

    Do you want to close the connections to a members marqued down by a monitor ?

     

     

    In that case you may choose a value for "Action on Service Down" on the pool definition different from the default value None , Reselect is the one i use.

     

     

    Regards,

     

     

    Fred

     

  • Or if you want to clear all existing connections to a pool member without a monitor action, you can use:

     

     

    b conn ss server 1.1.1.10:80 delete

     

     

    or:

     

     

    tmsh delete /sys connection ss-server-addr 1.1.1.10 ss-server-port 80

     

     

    Aaron
  • Hi,

     

     

    Thank you for your help. Need some clarification here.

     

     

     

    b conn ss server 1.1.1.10:80 delete

     

     

     

    For 1.1.1.10, is it the IP address for pool members and 80 is the service port?

     

     

     

  • Helen_Johnson_1's avatar
    Helen_Johnson_1
    Historic F5 Account
    Hi thunderbird,

     

     

    This is correct. In the command that Hoolio gives you above, "b conn ss server 1.1.1.10:80 delete" 1.1.1.10 represents the pool member, and 80 does indeed represent the service port. If you had connections on port 8080 that you wanted to delete, you'd just sub the port assignment, so it would look like this:

     

     

    b conn ss server 1.1.1.10:8080 delete

     

     

    Please let us know if you have further questions.

     

     

    Cheers,

     

    Helen
  • Is it possible to clear one connections to the pool instead of clear all connections?