locked
Importing Management Pack with different dependency version RRS feed

  • Question

  • Hey there folks,

    I have a SCOM 2012 server that I developed some custom MPs on, that show dependencies on another MP. All is good. I export the MP, and go to import on a "newer" (ie. installed this week) SCOM server, and I get an error that the dependent MP is not there. The issue is the dependent MP "is" there, but is a different version. Can I "wipe" the version dependency from the XML file and have it be fine, or what is the recommended way to get the MP to import with the existing versions?

    Error on Import:

    Existing MP:

    Thanks in advance guys!

    mpleaf

    Thursday, April 30, 2015 2:58 PM

Answers

  • Hi,

    You may try to edit the XML file for the custom management pack, change the version of the references management pack to the existing version.

    Regards,

    Yan Li


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Yan Li_ Wednesday, May 13, 2015 1:28 AM
    • Marked as answer by Yan Li_ Wednesday, May 13, 2015 5:03 AM
    Friday, May 1, 2015 6:12 AM

All replies

  • Hi there,

    I read an article about this recently, it could help you out. Its pretty detailed and covers the different scenarios:

    Removing obsolete references in custom management packs step-by-step 
    http://blogs.catapultsystems.com/cfuller/archive/2013/11/11/removing-obsolete-references-in-custom-management-packs-step-by-step.aspx

    Hope this helps,

    Stoyan

    Thursday, April 30, 2015 3:13 PM
  • I know "how" to remove obsolete dependencies, the question is whether that's what I need to do. I actually don't mind the dependency being referenced, other than it has a different version, and I don't care about the version in this case. Do I have to remove the dependency, or is that the recommendation, or ?

    mpleaf

    Thursday, April 30, 2015 3:21 PM
  • If you don't need the dependencies just remove them, otherwise you will not be able to import the desired MP. This is more a requirement than recommendation :)

    Regards,

    Stoyan

    Thursday, April 30, 2015 3:35 PM
  • Hi,

    You may try to edit the XML file for the custom management pack, change the version of the references management pack to the existing version.

    Regards,

    Yan Li


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Yan Li_ Wednesday, May 13, 2015 1:28 AM
    • Marked as answer by Yan Li_ Wednesday, May 13, 2015 5:03 AM
    Friday, May 1, 2015 6:12 AM