Wil_Schultz_101
Mar 19, 2007Nimbostratus
Maintenance 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 far as I can tell so I am hoping that someone can tell me the best way to implement this...
I'm using irules that look similar to the following:
switch -glob [string tolower [HTTP::uri]] {
"/uri1/*" -
"/uri2/*" -
"/uri3/*" {
pool poola
}
"/uri4/*" -
"/uri5/*" -
"/uri6/*" {
pool poolb
}
"/uri7/*" -
"/uri8/*" -
"/uri9/*" {
pool poolc
}
default {
pool defaultpool
}
}
So, if pool a were down I'd like the request to go to "http://maintenance.my.com" but the other pools to serve normally. I've found this in another post but wondering if this is the best way:
when LB_FAILED {
switch [LB::server pool] {
poola -
poolb -
poolc {
HTTP::redirect http://maintenance.my.com
}
}
}