Forum Discussion
yammy1688_99834
Dec 22, 2011Nimbostratus
limit # 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
- hooleylistCirrostratusHi Ken,
- hooleylistCirrostratusHere'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_99834NimbostratusThank 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