Forum Discussion
Wil_Schultz_101
Nimbostratus
Mar 19, 2007Maintenance page?
So in the v4 version of the BigIP you used to be able to create virt, rule, pool and also a maintenance page if the given pool in the rule was down. This doesn't seem to be an option on the v9.2.4 so ...
Colin_Walker_12
Mar 30, 2007Historic F5 Account
If what you're looking to do is to test a pool's status before sending traffic there, you can do so by adding a little logic like this:
switch -glob [string tolower [HTTP::uri]] {
"/uri1/*" -
"/uri2/*" -
"/uri3/*" {
if {[active_members poola] > 0} {
pool poola
} else {
pool fallback_poola
}
}
"/uri4/*" -
"/uri5/*" -
"/uri6/*" {
if {[active_members poolb] > 0} {
pool poolb
} else {
pool fallback_poolb
}
}
"/uri7/*" -
"/uri8/*" -
"/uri9/*" {
if {[active_members poolc] > 0} {
pool poolc
} else {
pool fallback_poolc
}
}
default {
pool defaultpool
}
}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
