Book Image

Microsoft System Center 2016 Orchestrator Cookbook - Second Edition

By : Michael Seidl, Steve Beaumont, Samuel Erskine (EUR), Andreas Baumgarten
Book Image

Microsoft System Center 2016 Orchestrator Cookbook - Second Edition

By: Michael Seidl, Steve Beaumont, Samuel Erskine (EUR), Andreas Baumgarten

Overview of this book

With Microsoft System Center 2016 Orchestrator Cookbook, you will start by learning how to efficiently install and secure System Center Orchestrator. You will then learn how you can create configuration files for SCO 2016. After initial installation and configuration, you will soon be planning and creating functional and fault-tolerant System Center runbooks to automate daily tasks and routine operations. Next you will delve into runbooks; you will learn how to create powerful and advanced runbooks such as Building your Runbook without a Dead End. You will also learn to create simple and advanced runbooks for your daily tasks. Towards the end of the book, you will learn to use SCO for other interesting tasks and also learn to maintain and perform SCO health checks. By the end of the book, you will be able to automate your administrative tasks successfully with SCO.
Table of Contents (8 chapters)

Implementing error handling in your Runbooks

Always think about all the possible errors or problems, which can occur in your Runbooks, and try to build your Runbooks without a dead end.

There is nothing more annoying than a Runbook that seems to finish without any problem but is not doing what you are expecting because you have missed some possible ways, the Runbook can follow.

Getting ready

In our recipe, we will take care of our 1.2.2-Reboot a Server runbook and add some error handling. In case a server will stuck on the reboot process, our Runbook would wait endless time for the server to come back, so this is definitely not what we want; let's do this better in this recipe.

Navigate to your Runbook with the name 1...