Blog de Florent Appointaire

Blog sur les technologies Microsoft (Windows Server, System Center, Azure, Windows Azure Pack/Azure Stack, etc;)

sca

Si vous avez des problèmes lors de la connexion entre SCOM 2012 R2 et Advisor, et que vous avez l’erreur suivante dans SCOM :

image

Et que dans l’event viewer, toutes les 5 minutes, vous avez l’évenement 55006 avec l’erreur suivante :

Failed to import the latest Advisor Management Packs to the Management Server.  Reason: System.ArgumentException: Pack d'administration requis non valide. Reportez-vous à l'exception

interne pour plus de détails.
Parameter name: managementPack ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: Verification failed with 2 errors:
-------------------------------------------------------
Error 1:
Found error in 2|Microsoft.IntelligencePacks.StorageDataCollection|7.0.9211.0|Microsoft.IntelligencePacks.StorageDataCollection|| with message:
Could not load management pack [ID=Microsoft.SystemCenter.VirtualMachineManager.2012.Discovery, KeyToken=31bf3856ad364e35, Version=3.1.6011.0]. The management pack was not found in the
store.
: An error occurred while loading management pack c6d64ce2-2213-e6c8-9e2a-cbd36e868a12 from the database

-------------------------------------------------------
Error 2:
Found error in 2|Microsoft.IntelligencePacks.StorageDataCollection|7.0.9211.0|Microsoft.IntelligencePacks.StorageDataCollection|| with message:
Could not load management pack [ID=Microsoft.SystemCenter.VirtualMachineManager.PRO.V2.Library, KeyToken=31bf3856ad364e35, Version=3.1.6011.0]. The management pack was not found in the
store.
: An error occurred while loading management pack ed969e31-a8dc-b6d9-bc99-94dd55ab154d from the database

-------------------------------------------------------
  ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: Could not load management pack [ID=Microsoft.SystemCenter.VirtualMachineManager.2012.Discovery,

KeyToken=31bf3856ad364e35, Version=3.1.6011.0]. The management pack was not found in the store. ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: An error occurred while

loading management pack c6d64ce2-2213-e6c8-9e2a-cbd36e868a12 from the database ---> Microsoft.EnterpriseManagement.Common.ManagementPackException
    at Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackDatabaseServerStore.GetManagementPack(Guid mpId)
    --- End of inner exception stack trace ---
    at Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackDatabaseServerStore.GetManagementPack(Guid mpId)
    at Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackDatabaseServerStore.GetManagementPack(String mpName, String mpKeyToken, Version mpVersion)
    at Microsoft.EnterpriseManagement.Configuration.ManagementPackReference.GetManagementPack()
    --- End of inner exception stack trace ---
    --- End of inner exception stack trace ---
    at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack, IDictionary`2 resources)
    --- End of inner exception stack trace ---
    at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack, IDictionary`2 resources)
    at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportBundle(ManagementPackBundle package, ImportPackagedManagementPackCallback handler)
    at Microsoft.SystemCenter.Advisor.Core.IntelligencePackWriteAction.ImportManagementPack(String filePath)
    at Microsoft.SystemCenter.Advisor.Common.ScomSdkHelper.<>c__DisplayClassb.<CallScomSdk>b__9()
    at Microsoft.SystemCenter.Advisor.Common.ScomSdkHelper.CallScomSdk[T](Func`1 function, String description)
    at Microsoft.SystemCenter.Advisor.Common.ScomSdkHelper.CallScomSdk(Action action, String description)
    at Microsoft.SystemCenter.Advisor.Core.IntelligencePackWriteAction.UpdateIntelligencePacks()

C’est que, comme indiqué dans l’erreur, vous devez importer au moins les 2 managements packs de VMM suivant :

  • Microsoft.SystemCenter.VirtualMachineManager.2012.Discovery.mp d’une version supérieur ou égal à 3.1.6011.0
  • Microsoft.SystemCenter.VirtualMachineManager.PRO.V2.Library.mp d’une version supérieur ou égal à 3.1.6011.0

Pour ma part, j’ai importé les managements packs de VMM qui se trouve dans C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\ManagementPacks directement dans SCOM et le message d’erreur a disparu.

Facebook Like
Anonymous