Forum Discussion
Daniel_Vu_10371
Nimbostratus
Mar 16, 2007How do I test to see which node from the pool
We have setup a testpool with 2 nodes
node-1 ip address is 172.16.1.12
node-2 ip address is 172.16.1.14
node-3 ip address is 172.16.1.16
We also setup a virtual server (ip = ...
JRahm
Admin
Apr 13, 2007
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/node-1" } {
use pool member 172.16.1.12
} elseif { [string tolower [HTTP::uri]] starts_with "/node-2" } {
use pool member 172.16.1.14
} elseif { [string tolower [HTTP::uri]] starts_with "/node-3" } {
use pool member 172.16.1.16
}
}
So if your request began http://172.16.1.5/node-1/, you would select 172.16.1.12...
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