Forum Discussion
iRule to Enable/Disable pool member
Hey Shashank,
Well there is a feature already on this on the LTM monitor. So on any monitor,
recv - The text string that the monitor looks for to mark the pool member up. It contains a text string that is included in an HTML file on the backend servers.
recv-disable - Similar to recv, but when this string that's configured matches in response. The corresponding pool member or node is marked session disabled.
Often time, the server team will put "Server Up" as the string in their monitor page. But when the controlability is given to the server team to drain the traffic as a part of some maintenance activity. They can just modify the string to "Server Drain" in their monitor page. And the traffic will start bleeding.
recv --> "Server Up"recv-disable --> "Server Drain"
So when "Server Drain" is set, the pool member will behave as below,
Up (disabled) - The pool member or node allows existing connections until they are completed or timed out. However, the pool member or node is not available to receive new connections.
Finally when all times out, no connections will be present.
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