Forum Discussion
Jeff_Green_4244
Aug 07, 2012Nimbostratus
newbie question re 'pool' command
I'm trying to use the following snippet in an irule
when HTTP_RESPONSE_DATA {
pool tp_web_svrs_80 member 10.10.10.39 80
HTTP::retry $original_request
}
but the request is being sent ...
Richard__Harlan
Aug 07, 2012Historic F5 Account
What I think is happening is the http::retry is causing a new LB choice to be made. The selection of the pool is happening before the HTTP::retry, so when it run it goes to the end of the iRule and then falls through to the default pool.
What you will have to do is set the pool in a variable the to the pool selection in LB::selected, and that should fix your problem like in the following example.
https://devcentral.f5.com/wiki/iRules.HTTP__retry.ashx
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