slackwaresuppor
Feb 18, 2009Nimbostratus
temporary down page
is there anyway we can set a "default down" page in the f5 and apply it to a pool when we want to work on the machines etc??? like pool_db1 is down, so this page will be displayed..
There are a few options for gracefully handling load balancing failures:
- You can configure a fallback host on the HTTP profile. LTM will send a 302 redirect to the client when a single request fails or when the pool is down. See SOL6510 (Click here) for details.
- You can configure additional servers at a lower priority to serve 'sorry page' content when the primary pool members are down. Try searching for 'priority group activation' on AskF5.com for details.
- You can use an iRule to send a redirect or HTML when the pool is down. Search the iRule Codeshare (Click here) for "maintenance" to see a few different examples.
Aaron
when HTTP_REQUEST {
Send 200 response with some HTML and headers to prevent caching
HTTP::respond 200 content {
Site maintenance
Site down for maintenance
}
Cache-Control: no-cache
Pragma: no-cache
Connection: close
}
Aaron
http://devcentral.f5.com/wiki/default.aspx/iRules/LTMMaintenancePageGenerator.html Click here