Forum Discussion
Jereme_De_Leo_4
Nimbostratus
Oct 04, 2006Fallback iRule
Greetings;
I am wanting to use the fallback host feature of the Big-IP to redirect users to a static "sorry" page when all nodes are unavailable in a pool. According to SOL6510 (https://tec...
Jereme_De_Leo_4
Nimbostratus
Oct 10, 2006Colin,
Thanks for the reply. It does clear things up for me.
Regarding my first post in this thread, would the following be a valid iRule to send a client to one URL if a server dies in the middle of an active connection, and send clients to another URL if there are no active pool members to load balance to?
----
when LB_FAILED {
if { [active_members [LB::server pool]] != 0 } {
HTTP::fallback "http://www.fallback.com/sorry1.htm"
} else {
HTTP::fallback "http://www.fallback.com/sorry2.htm"
}
}
----
Thanks,
jddevcen
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