Forum Discussion
what is the Pool limit to do URI redirection using irule
Hi Jagadeesh,
I recommend that you monitor when using single virtual with 200 Pools but i have solution to optimize performance by using local traffic policy instead irules,
Overview of the Local Traffic Policies feature (12.1.0 and later) (f5.com)
Hi ,
May i know if i can create a VIP with out default pool and do redirection based on uri to specific pool using LTM Policies and datagroups ? and May i know what happens when the condition fails ? Is there a a way we can return a generic error or response if the condition fails?
Thanks and Regards ,
Jagadeesh
- PauliusOct 05, 2023MVP
Jagadeesh You absolutely can and it would be the following.
when HTTP_REQUEST priority 500 { set URI [string tolower [HTTP::uri]] if { [class match -- ${URI} eq CLASS-URI-TO-POOL] } { set TEMP_POOL [class match -- -value $URI eq CLASS-URI-TO-POOL] pool ${TEMP_URI} } else { HTTP::respond 400 content "Bad Request page" "Content-Type" "text/html" return } }
- JagadeeshOct 05, 2023Altostratus
So May i know if have to use both irule and Policies in this case ?
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