Forum Discussion
Jagadeesh
Altostratus
Sep 27, 2023what is the Pool limit to do URI redirection using irule
I have a VCMP guest LTM virtual box with 1 Core running on BIG-IP 15.1.9.1 Build 0.0.5 Point Release 1 I have a requirement , With Single VIP listening on Port 443 and selecting the pool using iRule...
Daniel_Wolf
MVP
Sep 28, 2023For the sake of completeness, I wrote a shorter iRule. I find using SET rather unSETteling. 🙂
when RULE_INIT priority 500 {
# enable (1) / disable (0) logging
set static::contentswitching_debug 0
}
when HTTP_REQUEST priority 500 {
if {[catch {pool [class match -value [string tolower [HTTP::path]] starts_with dg_l7_routing]}]} {
# default pool
pool pl_default_pool
}
if { $static::contentswitching_debug } { log local0. "Using pool: [LB::server pool]" }
}Jagadeesh
Altostratus
Sep 28, 2023Thanks Daniel , I will try it out and keep you posted.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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