Forum Discussion
jasona_40790
Aug 23, 2012Nimbostratus
iRule that redirects to Sorry Pool when pool is down
When all of the webservers in a pool are down, I want my users to be directed to the "SorryPage" server pool that will display a maintenance/down page. I've been reading through the forums and I thi...
jasona_40790
Aug 29, 2012Nimbostratus
So, my iRule is as follows:
when HTTP_REQUEST {
if {[active_members [LB::server pool]] < 1} {
HTTP::uri /
pool sorrypool
}
}
This works fine and when all pool members are down or unavailable, requests are sent to the 'sorrypool'. however, once the pool member(s) are available again, all requests are NOT being sent to the main pool again. I'm pretty sure this is due to persistence being set on the main Virtual IP, but we need it on that Virtual IP. This is obviously not acceptable for my site. How do I force requests back to the original pool once the pool members are available again; basically having requests follow the iRule.
Thanks.
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