Is the mpseal.exe that came with scom 2012 R2 (dated 9/6/2013) capable of sealing a management pack that contains references to management packs that are included as only MPB files?
I get a missing reference error when sealing a management pack referencing Microsoft.SystemCenter.Visualization.Component.Library for which I have the mpb (version 7.1.10226.1015) in the INCLUDE directory.
Here is what is reporting the error:
mpseal.exe .\managementpackname.xml /I {pathtoMPandMPBfiles} /Keyfile {pathToKeyfile}
: Verification failed with 1 errors:
-------------------------------------------------------
Error 1:
Found error in 2|managementpackname|32.2014.1023.1045|managementpackname|| with message:
Could not load management pack [ID=Microsoft.SystemCenter.Visualization.Component.Library, KeyToken=31bf3856ad364e35, Version=7.1.10226.0]. The management pack was not found in the store.
Microsoft.EnterpriseManagement.Common.ObjectNotFoundException: An object of class ManagementPack with name Microsoft.SystemCenter.Visualization.Component.Library was not found.
at Microsoft.EnterpriseManagement.AggregateStoreManagementPackManagement.GetManagementPack(String name, String keytoken, Version version)
at Microsoft.EnterpriseManagement.Configuration.ManagementPackReference.GetManagementPack()
-------------------------------------------------------
Could not load management pack [ID=Microsoft.SystemCenter.Visualization.Component.Library, KeyToken=31bf3856ad364e35, Version=7.1.10226.0]. The management pack was not found in the store.
The mpb file outputs the following:
PS S:\> Get-SCManagementPack -BundleFile S:\Microsoft.SystemCenter.Visualization.Component.Library.mpb|select *
Name : Microsoft.SystemCenter.Visualization.Component.Library
TimeCreated : 1/1/0001 12:00:00 AM
LastModified : 1/1/0001 12:00:00 AM
KeyToken : 31bf3856ad364e35
Version : 7.1.10226.1015
Id : 023b4b11-a20c-1b7f-34e1-bd49276c10b1
Identifier : 2|Microsoft.SystemCenter.Visualization.Component.Library/31bf3856ad364e35|7.1.10226.1015|Micros
oft.SystemCenter.Visualization.Component.Library||
VersionId : 83a836b1-e65b-fe42-6d1c-99bba0591e67
References : {ManagementPack:[Name=Microsoft.SystemCenter.Visualization.ServiceLevelComponents,
KeyToken=31bf3856ad364e35, Version=7.1.10226.0], ManagementPack:[Name=System.Library,
KeyToken=31bf3856ad364e35, Version=7.5.8500.0],
ManagementPack:[Name=Microsoft.SystemCenter.Visualization.Library, KeyToken=31bf3856ad364e35,
Version=7.1.10226.0], ManagementPack:[Name=Microsoft.SystemCenter.Image.Library,
KeyToken=31bf3856ad364e35, Version=7.1.10226.0]...}
Sealed : True
ContentReadable : True
FriendlyName : Component Library Management Pack
DisplayName :
Description :
DefaultLanguageCode : ENU
ActiveLanguageCode :
LockObject : System.Object
Store : DevGroup0
SchemaVersion : 2.0
OriginalSchemaVersion : 2.0
Registry : Microsoft.EnterpriseManagement.Configuration.ExtensionRegistry
Extensions : Microsoft.EnterpriseManagement.Configuration.ExtensionManagement
LifetimeManagers : Microsoft.EnterpriseManagement.LifetimeManagerTypeRegistry
Features : Microsoft.EnterpriseManagement.FeatureContainer
ImageReferences : Microsoft.EnterpriseManagement.Configuration.IO.SingleManagementPackStore_ImageReferences
EntityTypes : Microsoft.EnterpriseManagement.SingleManagementPackEntityTypeManagement
ManagementPacks : Microsoft.EnterpriseManagement.SingleManagementPackManagement
Presentation : Microsoft.EnterpriseManagement.SinglePresentationManagement
Monitoring : Microsoft.EnterpriseManagement.SingleManagementPackMonitoringConfigurationManagement
DerivedTypes : Microsoft.EnterpriseManagement.Configuration.IO.SingleManagementPackStore_DerivedTypes
The managementpackname.xml file is what I want to seal. It contains some dashboard visuals so it has references to the above management pack. Here is a snipet of the xml file:
<?xml version="1.0" encoding="utf-8"?><ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Manifest>
<Identity>
<ID>mmm.App.ADFS.Core</ID>
<Version>32.2014.1023.1045</Version>
</Identity>
<Name>managementpackname</Name>
<References>
...
<Reference Alias="SystemCenter2">
<ID>Microsoft.SystemCenter.Visualization.Component.Library</ID>
<Version>7.1.10226.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
...
One way to fix this is to locate the *.mp file for this mpb and put that in my INCLUDE directory, but I cannot find that *.mp file.
Is this fixed with a new version of mpseal.exe? Worst case, I will pull out the dashboard stuff from this management pack and leave it unsealed. I use sealed management packs as a way to ensure the version from one management group to another is the