Forum Discussion
yammy1688_99834
Nimbostratus
Dec 22, 2011limit # of pool members that will be taken out of service
Is there an elegant way to set the minimum of servers that MUST remain available in a given pool, regardless of what the monitors return?
I've set up an irule to forward traffic to an 'always-on' pool in the event of all pool members becoming unavailable, but it requires that all pool members being taken offline first.
Thanks,
-Ken
3 Replies
Sort By
- hoolio
Cirrostratus
Hi Ken, - hoolio
Cirrostratus
Here's an untested example of the members ratio logic I was thinking of:when CLIENT_ACCEPTED { Check if there are less than half of the default pool members up if {[expr {double ([active_members [LB::server pool]]) / [members [LB::server pool]] < .50}]}{ pool second_pool } }
- yammy1688_99834
Nimbostratus
Thank you hoolio. That is very helpful!
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