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)

SCOM – Activating maintenance mode for a server

The System Center Operations Manager Integration Pack for Orchestrator 2016 is limited to its activities. One of the most used task for SCOM will be to set a server in maintenance mode. This activity does exists, but is not really easy to use, so let’s create a Runbook for it.

Getting ready

In this Runbook, we need to use some variables, so navigate to Global Settings\Variables\Root, and create two variables as you see in the following table:

Name
Description
Value

SCOM Service User Passwords

This contains the Service User Password

*****

SCOM Service User Usernames

This contains the Service User Username

*Domain*\*Username*

SCOM Servername...