Forum Discussion
Simon_83666
Nimbostratus
Jan 12, 2009LB::reselect based on HTTP response code
Hi,
I've created the following irule in trying to direct the http traffic from one node to another if a 5xx http response is encountered, however, it seems the request wuold always go back t...
hoolio
Cirrostratus
Jan 12, 2009I think you can disable persistence in LB_SELECTED using 'persist none' to prevent the cookie persistence from forcing the request back to the original pool member. I'm not certain on this, but I think you would need to re-enable persistence using 'persist add cookie insert $cookie_name' once the request has been successfully handled. Perhaps you could do this in HTTP_RESPONSE if 'if { [matchclass $http_status equals $::ebus_dg_http_error_code] }' if false.
Aaron
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
