Forum Discussion
Dec 15, 2008
Can I use iControl to force disconnect of all tcp sessions on a pool member?
We are planning some simple HA for two databases, Node A and Node B (active/standby). When we take one DB node offline we'd like to be able to forcibly reset any active tcp connections that are conne...
John_Gruber_432
Dec 26, 2008Historic F5 Account
I just tested a solutions... You can indeed:
1) Check to see what the current action on service down for a given pool is set to
2) Set it to 'SERVICE_DOWN_ACTION_RESET'
3) Set the pool member state to 'STATE_DISABLED'
4) Set it's instance monitor to 'STATE_DISABLED'
5) Pause a few seconds.... (allowing for the reset reaping to run through it paces before you call it off!)
6) Reset the pool to its original action on service down value
via iControl, and you will reset the client side connections. I had 4 long lived TCP socket services working through a virtual and they all got TCP RSTs when the steps above were applied.
Again, if the pool action on service down is simply the default (None) setting the status of the member and the monitor will not cause established connections to reset.
Thanks,
John
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
