Forum Discussion
Mike_Easdon_615
Nimbostratus
Feb 02, 2009Advice on out of service pages
hello,
I have a conundrum with maintaining the out of service pages that serve our web sites when they are, well, out of service.
BigIP has the following configuration (b...
dennypayne
Employee
Feb 02, 2009A generic rule like this would work fine:
when HTTP_REQUEST {
HTTP::redirect "http://www.oursite.com"
}
but it would have to be manually added to the vip whenever you took the primary nodes out of service.
So, something a little more elegant might be to use a 2 statements like this (with an AND):
if { [LB::status pool member ] eq "down" }
where you hardcode the pool name and the primary nodes' IP's and ports into the and sections. That's of course assuming that those nodes don't change. Then when the iRule detects that you've disabled the primary nodes, it should begin doing the redirect.
I'm having a hard time thinking of anything more portable than that...
Denny
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