Forum Discussion
Richard_77286
Nimbostratus
Nov 18, 2013iRule to rebind session(s) from failed member server to another server in a pool based on http error code(s)
Has anyone created an iRule for this?
We have 2 servers in a pool using round robin. If a service on that server fails or returns an error code, we want the session(s) on that server to rebin...
Richard_77286
Nimbostratus
Nov 20, 2013Kevin, I edited the HTTP_RESPONSE below and did not get an error when I applied it. Will the rule work if the status starts with either "5" or "4"? Or will I have to create two separate iRule for each status? Please advise. Thanks!
when HTTP_RESPONSE { 28 Check for server errors 29 if { [HTTP::status] starts_with "5" or "4" } {
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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