Forum Discussion
Jon_46029
May 16, 2012Nimbostratus
Redirecting a client when "connection refused" by pool
When all of the pool members are down for a Virtual Server (VS), we're seeing a connection refused error at the browser.
I'd like to catch that in the F5 LTM with an iRule and direct the bro...
Jon_46029
Jun 21, 2012Nimbostratus
The LB_FAILED event seems to be the best option, though I do not have a complete test environment... I don't think the HTTP::redirect flies cause there's no HTTP connection (yet) to redirect.
From the wiki: (though the sample code and the text following are in conflict regarding the sequence of the "LB::reselect" and "pool" statements.)
when LB_FAILED {
07 pool my_Pool
08 LB::reselect
09 log "Selected server [LB::server] did not respond. Re-selecting node from myPool"
10}
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