Forum Discussion
Anna_Novikova_1
Oct 19, 2015Nimbostratus
Configuring Virtual Service to retry requests on timeout
Hi all,
I want to configure the following behaviour: if one server has not answered on http request in e.g. 1 second, the request will be resent to another server. Is it possible?
Jinshu
Oct 19, 2015Cirrus
You can use the irule for doing this.
Sample irule is below.
when LB_FAILED {
if { [active_members [LB::server pool]] > 0 } {
catch { LB::down }
LB::mode rr
LB::reselect
}
}
This iRule allows a client-side connection to remain open after a pool member has become unresponsive.
-Jinshu
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