Forum Discussion
lkchen
Nimbostratus
May 05, 2010Down a pool if a monitor fails?
While it makes no sense to me....I've been asked to implement a monitor for a pool of webservers, that does a 'GET /monitor/status.html' and if the response does not contain the string "SUMMARY: OK", ...
Michael_Yates
Nimbostratus
May 06, 2010Wow....That's awesome.
Hoolio's idea is interesting.
I would suggest doing it in two parts.
Part 1: Custom Health Monitor...
Type: HTTP
Send String: GET /monitor/status.html
Receive String: SUMMARY: OK
Part 2: iRule for Redirect when no pool members are available, redirect to a pool or another website.
when HTTP_REQUEST {
Check if the default pool has less than one active member
if { [active_members [LB::server pool]] < 1 } {
HTTP::redirect "http://www.google.com"
pool alternate.pool.of.servers
}
}
http://devcentral.f5.com/Wiki/default.aspx/iRules/LB__server.html
The Server Administrators would then have to take down all of the servers themselves, and then the F5 iRule would redirect the Traffic. It would make it harder for one of them to "accidently" take down the entire pool and causing an outage, and would allow them to take down individual servers for troubleshooting.
Just a thought.
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