SCOM 2012 / SCSM 2012 – CMP Tool V 1.0 (Compare Management Pack Tool)

This blog has been quiet for some time because I was quite busy with all kind of stuff. Anyway, this time I would like to share a tool I created to compare management packs in SCOM /SCOM or SCOM/SCSM, SCSM/SCSM management groups. In real life it is hard to compare the current management packs installed in management group A (Source) versus management group B (Target). This happens for example, if you want to have a comparison between your SCOM integration environment and your production environment. You probably want to know which management packs are equal in both management groups or which are missing in management group A and which management packs are missing in management group B compared to each other.

The tool looks like this..

image

How does it work? First you need to set your credentials and server FQDN for each of the management groups by selecting the “Connection Settings…” within the menu…

image

and set the credential, click save…

image

This will create a “config.xml” file in your application directory. The password is encrypted…

image

Next click “Get Source MP to XML” and “Get Target MP to XML”, this will connect to the source and target management group and get all management packs which are imported in each management group and create an “MPSource.xml” and “MPTarget.xml” file in your application directory. It will look like this…

image

If you just click “Compare MPs”, the tool displays all management packs that are EQUAL in green color, management pack name (MP Name), is the criteria…

image

In the “MP Comparison Criteria Selection” you are able to select what the comparison criteria is, in this case the management pack name (MP Name)…

image

If you select “Show difference by…” and click “Compare MPs” the tool will show which management packs are MISSING/DIFFERENT in each management group according to the selected criteria…

image

If you click “Export Excel” and and you have Excel installed on the computer you are running the tool, it will dump the result into an Excel sheet…

image

image

Because you are able to connect to each management group separately and create the “MPSource.xml” and/or “MPTarget.xml”, you are able to compare management groups which are not connected through the network nor reachable in any way. Just copy the tool to each management server, connect and create the XML files. Then copy both files “MPSource.xml” and “MPTarget.xml” into the same directory and run the tool offline. Cool huh?

The cool thing is, you are able to connect to SCOM 2012 and SCSM 2012 management groups.

Requirements:

  • SCOM 2012 / SCSM 2012
  • .NET Framework 4.5
  • SCOM 2012 SDK Binaries (included in the download, not necessary if you have the SCOM console installed)
  • Excel 2013 (optional)

Download from TechNet Gallery

I have tested the tool, but let me know if you run into a problem….

Update:

13.03.2015 Version 1.0.1 – Fix when reloading XML, Form Resize

7 Comments

    • Hi
      Thx, well I just compare the properties name, display name and combination of it like name + version. If you use correct versioning of your MPs it works perfectly. Probably in most cases you just want to compare name + Version to figure out if you updated or installed a management pack.

      Cheers,

      Stefan

  1. Pingback: MicrosoftTouch

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s