Forum Discussion

DarkSideOfTheQ_'s avatar
DarkSideOfTheQ_
Icon for Nimbostratus rankNimbostratus
Sep 23, 2009

Application 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
  • James_Quinby_46's avatar
    James_Quinby_46
    Historic F5 Account
    One 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.