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
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.
Hi Steve,
Thanks for Reply.
means As my understand for HTTP request. Irule wil take precedence. Right ?
Thanks & Regards
A.N
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.