Forum Discussion
Craig_Jackson_2
Nimbostratus
Mar 11, 2013Limitation on LB::reselect?
I've coded an iRule that's supposed to search for a server that's not on an "avoid" list. I've tried to do this by doing LB::reselect repeatedly until I reach one that's not on the list. However, it'...
Craig_Jackson_2
Nimbostratus
Mar 11, 2013I actually do get one more LB_SELECTED event. But not two.
This is the log output:
Mar 10 23:30:54 tmm1 info tmm1[9793]: Rule /Common/Cache_service_server-v1 : Server 172.29.39.22:80 Tries 1 Avoid_list "172.29.39.22:80 172.29.39.22:81" Active {172.29.39.22 80} {172.29.39.22 81} {172.29.39.22 82} {172.29.39.22 83}
Mar 10 23:30:54 tmm1 info tmm1[9793]: Rule /Common/Cache_service_server-v1 : On avoid list (try 1), retrying
Mar 10 23:30:54 tmm1 info tmm1[9793]: Rule /Common/Cache_service_server-v1 : Server 172.29.39.22:81 Tries 2 Avoid_list "172.29.39.22:80 172.29.39.22:81" Active {172.29.39.22 80} {172.29.39.22 81} {172.29.39.22 82} {172.29.39.22 83}
Mar 10 23:30:54 tmm1 info tmm1[9793]: Rule /Common/Cache_service_server-v1 : On avoid list (try 2), retrying
Mar 10 23:30:54 tmm1 info tmm1[9793]: Rule /Common/Cache_service_server-v1 : Final result: 172.29.39.22:81, tries 2
The last message came from my HTTP_RESPONSE event giving the result of the selection.
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
