Forum Discussion
Elliot_Schlegel
Nimbostratus
Feb 19, 2015Best practice for unavailable pool
I've been reading about sorry iRules for outage/maintenance pages by either delivering content or redirecting to an outage page [or switch to an outage pool]. This works, of course, but does seem it ...
giltjr
Nimbostratus
Feb 19, 2015Why do you think it requires one iRule per pool? This does assume that the correct pool has been assigned by this point in time. You could also do a check of the nubmer of active members in the LB_SELECTED event.
when HTTP_REQUEST {
if {[active_members [LB::server pool]] == 0} {
set MaintenceMessage "We are out for maintenace
HTTP::respond 200 content $MaintenaceMessage ; return
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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