Configuration Management Pack Service Manager System Center Tool Troubleshooting

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

8 Replies to “SCOM 2012 / SCSM 2012 – CMP Tool V 1.0 (Compare Management Pack Tool)

  1. Nice tool. Will this compare the actual pack contents as well? Or just the names/ids/versions?

    1. 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

  2. Silect has a tool (MP Studio) that compares the contents of MP’s as well as comparing management groups. It can even remediate by deploying…

    1. Hi

      I know, my goal was / is not to replace nor copy Silect. My intention was/is to build a small tool to compare quickly in a light weight way, for free :). If you are comfortable using Silect and you have the money go for it.

      Cheers,

      Stefan

  3. Pingback: MicrosoftTouch

Leave a Reply to Stefan Roth Cancel reply

Your email address will not be published. Required fields are marked *

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