SCO 2012 R2: System Management Automation Part 1 – Overview and Setup

 

The new preview of System Center Orchestrator 2012 R2, comes with a new part called “System Management Automation”

Not much info has been released about what it is, or what it can be used for.

update: more information have been released by microsoft. Start here

It seems to me to be a new runbook engine, with a completely new type of runbooks. I can’t wait to get more info about what it is , and what it is for.

It has 3 parts which is installed seperately:

  • Web Service
  • Runbook Worker
  • PowerShell Module

I will try to post some of my exploration of this new part of Orchestrator.

This will be a series of blog articles.

So far these have been planned:

SCO 2012 R2: System Management Automation Part 1 – Overview and Setup
SCO 2012 R2: System Management Automation Part 2 – The PowerShell Module
SCO 2012 R2: System Management Automation Part 3 – The Web Service
SCO 2012 R2: System Management Automation Part 4 – Using the Web Service in Visual Studio 2012

In this article i’ll show how to use the PowerShell Module.

The idea is to give you a chance to play around with it, and any kind of comments/feedback is very welcomed!

Installation

 

Each part of the System Management Automation have to be installed seperately.

They should be installed in the following order:

    • Web Service
    • Runbook Worker
    • PowerShell Module
    • Register Runbook Worker via PowerShell

 

In my lab i have installed everything (including the rest of SCO R2 and SQL) on the same server, which is ofcause not recommended in production.

  • First Install the basic parts of orchestrator (manament server, runbook designer, web features and runbook server), and make sure everything is running.
  • Open the Setup Splash Screen

image

Web Service

 

Web service installation is in 2 parts. First Install Web service, then you need to enable the runbook worker on the web service via PowerShell.

Install

  • In the Service Management Autmation section click Web Service
  • Click Install

image

  • Enter name and organization

image

  • Accept license agreement. Click Next

image

  • Select Web service feature. Click Next

image

  • Make sure all prerequisites is installed and enablen

image

  • Setup database information. In my lab the SQL is located at localhost on standard port 1433.

image

  • Setup the administrators group or person. watch out for typos since there is no check!!
  • Setup service account for the application pool, in my case i use the same service account as ORchestrator (which has domain admin in this lab). watch out for typos since there is no check!

image

  • Select port, i recommend to use the default port 9090
  • Select certificate, i am using a self-signed certificate in this lab

image

  • Select Location. I recommend to keep it at default

image

  • Enable updates and participate in the customer experience program (if you want to). click Next

image

  • At the summary, make sure that all info is correct. then click Install

Notice: the URL of the web service, including tenantID appears in this windows.

 

Runbook Worker

  • In the splash screen, click Runbok worker.
  • Enter name and organization (and key)
  • Accept License. Click Next
  • Enable the Runbook Worker Feature. Click Next

image

  • Setup database information, this should be the database created by the Web Service installation.

image

  • Enter service acccount information
  • Enable updates and participate in the customer experience program (if you want to). click Next
  • At the summary, make sure that all info is correct. then click Install

When the runbook worker has finished installing you will see this message:

image

It says to add the runbook worker to the runbook worker deployment using powershell command. This requires the powershell module to be installed first. See the guide below.

PowerShell Module

  • In the splash screen click PowerShell Module
  • The PowerShell module installs automatically.

See the blog post about the powershell module on this blog for more info!

Register runbook worker to the runbook worker deployment

  • Open PowerShell
  • Import Module
  • Run the New-SMARunbookworkerdeployment cmdlet using parameters to explain computername and webservice info

Now you are ready to go!

Next part will be published soon! and is about the PowerShell Module!

By | 2013-07-19T15:11:54+00:00 July 19th, 2013|Automation|1 Comment

About the Author:

Jakob Gottlieb Svendsen

Twitter: @JakobGSvendsen

Jakob Gottlieb Svendsen is a Microsoft Cloud and Data Center Management MVP (http://mvp.microsoft.com/en-us/default.aspx), Working as Global Lead Developer, Senior Consultant and Trainer at CTGlobal, where he is one of the driving forces in keeping CTGlobal a System Center Gold Partner and member of the System Center Alliance.

Since he started at Coretech in 2007, he has focused on Scripting and Development, primarily developing tools, extensions and scripts for the System Center Suite. His main area is Automation (including OMS/Azure Automation, Service Management Automation, PowerShell and Orchestrator). Another area is Windows Azure Pack / Azure Stack, where he does implementation, development, workshops and presentations. He is a world-wide renowned voice in the Automation field.

He is passionately devoted to the community, to which he contributes by being a moderator at TechNet and sharing his knowledge at http://blog.ctglobalservices.com/jgs

  • Co-founder: PowerShell User Group Denmark
  • Speaker at MMS 2016, Minneapolis (www.mmsmoa.com)
  • SCU Europe 2014, 2015, 2016 (www.systemcenteruniverse.ch)
  • Microsoft TechEd North America 2014, Houston
  • NIC 2012,2013,2014,2015, Oslo (www.nic.com)
  • Microsoft CampusDays 2011, 2013, Copenhagen
  • Microsoft TechDays 2015, Sweden (www.techdays.se)
  • Microsoft Partner Event: New in SC2012 SP1
  • User group meetings (PSUG.DK , SCUG.DK/BE/NO, AZMUG + more)
  • Microsoft Certified Trainer.
  • Microsoft Scripting Guys Forum Moderator

Main working areas:

  • Automation (Azure Automation, SMA, SCO)
  • Windows Azure Pack / Azure Stack
  • System CenterVisual Studio Team Services / Team Foundation Server
  • Development:C#.Net, VB.NET, VBScript, PowerShell, Service Manager, OpsMgr, ConfigMgr
  • Orchestrator
  • Windows Azure Pack / Azure Stack

Training:

  • Azure Automation
  • Service Management Automation
  • System Center Orchestrator
  • PowerShell, VBScript, C#.Net, VB.Net
  • Windows Azure Pack / Azure Stack Development Workshops

One Comment

  1. I have been browsing online more than 3 hours today, yet I never
    found any interesting article like yours. It is pretty worth enough for me.
    In my view, if all website owners and bloggers made
    good content as you did, the net will be a lot more useful than ever before.

Leave A Comment