iRule: Pool selection based on percentage active members available
Anyone has an idea for below requirement.
vip with 2 pools. Need to select primary pool if active members is greater than 10% of total pool members
Else, select secondary pool.
if both pools have less than 10% active members, then default to primary pool
I know how to do it with number of active members available, but want to know if we have a way to select based on percentage of active members in a pool since pool member count is dynamic in our situation.
Thank you for your help.