Reputation: 20803
Our server operations team has asked the web development team (ASP.NET) to provide a URL in our application, which the load balancer can ping to perform health checks.
What should be executed on this page? I think we should attempt a database connection to ensure connectivity between the web and database. Anything else?
Upvotes: 3
Views: 2833
Reputation: 4268
Really you want to check the database configuration, asp.net configuration, web.config and any other web services or dependencies.
Here is a really great codeproject that will get you started with minimal coding.
Upvotes: 2
Reputation: 245419
Your health-check page should ping any external dependencies in your application and make sure everything is responding properly. That includes:
Databases
Web Services
Dynamically Loaded DLLs
COM+ Components
If all the tests pass, then the health-check page should respond properly so the load balancer can use that server.
Upvotes: 1