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...
nathe
May 17, 2012Cirrocumulus
Jon
Is the different site you want to forward users to an external web address? If so would this work?
when CLIENT_ACCEPTED {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://www.test.com"
}
}
You could always use Priority Group Activation so you can add another pool member to the pool that just has an maintenance page on it and set this pool member to only be live if all the other pool members are down. In this case you could always use an old, low spec server as the fallback here.
Hope this helps,
N
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