Forum Discussion
hlayson
Sep 26, 2023Nimbostratus
Route 95% of traffic to 1 pool and 5% of traffic to another pool.
I'm looking at the best way to route 95% of our traffic to one pool and the remaining 5% to a different pool. Has anyone successfully done this before?
PeteWhite
Sep 26, 2023Employee
You can do this via an iRule on a random basis.
when CLIENT_ACCEPTED {
if { [expr { rand() * 100 }] > 95 } {
pool <other 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