Forum Discussion
multi pool irule
Hi guys I have an issue with a irule that is forwarding to 2 pools. (from a single Virtual server)
the CXF http farm is the "default" farm in the virtual server and works fine, the second farm ADMIN is producing a 404 .. its supposed to match the "/admin" and forward to the pool using that URI.
when HTTP_REQUEST { if {[HTTP::uri] contains "/admin"} { pool ADMIN-http-farm } else { pool CXF-http-farm } }
I am thinking that this might not even be possible as how would the LTM know what to do to send traffic to the second pool ??
Anyone have any ideas ?
thanks
Adrian
2 Replies
- Michael_Jenkins
Cirrostratus
You could also add some logging to see if you can verify things are going where they are supposed to... Also, if you're getting a 404 and the logs (in /var/log/ltm) say it's changing to the admin pool, then it would seem like your URI is bad.
when HTTP_REQUEST { if {[HTTP::uri] contains "/admin"} { log local0. "Changing to ADMIN pool: [HTTP::uri]" pool ADMIN-http-farm } else { log local0. "Default pool: [HTTP::uri]" pool CXF-http-farm } } Actually i cannot hit the server on the port and the URI /admin directly.. I think the site is actully not working ;-]
ill be back
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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