System Center Operations Manager (SCOM) –> System Center Service Manager(SCSM) CI Connector

This post is about configuring the SCOM CI connector in System Center Service Manager 2010. It is divided into 2 parts the first part is setting up the default connector which is the easiest part and the second part is about adding additional classes to synchronize with Service Manager which is not as easy….;-)

 


Configuring the SCOM CI Connector (Default)

 


clip_image001[4] clip_image002[4]
Welcome screen <Next> Fill in a name and description for the connector and make sure it is set to enabled. <Next>
image
Fill in the SCOM RMS name and the runas account.
The runas account needs to have SCOM Operator privileges.
Select the Management Packs you want to synchronize. <Next>
 
Fill in the schedule when you want the connector to synchronize.  

 


How to check the connector?


At the results pane you can review the connector settings and status.

 image

When you want to run the connector manually go to tasks and select Synchronize Now.

(refresh the connector to see the results, be patient this make take a couple of minutes)

After running the synchronization you can review the results. In the CI pane.


 Customize the SCOM CI Connector


First of all here is a link from the Service Manager Team Blog on how to add objects (classes) by the use of PowerShell.

To be able to add the classes we want we first need to define which class(es) we want to add:

There are more ways to retrieve the classes like PowerShell or the authoring console but for this example  we are going to use the SCOM console and PowerShell.


Retrieve Management Pack and Class from SCOM


Before you start with adding classes from SCOM to SCSM you will need to identify which classes you want to add and in which management pack these classes are defined.

The easiest way to detect in which management pack the class is defined is to do the following in the SCOM Monitoring pane:

clip_image026

Navigate to Discovered Inventory and right click the results pane and select Change Target Type…

clip_image031

When you select Change Target Type the above window will pop-up.

By selecting View all targets and fill in part of the class name you are looking for you can navigate through the classes. Select the class you want to add later on in SCSM in our case Dell Windows Server.

Notice the Management pack where the class is defined in our case Dell Windows Server (Scalable Edition).

Navigate to Administration pane \ Management packs and in the results pane look for the management pack you just retrieved by searching for the class.

clip_image033

Now check the properties for the management pack

clip_image036

When checking the properties you will see the ID which is the actual name (filename) of the management pack.

Also don’t forget the dependencies tab:

clip_image037

Check if the management is depended on a management pack which isn’t currently installed in your SCSM environment. In our case it’s the Dell Base Hardware Library.

Again check the properties of the management pack to locate the actual name of the management Pack:

clip_image038

Double check if this Management pack “Dell.Connections.Library” is dependent on any other management packs which are currently not installed in SCSM!

clip_image039

The above packs are already in SCSM so we now know we need to import 2 management packs into SCSM to be able to add the Dell Windows Server class later on.

  • Dell.Connections.HardwareLibrary.mp
  • Dell.WindowsServer.Scalable.mp

Copy both these MP’s to the SCSM server.

Before we can import the pack in SCSM we need to retrieve the class name from SCOM.

We know the display name of the class which is Dell Windows Server but to be able to add the class we need to know the ID!

To be able to find the Id we are going to use the SCOM PowerShell commandlet.

Open the Operations Manager Shell and with the following command we are able to translate the Display Name into the ID:

Get-MonitoringClass | Where-object {$_.DisplayName -match “Dell Windows Server”

This is the Display name of the class which we want to add!

clip_image041

 

Notice we have retrieved 2 classes. The one we want to know is called Dell Windows Server which is the one on the bottom.

Write down the Name property

Dell.WindowsServer.Server

This is the class ID we are going to need to be able to add the class to SCSM.


Import Management Pack and add Class to SCSM


Next logon tot the SCSM console and navigate to Administration\Management Packs:

clip_image046

Select Import and navigate to the dell management packs:

    • Dell.Connections.HardwareLibrary.mp
    • Dell.WindowsServer.Scalable.mp

Select both the packs and import them into SCSM. 

Now we have added the management packs into SCOM we can go on with the next step which is to get the new classes into SCSM and make sure the SCOM CI connector will synchronize these.


Add class to SCSM to be able to synchronize data


The Class we want add we retrieved from SCOM Dell.WindowsServer.Server class.

We are going to add the classes by the use of PowerShell on the SCSM server.

First of all to be able to run the SCSM PowerShell commandlets you need to add them to PowerShell.

To be able to add the commandlet you need to change the security settings within PowerShell.

clip_image052 clip_image051 clip_image054

First check the execution policy, which is default restricted.

Command set-executionpolicy Unrestricted sets the execution policy to allow unsigned script.

Now add the snapin with
add-pssnapin smcmdletsnapin
clip_image053 clip_image056 clip_image055
The command get-command *scsmallow* will retrieve the commands we are looking for to add a class. The command get-SCSMAllowlist will retrieve the current classes defined.  This will list all classes we currently synchronize. We are going to add our class to the list:
Add-SCSMAllowListClass –ClassName Dell.WindowsServer.Server
clip_image057    
After adding the class you can check the results by
get-scsmallowlist After making sure the class is added you can switch back the execution policy.
   

there is one more step to do before everything starts working.

Navigate to the SCSM administrator pane\Connectors. Select the SCOM CI Connectors an check it’s properties.

Look at the management packs section:

image

You will notice you can now select the Dell MP’s for synchronization. (It could be you need to refresh the list)

Here you select the MP’s you want to synchronize and we now have the Dell Server class added.

 

After adding the class you would need to create a view to be able to see your results. Simply add a view and target it to the Dell Server Class.

image

3 thoughts on “System Center Operations Manager (SCOM) –> System Center Service Manager(SCSM) CI Connector

  1. Wyatt Wong

    Is there a similar command to retrieve the class name in SCOM 2007 R2 because I found the Get-MonitoringClass does not exist in SCOM 2007 R2 ?

  2. Wyatt Wong

    Sorry that after checking, I can use Get-MonitoringClass function to retrieve the class name. Unfortunately, after I locate the class name and I issue “Add-SCSMAllowListClass –ClassName <ClassName>” in SCSM 2012 SP1 and then refresh the management pack list in the SCOM CI connector, I can only see the management pack listed but they were gray out and cannot be selected.

    The class name that I retrieve is from the Jalasoft Management Packs for SCOM 2007 R2.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.