locked
SCOM 2012 SP1 - Can we do export MPs from one system and import to another system? RRS feed

  • Question

  • Hi,

    We would like to move all the overrides to another system from the existing system. The same infrastructure is being built, and the same server names would be there. All changes to the custom MPs and Overrides (w.r.t to MPs), we can export and import on the other system, right?

    What are the precautions to be taken? If there is a name change in Management Servers, would that effect? We can just get the sealed MPs (provided by Microsoft, other than the default MPs), after installed the SCOM 2012 SP1?

    Please advise asap. 


    Thanks & regards, Naren.

    Thursday, November 16, 2017 4:12 PM

Answers

  • Hello,

    Of course you can. In fact that is exactly how side-by-side SCOM migration is done.

    Only precaution: Import all your sealed MP's first as your custom MP's use them for reference.

    Thanks,

    Sam

    • Proposed as answer by Yan Li_ Friday, November 17, 2017 6:31 AM
    • Marked as answer by NarenSV Monday, November 20, 2017 11:27 AM
    Thursday, November 16, 2017 4:28 PM
  • Hi Naren,

    Assuming you have imported all sealed mp's in to the new environment, and they are the same version as current environment you can export using something like this. Pay attention to the name here as it's based on a naming convention

    Get-SCOMManagementPack -Name "*Overrides" | where {$_.Sealed -eq $false} | Export-SCOMManagementPack
    -Path "c:\temp\mptest"

    on your new environment you can use Import-SCOMManagementPack Cmdlet

    • Marked as answer by NarenSV Tuesday, November 21, 2017 10:04 AM
    Monday, November 20, 2017 2:52 PM

All replies

  • Hello,

    Of course you can. In fact that is exactly how side-by-side SCOM migration is done.

    Only precaution: Import all your sealed MP's first as your custom MP's use them for reference.

    Thanks,

    Sam

    • Proposed as answer by Yan Li_ Friday, November 17, 2017 6:31 AM
    • Marked as answer by NarenSV Monday, November 20, 2017 11:27 AM
    Thursday, November 16, 2017 4:28 PM
  • Hi Sameer,

    Thank you for the confirmation. I need to do export of all unsealed MPs and the same need to be imported on new system. I am looking for a powershell script which exports, with all references to the groups, overrides, etc. Because the same names and groups would be used in the new system as well.


    Thanks & regards, Naren.

    Monday, November 20, 2017 11:41 AM
  • Hi Naren,

    Assuming you have imported all sealed mp's in to the new environment, and they are the same version as current environment you can export using something like this. Pay attention to the name here as it's based on a naming convention

    Get-SCOMManagementPack -Name "*Overrides" | where {$_.Sealed -eq $false} | Export-SCOMManagementPack
    -Path "c:\temp\mptest"

    on your new environment you can use Import-SCOMManagementPack Cmdlet

    • Marked as answer by NarenSV Tuesday, November 21, 2017 10:04 AM
    Monday, November 20, 2017 2:52 PM
  • OBS: Depends on how you do overrides, if you do directly on objects a simple export / import wont work as the same computer will have different GUID's in the two scom systems.

    if you create Groups with dynamic membership (Not static members) in you override MP and do overrides on the group then that should work since it wont be tied up to the specific object guid in the override mp and the group will be populated based on dynamic properties, such as names etc.

    • Proposed as answer by s.kjaerhus Tuesday, November 28, 2017 8:50 AM
    Wednesday, November 22, 2017 12:32 PM