Today, a new Runbook based only on the default activities, I will show you how to monitor an Internet Application with System Center Orchestrator 2012 beta.
Work case : we have an intranet website, we want to ensure the availability. If the website is not available we want to restart a service, re-check the availability, and if still unavailable, we want to be notify.
1. Runbook design : Every x seconds, we check the availability of the website. If available, we just do an entry in the log with the information “Site up”. If the website is not available, we restart the World Wide Web Publishing Service. If the site become available after the service restarted, we do an entry in the log with the information “Site up”, if still available, we do an entry in the log with the information “Site down” and we send an email.
8. If the service successfully started, we re-check the website availability for a second time. If available we could now link back to the previous Send Platform Event activity, that will write in the log that the site web is available.
9. If the Start/Stop Service activity didn’t succeed to restart the service, or if the website is still unavailable at the second check, we will use a second Send Platform Event activity for writing in the log that the site is down.
Et voilà, how to simply monitor a website availability. As always, the Runbook is available here : DOWNLOAD
Microsoft System Center Orchestrator 2012 Resources :
Microsoft System Center Orchestrator 2012 beta is available as public beta at the Microsoft Download Center : http://www.microsoft.com/download/en/details.aspx?id=26503
Microsoft System Center Orchestrator 2012 Team Blog : http://blogs.technet.com/b/scorch/
TechNet Forums for System Center Cross Platform and Interoperability : http://social.technet.microsoft.com/Forums/en-US/category/scinterop