Forum Discussion
Kiran_Kumar
Nimbostratus
Oct 12, 2022iRule: 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
MVP
Oct 12, 2022Have 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
}
}
"
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
