Forum Discussion
hlayson
Nimbostratus
Sep 26, 2023Route 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
Employee
Sep 26, 2023You can do this via an iRule on a random basis.
when CLIENT_ACCEPTED {
if { [expr { rand() * 100 }] > 95 } {
pool <other pool>
}
}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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