locked
Unabel to import a modified Default Management Pack RRS feed

  • Question

  • Hi,

    To be able to delete the Microsoft SMS 2003 MP I need to remove a dependence in the Default MP. I have exported the, and used the XML Notepad as described here: http://bradstechblog.com/scom/how-to-remove-management-pack-dependencies

    The problem is that I can't import it again. It only shows up in the Import list with a red icon and the path to the MP. No Status details is given. I haven't rename the MP.

    Please advice.

    Best Regards,


    BeachMan
    Friday, December 10, 2010 1:33 PM

Answers

  • Hi

    You'll want to remove the entire section:

          <Reference Alias="SMS">
            <ID>Microsoft.SMS.2003</ID>
            <Version>6.0.5000.1</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>

    But you'll also need to search for other occurences of SMS in the overrides ... you need to find other sections of the default mp where SMS is being referenced and remove these as well.

    It sounds like a lot of overrides have been saved to the default management pack so you'll need to take a lot of care in removing all of the references to SMS.

    Good Luck

    Graham


    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    • Marked as answer by SCBeach Wednesday, December 15, 2010 9:22 AM
    Tuesday, December 14, 2010 2:03 PM

All replies

  • Hi

    This basically means that when you have edited the xml you've accidently removed something you shouldn't - so the Management Pack is no longer valid.

    I would export the default MP again and carefully edit it once more. Depending on the size, you could post the xml here and tell us what you would like to remove.

    Cheers

    Graham


    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    • Proposed as answer by Nicholas Li Tuesday, December 14, 2010 5:34 AM
    Saturday, December 11, 2010 11:57 AM
  • I think when you edit just the references but still have rules, which use those references, the import will fail. So when you want to delete a reference make sure you do a search on the "alias" and remove all rules with that alias as well. (remove the overrides in the console and then export and edit out the reference will do as well).

     


    Rob Korving
    http://jama00.wordpress.com/
    • Proposed as answer by Nicholas Li Tuesday, December 14, 2010 5:34 AM
    Saturday, December 11, 2010 6:20 PM
  •  

    Hi,

     

    Additionally, please try the method in the following post:

     

    Removing dependencies on the Default Management Pack

    http://blogs.technet.com/b/momteam/archive/2007/05/03/removing-dependencies-on-the-default-management-pack.aspx

     

    Hope this helps.

     

    Thanks.


    Nicholas Li - MSFT
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Tuesday, December 14, 2010 5:34 AM
  • Hi,

    The Default MP XML is a little bit to big... so I posted the section that I think should be deleted to remove the dependence.

    If I remove one of the lines or some og the characters the "Status details" when trying to import the MP tells me that the "This management pack cannot be imported" and refers to Line X and Position X. But if I remove the entire "section" and try to import it, it only shows up in the Import list with a red icon and the path to the MP. No Status details is given.

    \\managmentPack\Manifest\References

          </Reference>
          <Reference Alias="SMS">
            <ID>Microsoft.SMS.2003</ID>
            <Version>6.0.5000.1</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>

    Brgds,


    BeachMan
    Tuesday, December 14, 2010 1:15 PM
  • Hi

    You'll want to remove the entire section:

          <Reference Alias="SMS">
            <ID>Microsoft.SMS.2003</ID>
            <Version>6.0.5000.1</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>

    But you'll also need to search for other occurences of SMS in the overrides ... you need to find other sections of the default mp where SMS is being referenced and remove these as well.

    It sounds like a lot of overrides have been saved to the default management pack so you'll need to take a lot of care in removing all of the references to SMS.

    Good Luck

    Graham


    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    • Marked as answer by SCBeach Wednesday, December 15, 2010 9:22 AM
    Tuesday, December 14, 2010 2:03 PM