Forum Discussion
KJ_50941
Nimbostratus
Mar 26, 2013irule pool member selection
how can I do this? currently I have a POOL with two member let's say host_1 and host_2. there is a F5 request to round robin between both hosts 1_2 if we see"/test if anything else redirect only to ...
Kevin_Stewart
Employee
Mar 26, 2013You can still use the same pool, but specify which member to go to:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/test" } {
pool test_8000_Pool
} else {
pool test_8000_Pool member 10.1.2.200 80
}
}
See: https://devcentral.f5.com/wiki/iRules.pool.ashx
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