locked
Migrating Management Packs with Dependencies from SCOM 2007 R2 to SCOM 2012 R2 RRS feed

  • Question

  • Hi

    I want to migrate our SCOM 2007 R2 Management Packs to the new SCOM 2012 R2 environment I set up.

    Some management packs (or the overrides) have dependencies on MPs which are only available for SCOM 2007 R2 (for example Microsoft.SystemCenter.Interpop.Remedy.Connector).

    Can I migrate them if I remove the dependency on the Management Pack in the XML? Which lines do I have to remove?

    Regards

    Désirée

    Wednesday, April 30, 2014 9:59 AM

Answers

  • Hi Désirée:

    It's probably not as simple as just removing the legacy MPs from the <Manifest><References> section of the exported MP XML. Most likely, that reference is there because some element of the MP depends on object or classes defined in the referenced legacy MP. If you manually remove the XML reference without cleaning up the other elements, you will make the resulting MP unusable.

    I recommend you try this: open the XML MP in the SCOM Authoring Console (http://www.microsoft.com/en-us/download/details.aspx?id=18222) (the 2007 R2 authoring console works with SCOM 2012 R2 as well.) You can attempt to remove the legacy MP from the properties of the MP root object. If the console lets you remove it, you are clear to save the MP (with a higher version number) and import that to SCOM 2012 R2. More likely, the console will help you identify what elements of the MP depend on the legacy MP, such as discoveries, views, groups, etc.

    You will need to manually remove those MP elements, or replace them with elements from MPs that are valid in SCOM 2012 R2. Only when you can remove the legacy MP from the properties of the MP can you safely save the MP and use it in SCOM 2012 R2.


    John Joyner MVP-SC-CDM

    • Marked as answer by Yan Li_ Monday, May 12, 2014 1:52 AM
    • Unmarked as answer by Désirée H Thursday, July 31, 2014 7:33 AM
    • Marked as answer by Désirée H Thursday, July 31, 2014 7:33 AM
    Wednesday, April 30, 2014 2:44 PM
  • For migrate MP with dependencies, you can refer below links

    http://www.systemcentercentral.com/removing-obsolete-references-in-custom-management-packs-step-by-step/

    http://www.systemcentercentral.com/scom-2012-rc-side-by-side-migration-phase-4-importing-unsealed-management-packs/


    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer" Mai Ali | My blog: Technical | Twitter: Mai Ali

    • Marked as answer by Yan Li_ Monday, May 12, 2014 1:52 AM
    Sunday, May 4, 2014 11:14 PM

All replies

  • Hi Désirée:

    It's probably not as simple as just removing the legacy MPs from the <Manifest><References> section of the exported MP XML. Most likely, that reference is there because some element of the MP depends on object or classes defined in the referenced legacy MP. If you manually remove the XML reference without cleaning up the other elements, you will make the resulting MP unusable.

    I recommend you try this: open the XML MP in the SCOM Authoring Console (http://www.microsoft.com/en-us/download/details.aspx?id=18222) (the 2007 R2 authoring console works with SCOM 2012 R2 as well.) You can attempt to remove the legacy MP from the properties of the MP root object. If the console lets you remove it, you are clear to save the MP (with a higher version number) and import that to SCOM 2012 R2. More likely, the console will help you identify what elements of the MP depend on the legacy MP, such as discoveries, views, groups, etc.

    You will need to manually remove those MP elements, or replace them with elements from MPs that are valid in SCOM 2012 R2. Only when you can remove the legacy MP from the properties of the MP can you safely save the MP and use it in SCOM 2012 R2.


    John Joyner MVP-SC-CDM

    • Marked as answer by Yan Li_ Monday, May 12, 2014 1:52 AM
    • Unmarked as answer by Désirée H Thursday, July 31, 2014 7:33 AM
    • Marked as answer by Désirée H Thursday, July 31, 2014 7:33 AM
    Wednesday, April 30, 2014 2:44 PM
  • For migrate MP with dependencies, you can refer below links

    http://www.systemcentercentral.com/removing-obsolete-references-in-custom-management-packs-step-by-step/

    http://www.systemcentercentral.com/scom-2012-rc-side-by-side-migration-phase-4-importing-unsealed-management-packs/


    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer" Mai Ali | My blog: Technical | Twitter: Mai Ali

    • Marked as answer by Yan Li_ Monday, May 12, 2014 1:52 AM
    Sunday, May 4, 2014 11:14 PM