Forum Discussion
Paul_73795
Jan 06, 2011Nimbostratus
HTTP forward to Pool not working as expected
Hi, I am attempting to set up an iRule that forwards requests to our pool of sorry servers when there are no active members in the load balanced server pool.
As you can see by the logs if no...
Chris_Miller
Jan 11, 2011Altostratus
Let's add some logging to troubleshoot.
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
if { [active_members $default_pool] < 1 } {
pool pool_http_sorry_server
persist none
log local0. "Used sorry pool because there were [active_members $default_pool] members in $default_pool"
} else {
pool $default_pool
log local0. "Used default pool because there were [active_members $default_pool] members in $default_pool"
}
}
This will log to /var/log/ltm and the "Local Traffic" logs section of the GUI.
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