Forum Discussion
EIT_Network
Altostratus
7 years agosingle iRule for multiple pool members for directing traffic
Hi All,
we have found pool members (10.10.10.1 , 10.10.10.2 , 10.10.10.3 , 10.10.10.4) under and virtual server. We received a requirement to direct traffic of a application sublink (for eg /ab...
mf5
Nimbostratus
7 years agoyou can create two different pools and add the nodes to it based on the traffic and use this irule to redirect traffic according to the URL
when HTTP_REQUEST {
if { [HTTP::path] ends_with "/abcd" }{
pool abcd_pool
} else}{
pool abc_pool
}
}
You can even send it to a particular node as well, please check this link for more details https://devcentral.f5.com/articles/irules-101-05-selecting-pools-pool-members-and-nodes
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