Forum Discussion
Disable a pool (not a pool member)
Is there a way to disable a pool (in turn disabling all the pool members insdie of it)? The scenario is we have a set of nodes that host several sites, each with different ports. We have several pools, inside of which are several pool members of the same servers, yet different ports. We cannot just disable the node(s), because that disables all connections to it for all pools. We have different sites with different maintenance windows, and I need to be able to disable certain pools at for certain periods of times, and not the entire node. I will need to do this so I can use a maintenance page on the F5.
My other thought is to disable at the vip level, but then my irule would never be hit.
Thanks.
3 Replies
- IheartF5_45022
Nacreous
You can't disable a pool (in turn disabling all pool members), but you can disable each pool member, in turn disabling the pool.
You could disable each member of a pool in turn in an iRule, but that would simply trigger the monitors, which would then mark each pool member UP again.
The best way to do what you need is to use the monitor results to enable/disable each pool member. If your http monitor "GET /admin/mode.txt" on port 8200 expects "normal" in the response, then update each "/admin/mode.txt" in the port 8200 container on each server to return "down" while you have you maintenance window, and then back to "normal" again when you have finished. This is easily automatable.
- nitass
Employee
My other thought is to disable at the vip level, but then my irule would never be hit.
what does the irule do? is it to send out maintenance page?
what about creating another new network/wildcard virtual server and using tm.continuematching db key?
so, when virtual server is disabled, traffic will hit the new virtual server and get maintenance page.
sol8009: Overview of the 'TM.ContinueMatching' db variable
- K-Dubb
Nimbostratus
Tm.ContinueMatching is perfect for this! Thanks!
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