Forum Discussion
Can iControl REST delete a connection?
Sorry for digging this out, but I just stumbled upon it and want to make use of something very similar. We have a self service web tool allowing our customers to modify their farms (enable/disable servers etc). What we are currently missing is a possibility to "clear" connections to a single pool member after disabling that one. Even when setting the member to forced offline, active connections will still be maintained. In certain circumstances, customers nevertheless want to get rid of them, especially when they are quite long living connections. We also want to trigger this through the web portal using iControl REST. Since servers can be part of several pools with the same IP/Port combination, and also be part of the same pool with several different ports, I thought about using the following command:
delete sys connection cs-server-addr [virtual IP] cs-server-port [virtual port] ss-server-addr [pool member IP] ss-server-port [pool member port]
Can anybody advise if this is sufficient to any get of rid of all connections running to a single pool member of a single virtual (and more importantly ONLY those ones)?
Furthermore, we have all boxes running route domains, so I guess I will need to include the route-domain suffix in both IP addresses (virtual and pool member)?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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