Forum Discussion
Paul_73795
Jan 06, 2011Nimbostratus
HTTP forward to Pool not working as expected
Hi, I am attempting to set up an iRule that forwards requests to our pool of sorry servers when there are no active members in the load balanced server pool.
As you can see by the logs if no...
Paul_73795
Jan 06, 2011Nimbostratus
Hi Chris
thanks for your reply and yes that is making more sense to me now. I have edited the iRule to set the default pool when the client accept event is triggered.
In answer to your question OneConnect is not turned on but we use a Cookie Hash Default Persistence and a source_addr Fallback Persistence Profile.
I guess that explains what I am seeing below. I ran three tests in succession to test the failover and fail back between the pools.
The first two tests operate as expected however the third test established a connection to the sorry server and maintains that connection even though the iRule is directing it to the default pool. You can see that there is no event for the third test.
Is persistence the cause of this? Is there someway to alter the behavior of the connections when they are being diverted to the sorry server pool?
Thanks
Paul
1. Active members in pool
Jan 7 10:16:15 local/tmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:63208: setting default pool Pool: pool_http_bbdev 0
Jan 7 10:16:15 local/tmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:63208: using default Pool: pool_http_bbdev 0
Jan 7 10:16:15 local/tmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:63208: server: pool_http_bbdev
2. No active members in pool
Jan 7 10:17:17 local/tmm3 info tmm3[21819]: Rule irule_forward_outage_pool : 10.10.27.10:63279: setting default pool Pool: pool_http_bbdev 0
Jan 7 10:17:17 local/tmm3 info tmm3[21819]: Rule irule_forward_outage_pool : 10.10.27.10:63279: using sorry server Pool: pool_http_sorry_server
Jan 7 10:17:17 local/tmm3 info tmm3[21819]: Rule irule_forward_outage_pool : 10.10.27.10:63279: server: pool_http_sorry_server
Jan 7 10:17:17 local/tmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:63280: setting default pool Pool: pool_http_bbdev 0
Jan 7 10:17:17 local/tmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:63280: using sorry server Pool: pool_http_sorry_server
Jan 7 10:17:17 local/tmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:63280: server: pool_http_sorry_server
3. Active members in pool
Jan 7 10:18:11 local/tmm2 info tmm2[21816]: Rule irule_forward_outage_pool : 10.10.27.10:63362: setting default pool Pool: pool_http_bbdev 0
Jan 7 10:18:11 local/tmm2 info tmm2[21816]: Rule irule_forward_outage_pool : 10.10.27.10:63362: using default Pool: pool_http_bbdev 0
Jan 7 10:18:11 local/tmm2 info tmm2[21816]: Rule irule_forward_outage_pool : 10.10.27.10:63362: using default Pool: pool_http_bbdev 0
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