Chris_Cohee_101
Dec 12, 2006Nimbostratus
LB::reselect Issues
I have the following iRule:
when HTTP_REQUEST {
set respond 0;
HTTP::header insert WL-Proxy-Client-IP [IP::client_addr]
if { [HTTP::uri] starts_with "/channels/"}{
set backup_pool pool_Channels
pool pool_Channels;
}
elseif { [HTTP::uri] starts_with "/autoItemCreate/"}{
set backup_pool pool_NSOProxyServlet
pool pool_NSOProxyServlet
} else {
set uri_default [HTTP::uri]
log local0. "Hit the default rules and the URL is $uri_default";
set uri_new "/portal$uri_default"
log local0. "Hit the default rules and the NEW URL is $uri_new";
HTTP::uri $uri_new;
set backup_pool pool_ProxyToPortal
use pool pool_ProxyToPortal
}
}
when LB_FAILED {
log local0. "Hit the Load Balance Failed rule. The backup pool is $backup_pool";
LB::reselect $backup_pool
}
We are trying to get the pool re-selection to work, but still seeing failures. Any suggestions? Is this possible?
Thank you,
- Chris