Forum Discussion
DarkSideOfTheQ_
Nimbostratus
Sep 23, 2009Application dependent healthcheck
Our environment has multiple web servers in a pool. These web servers are in a one to one configuration with the app servers behind them(the app servers are not configured in the LB). Is there a way to check that if the app server is down then down the web server in the pool?
TIA
-DarkSide
1 Reply
- James_Quinby_46Historic F5 AccountOne way we used to this was to create a single page on the web-server that returned a string based on the app server's health. As we were a J2EE shop, this was usually a JSP page dropped somewhere in the app that performed a complete atomic transaction (hit the app, pull a single row from the DB, display "OK"). Then you make a custom HTTP monitor that hits that page, looks for OK and responds accordingly.
Another not-so-clean way would be to create a custom monitor for each web server that looks at the app server directly, which assumes that the LTM can see the app servers.
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