Book Image

Microsoft System Center 2016 Orchestrator Cookbook - Second Edition

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

Microsoft System Center 2016 Orchestrator Cookbook - Second Edition

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

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)

Building a looping Runbook

As a looping Runbook, we understand a Runbook contains an activity that loops until a condition is met. As we have seen in our previous examples, each activity is running only one time. A looping activity runs as much as the condition changes.

Getting ready

In this example, we will build a simple reboot Runbook where we restart a server and wait until the server is going down and is coming up again, therefore we will need a looping activity.

Perform the following steps in the Runbook Designer to prepare for the activity steps in this recipe:

  1. In the Runbook Designer, expand the connection to the SCO 2016 server.
  2. Navigate to our created 1.2-Chapter 4 folder.
  3. Create a new sub-folder called 1.2.2-Reboot...