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 11, 2011Nimbostratus
Ok, I have added some debug logging. Here is what is occurring.
At point 3 the HTML content from the outage page is being delivered to the client but the image in the page isn't.
The browser URI is:
http://defaultdomain.edu.au/webapps/login
This is the image path.
http://defaultdomain.edu.au/outage/index_files/logo_full.jpg
The way it is setup is that requests are being forwarded to an Apache web server and it will perform a rewrite on the URI based on the domain. We host a number of outage files for different domains on this server.
1. Active members in the default pool
Jan 11 17:15:08 local/tmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58421: setting default pool Pool: pool_http_bbdev 0
1. Active members in the default pool
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58421: setting default pool Pool: pool_http_bbdev 0
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : persist cookie profile enabled on virtual server
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : persist cookie profile name is: cookie_hash_blackboard
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Name of the cookie used for persistence is: session_id
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Cookie expiration is set for: 0
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58421: using default Pool: pool_http_bbdev 0
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Used default pool because there were 2 members in pool_http_bbdev
Jan 11 17:15:08 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58421: server: pool_http_bbdev 203.2.32.00 80, 203.2.32.00:80
2. No Active Members in default pool
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:58488: setting default pool Pool: pool_http_bbdev 0
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : persist cookie profile enabled on virtual server
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : persist cookie profile name is: cookie_hash_blackboard
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : Name of the cookie used for persistence is: session_id
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : Cookie expiration is set for: 0
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:58488: using sorry server Pool: pool_http_sorry_server
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : Used sorry pool because there were 0 members in pool_http_bbdev
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : 10.10.27.10:58488: server: pool_http_sorry_server 203.2.32.01 80, 203.2.32.01:80
Jan 11 17:17:43 localgtmm info tmm[21809]: Rule irule_forward_outage_pool : Server 203.2.32.01 has closed the connection
3. Cleared cache in browser. Active Members return to default pool
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58549: setting default pool Pool: pool_http_bbdev 0
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : persist cookie profile enabled on virtual server
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : persist cookie profile name is: cookie_hash_blackboard
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Name of the cookie used for persistence is: session_id
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Cookie expiration is set for: 0
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58549: using default Pool: pool_http_bbdev 0
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Used default pool because there were 2 members in pool_http_bbdev
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58549: using default Pool: pool_http_bbdev 0
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Used default pool because there were 2 members in pool_http_bbdev
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : 10.10.27.10:58549: server: pool_http_bbdev 203.2.32.00 80, 203.2.32.00:80
Jan 11 17:19:57 localgtmm1 info tmm1[21813]: Rule irule_forward_outage_pool : Server 203.2.32.00 has closed the connection
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