Forum Discussion
rpalacios_79340
Altostratus
Nov 30, 2010iRules for monitoring pool members
Hello guys, Here's the challenge that I have at the moment. I need to trigger a service re-select if a web server is no longer listening two ports. The configured health monitor for the pool...
hoolio
Cirrostratus
Nov 30, 2010Hi RP,
You should be able to implement this logic by applying two monitors with the destination port configured. Here's an example which creates a dependency on port 80 and port 8080 for each pool member:
monitor http_8080 {
defaults from http
dest *:8080
recv "200 OK"
send "GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
monitor http_80 {
defaults from http
dest *:80
recv "200 OK"
send "GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
You could then set the pool's service on action down to reselect.
Aaron
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