Forum Discussion
Kiran_Kumar
Oct 12, 2022Nimbostratus
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 ...
Nikoolayy1
Oct 12, 2022MVP
Have you tested "active_members" irule command as you can attach it under the Wide_IP ? For % you will have to do some expression and this may cause CPU or slowness andI do not think it is a good way to go.
when DNS_REQUEST {
if { [active_members http_pool] >= 2 } {
pool http_pool
}
}
"
- Kiran_KumarOct 12, 2022Nimbostratus
Unfortunately this has to be done at LTM level in our scenario. No GTM play. Thank you very much for your response.
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