Forum Discussion
Disable all nodes in pool if one node health check failed
I have a pool of 20 search engines in federated mode. If one node (or more) is down, the search query against this pool will not return a full search results, which is bad for customer.
Currently in this scenario I manually disable all nodes and then a GTM will automatically divert traffic to another in different DC while bring all nodes healthy before enabling all nodes again.
I would like automate the disabling/enabling of all nodes in such scenario. Can this be done?
- briceNimbostratus
I would look at writing an irule for the wideip on the gtm that uses nodes_up to determine if < 20 pool members are up. I've never used this, and the documentation seems a bit light on the subject, but something like this ~might~ work...
when LB_SELECTED { if { nodes_up [LB::server addr] < 20 } { LB::reselect } }
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