question

DavidKim-4125 avatar image
0 Votes"
DavidKim-4125 asked RogerXue-3369 published

Moving from scom 2012 R2 to scom 2019. Should we start with new MPs?

Moving from scom 2012 R2 to scom 2019. Should we start with new MPs?

How can we export sealed and unsealed MP in SCOM 2012 R2 then import these to SCOM 2019?

What is the reason that sealed MP is exported as unsealed (XML)? You cannot import it again?

Can unsealed MP (Ops console) on SCOM 2012 be exported and then imported into the SCOM 2019?

msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CyrAz avatar image
0 Votes"
CyrAz answered CyrAz edited

You should download the latest versions of microsoft and third-party MPs.
Sealed MPs can't be exported as sealed MPs.
Yes, unsealed MPs can be exported and it should be possible to reimport most (if not all) of them without issue.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

why do they allow sealed MP to be exported but then you are not able to import them?
The sealed MP are exported as XLMs so what can I do with these?,.. how is this information useful other than providing me rule configurations on a MP which is likely obsolete or incompatible?

Sealed MP >>> exported as unsealed XML >>> what is the usefulness of this XML?


Just confirming that I should exporting the unsealed MPs but replace the remaining with the latest MPs.
The reaso we want to use the unsealed MPs is because they may have overrides which can be useful?










0 Votes 0 ·

Exporting the sealed mps to unsealed xml is useful to let you analyze their code and troubleshoot them when needed, nothing more.

Yes, you should export the unsealed mps but re-download the latest versions of the sealed ones.
The sealed MPs will indeed be useful to reimport the overrides, but be careful that if these overrides were made for "a specific object" (and not for "a group" or "a class"), these objects are identified using their GUID.
In some cases, the objects GUID can change in the new environment (read here to understand how these IDs are calculated : https://maxcoreblog.com/2019/05/02/are-scom-ids-random/ ), so these reimported overrides may not work anymore.

0 Votes 0 ·
RogerXue-3369 avatar image
0 Votes"
RogerXue-3369 answered RogerXue-3369 published

Should we start with new MPs?

Moving from SCOM 2012 R2 to SCOM 2019, you may resue SCOM 2012 R2 MPs.
There are two types of MP, sealed MP and unsealed MP. A sealed management pack is a binary file that cannot be edited. An unsealed management pack is an XML file that can be edited.
Usually, MS free-MPs and vendor MPs are sealed MP and custom MPs are unsealed. when moving from SCOM 2012 R2 to SCOM 2019, the recommend steps of MP transition as
1) download more up-to-date MP from MS or vendor
2) Export custom MP as XML
3) Import MP into SCOM 2019

Exporting a management pack allows customizations to a sealed management pack to be saved to a writeable management pack. Because sealed management packs cannot be changed, the modifications made to a management pack are saved to a separate, unsealed management pack file. The unsealed management pack can then be imported into a different management group or the same management group depending on the situation. This unsealed management pack is dependent on the original sealed management pack and can be imported only to management groups that have the original sealed management pack.

owershell cmdlet to export management pack:
Export-SCOMManagementPack [-ManagementPack] <ManagementPack[]> -Path <String>
e.g.
Get-SCOMManagementPack -Name SNMP | Export-SCOMManagementPack -Path "C:\MPArchive"


Roger
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.