Forum Discussion
Angelo
Nimbostratus
Feb 11, 2013error on I-rule
Hi
I got this irule but i keep getting a error when i try to create it, this is on V11.1
when HTTP_REQUEST {
if {[active_members [LB::server pool_OMS_test]] < 1} {
...
What_Lies_Bene1
Cirrostratus
Feb 12, 2013I saw a good point elsewhere that it's better to have no default Pool on the VS because if the default Pool fails and the VS goes down, the iRule won't trigger and the second Pool won't be used. With no default Pool the rule would look like this;
when HTTP_REQUEST {
If the preferred Pool DOES have Members
if {[active_members [LB::server primary_pool_name]] > 0} {
Use the preferred Pool
pool primary_pool_name
Stop processing the iRule for this event here
return
}
else {
Otherwise, use the secondary, back-up Pool
pool secondary_pool_name
}
}
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