Share via


Sealing MP in Service Manager 2012

As is the case in Operations Manager, all customizations for notification templates, groups, list items, workflows etc. in Service Manager are stored in Management Packs. A management pack can consist of two types;

Sealed and Unsealed.

A sealed management pack has an .mp extension and cannot be modified directly. So Microsoft, other vendors or you can prevent modifications on Management Pack itself.

Unsealed management packs have an .xml file extension and con be modified with SM console, authoring tool or directly within XML file.

For example, if you want to add list items to a list that is defined in a sealed management pack, you have to store these modifications in an unsealed management pack. Or if you want to add some fields to a form that is defined in a sealed management pack, again you have to store modifications in an unsealed MP.

Just because of this certain rule,

A MP (sealed or unsealed) can depend on a sealed MP.

A MP (sealed or unsealed) can depend on an unsealed MP.

Let’s think about following scenario;

You create a new Management Pack in Service Manager 2012 which includes custom forms, notification templates and item lists. After a couple of months, other SM administrator created another Management Pack for a custom need and that MP references for list items and other objects to your firstly created MP. In case of such a scenario your first MP must be sealed to have base definitions for other MP’s in your organization.

Sealing a management pack is easy and clear process. First requirement to seal an MP is signing the file to ensure that file is not modified when you transfer it between locations. So before sealing a MP you must create a key pair with Strong Name Tool (sn.exe). Key pair will have a .snk extension.

Strong name tool is automatically installed with Visual Studio. Also if you installed Microsoft .NET Framework 4.0 on your machine sn.exe is available in the following location;

%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools

To create key pair, at the command prompt run the following command;

1

After you created snk key pair, in the Authoring Tool, in the management pack explorer right click an unsealed MP and choose "Seal Management Pack”.

2

Then choose your key pair and fill out company field.

3

4

Now you can easily import your sealed management pack through Service Manager Console.

5

6