Forum Discussion
Born_7758
Jun 23, 2011Nimbostratus
Directing traffic to a specific pool member
Hello, I would like to forward traffic to a specific pool member depending on what the URL is. Currently I have an iRule that directs traffic to 1 of 5 pools depending on the URL. Instead ...
Michael_Yates
Jun 23, 2011Nimbostratus
If you want the traffic to go to a specific pool member then you can specify the node IP Address and access port.
The alternative would be to create additional pools so that you don't tie your traffic to a specific IP Address (you could then add and remove nodes from the pool without having to modify your iRule).
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/paymentResponse1.jsp" -
"/paymentResponse2.jsp" { node 10.10.10.10 80 }
"/paymentResponse3.jsp" -
"/paymentResponse4.jsp" { node 20.20.20.20 80 }
"/paymentResponse5.jsp" -
"/paymentResponse5.jsp" { pool paymentresponse_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