Forum Discussion
Chris_Olson
Nimbostratus
Apr 07, 2009Is there a pool limit using irules to redirect?
We have one virtual server and rather than adding new virtuals for each pool, we are using an irule redirect for new versions/types of servers within their own pools. I just got another request to add 4 more to a virtual server that already has 16 pools. Is there a performance decrease or limit to the number of pools you can add to a virtual server using irules? Is there a better way to handle this? It's working fine now but I'm getting concerned.
Thanks,
CO
when HTTP_REQUEST {
if {[HTTP::uri] ends_with ".asmx?WSDL"}{
set rewrite 1
if { [HTTP::version] eq "1.1" } {
HTTP::version "1.0"
}
} else {
set rewrite 0
}
switch [getfield [string tolower [HTTP::uri]] "/" 2] {
teste21test {pool test.test_EE_20 }
teste21 { pool www.testenterprise.com_e20 }
teste30 { pool www.testenterprise.com_e30 }
teste30test {pool www.testenterprise.com_e30test }
teste3sales { pool www.testenterprise.com_salese3 }
testq4pmgint { pool www.testenterprise.com_Q4PMG }
se08q4 { pool www.testenterprise.com_08q4 }
se08q4uat { pool www.testenterprise.com_08q4uat }
se08q4sales { pool www.testenterprise.com_08q4sales }
se08q4csgtest { pool www.testenterprise.com_08q4csgtest }
teste35test { pool www.testenterprise.com_35test }
teste35csg { pool www.testenterprise.com_35CSG }
teste35 { pool www.testenterprise.com_35 }
teste30csg { pool www.testenterprise.com_e30csg }
businessobjects { pool www.testenterprise.com_35CSG }
teste21sales { pool www.testenterprise.com_e2sales }
- The_Bhattman
Nimbostratus
I have a similar setup where I have one virtual with close to 300 pools (each pool has a different server) and it's working just fine. That is it it's simply doing redirects to the correct pool. The only time you have to be concerned about CPU is if you are doing some encryption/decryption or regex type function in the irule. - Chris_Olson
Nimbostratus
Thanks for the info! I"ll rest easier now!
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