Forum Discussion
thunderbird_920
Nimbostratus
Nov 28, 2011Force the open/existing connection of pool members to be closed
Hi,
5 Replies
- FredR_30652
Nimbostratus
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 - hoolio
Cirrostratus
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 - thunderbird_920
Nimbostratus
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_1Historic F5 AccountHi 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 - Wallace1
Nimbostratus
Is it possible to clear one connections to the pool instead of clear all connections?
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
