This post was written based on the experience with System Center 2012 R2. There are dozens of posts on the web and technet explaining how to configure the SCVMM connector in SCSM, but in this post I just want to explain where you can find the management packs required for this.
Setting up SCOM, SCCM, AD, SCORCH connectors in SCSM is really easy. It’s so easy that when you start configuring the SCVMM connector, you start thinking that it should be another way of doing this.
In order to get SCVMM objects on SCSM, you actually need SCOM as sort of a “proxy” doing the discovery. Since this connector does a mapping between SCOM and SCSM objects, you need to install some MPs both on SCOM and SCSM. The cool part starts when you want to find these MPs. I would say below is a quick and dirty walkthrough, but it’s actually not that quick.
Bad news: There is no “Undo” button. So what do you do when this happens?
You have two options:
- Since you deleted part of your runbook, you are probably still in “check out” mode with it. So, in order to see how the runbook was before check-out, log on from a different machine, to Orchestrator Runbook Designer. Select everything inside the runbook and copy it to a new runbook, then start modifying again.
- If you just want everything restored in the same runbook, verify the time when you deleted your activities / links (let’s say it was 10:00 a.m.), then go to your Orchestrator database, and run the following query:
Select * from OBJECTS where Deleted = 1 and LastModified > ‘2013-11-22 09:55:00.000‘ and LastModified < ‘2013-11-22 10:05:00.000‘
Update OBJECTS set Deleted = 0 where Deleted = 1 and LastModified > ‘2013-11-22 09:55:00.000‘ and LastModified < ‘2013-11-22 10:05:00.000‘
In case you deleted the entire runbook, or worse, an entire folder of runbooks, you should check this post, which covers well the rest of the available undeleting tricks.
Changing parameters in a runbook after it was synced in SCSM may change its state to “Invalid”. To fix this you need to go in SCSM and delete the synced runbook and run the Orchestrator connector again. If your SCSM machine is slow ( like mine :) ) you need to wait a little until the “Delete” action appears in the console, on the first instance you get only “Refresh”
More on this topic: Runbook States in Service Manager