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 'al...
hoolio
Cirrostratus
Dec 22, 2011Here'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
}
}
Aaron