Forum Discussion
Bill_Brazill
Employee
Aug 05, 2014appended url redirect to new pool
I am trying to help our web developers test individual servers in the pool, but still go through the LTM. My idea is to have them append the original url. First I will create a new pool with the sa...
Kevin_Davies_40
Nacreous
Aug 06, 2014You might find it easier to do this... create a new pool for each server called test1, test2 or test3 with just the single server in it.
when HTTP_REQUEST {
if {[HTTP::uri] contains testserver} {
pool test[URI::query [HTTP::uri] testserver]
}
}
Then you can specify individual server with http://my.site.com/?testserver=1
Alternatively you can do it without extra pools if you know the IP addresses.
Say your servers are
10.10.10.55 port 8080 10.10.10.56 port 8080 10.10.10.57 port 8080when HTTP_REQUEST {
if {[HTTP::uri] contains testserver} {
pool poolname member 10.10.10.[URI::query [HTTP::uri] testserver]
}
}
Then you can specify individual server with http://my.site.com/?testserver=55
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