Forum Discussion
hooleylist
Dec 27, 2010Cirrostratus
If you're switching pools or pool members based on URI, make sure to add a OneConnect profile to the virtual server. If you're using SNAT set the OneConnect source mask to 0.0.0.0. If you're not using SNAT, set the source mask to 255.255.255.255. For more info check this wiki page:
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/oneconnect.html
You could also adapt Bhattman's example to cover the edge cases more clearly:
when HTTP_REQUEST {
if { [active_members pool1] == 0 && [HTTP::uri] starts_with "/login-test"} {
pool sorry_page_pool
} else {
pool Pool1
}
}
Aaron