Forum Discussion
Which will take More Precedence ?
Hi,
I have VIP with Irule and pool configuration. which will take precedence.
I have three pool. Pool1 , Pool2 , pool3 . with different Member in every pool.
Pool1 is attached to VIP with "Defaul pool" config .
when HTTP_REQUEST {
if { [HTTP::host] equals "test.com"}
{
pool pool2
}
else
{
pool pool3
}
}
In above if browse "http://test.com". on which pool traffic will send by BIG IP
Thanks In Advance.
A.N
3 Replies
- What_Lies_Bene1
Cirrostratus
With the rule above, all requests for test.com will be sent to pool2, requests for any other domain will go to pool3. Pool1 won't be used at all. - A__N_5261
Nimbostratus
Hi Steve,
Thanks for Reply.
means As my understand for HTTP request. Irule wil take precedence. Right ?
Thanks & Regards
A.N
- What_Lies_Bene1
Cirrostratus
An iRule will take precedence if (like yours) all possible traffic is matched by it. If you didn't have the 'else' statement, the Default Pool configured with the Virtual Server would be used and the iRule would only take precedence if the requested host was test.com.
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