Forum Discussion
Mehendra, The first question I would have is,... Are you using LTM at the datacenters to load balance all three tiers (web, app, db)? If so, this is very easy. On the GTM, under each site LTM, build a Virtual Server object for each tier. Then, under the web tier Virtual Server object, add the app and DB tier as Virtual Server dependencies. Lastly, build you WIP based on the web tier. This way if any of the three tiers fail, the site will fail. This is very common. Another way would be to just create comprehensive monitors at the LTM that exercises all 3 tiers through the web tier, and then just use the state of the web tier for the site status. For instance, a monitor that logs into the web front and runs a query or executes something against the application causing a DB query and looks for a specific response. Not knowing the details of your application, it is hard to describe this much further. Hopefully, you understand my point.
If you do not have LTM at the data centers, you can still do this with monitoring from the GTM. You could run a comprehensive monitor FROM the GTM, against the web tier that exercises all three tiers, as option 2 above, and base site status on that. However, I prefer to do all the monitoring locally, as monitoring a site from a remote GTM brings many other components into the equation (WAN links, routers, switches). Things you may or may not want in the decision making.
I guess the point being, YES you can do this.
Good Luck! David Pasch