Migrating Notifications from SCOM 2007/2012 to SCOM 2016

A while ago I wrote a post about Migrating Notifications from SCOM 2007 to 2012. So this post is an update to that, showing how we can migrate SCOM 2007 or SCOM 2012 Notifications to SCOM 2016.

The good news is just like before it’s actually a pretty simple process to migrate the existing ones.

Log onto the old SCOM environment and open up the SCOM Console. Head over to Administration, then Management Packs and look for the Microsoft.SystemCenter.Notifications.Internal Management Pack (It has the display name of Notifications Internal Library). It’s unsealed so you can export it right from the console. As you can see in this example, the old 2007 MP has a version number of 6.1.7221.0.

Notifications 2007 UnSealed

The next thing I like to do (although it’s entirely optional) is to take a copy of the existing Operations Manager 2016  Microsoft.SystemCenter.Notifications.Internal MP just in case of any issues you can simply import it back into SCOM and everything is back to normal. Notice the version number of my MP (SCOM 2016 is what I have installed)… the version number is 7.2.11469.0.

Notifications Internal Library

 

 

 

 

 

So using the same Export Management Pack process, we’d back up this one as well.

 

Ok now we have 2 copies of our Microsoft.SystemCenter.Notifications.Internal MP’s. Personally, I store them both away now and make another copy of the original 2007 or 2012 one…this is the one that I’ll edit.

Now’s there’s really only a couple of steps here.

  • Increment the version number
  • Change all Subscriptions to be turned off (Optional)
  • Import the Management Pack into 2016

Increment the Version Number

So the first thing to do is to Increment the Version number. Since this is an unsealed Management Pack we’ll have to import the new one we’re modifying with a higher version number. So we’ll change 6.1.7221.0 to 7.2.11469.1 Remember that our current Notifications MP in the newer 2016 environment already has an MP with the version number 7.2.11469.0, so we’ll need to increment this by any value as long as its higher. 1 is enough.

Notifications MP 2016

 

Turn off Subscriptions

The next step which is optional is to effectively turn off all of the subscriptions. You might choose not to perform this step if your plan is to have Operations Manager start alerting via notifications immediately. If this is the case just import the Management Pack. But most likely if you’re migrating you’ll want to turn off notifications and then enable them when you plan to ‘go live’ with the new environment.

You can off course turn them all off (manually or using PowerShell using “Get-SCOMNotificationSubscription | Disable-SCOMNotificationSubscription“) after you’ve installed the Management Pack, but it’s easier to avoid any issues and turn them off now before you install it.

So with the new Notifications file open in Notepad, simply hit Control-H to do a Replace and replace Enabled=”true” to Enabled=”false”, then click “Replace All”.

SCOM 2016 Notifications Enabled False

 

Import the Management Pack into SCOM 2016

Now save the file and import it into SCOM 2016. You should now have a newer version of the MP as shown.

SCOM 2016 Notifications Imported

Once imported you’ll see all of the notifications you had in the old environment in the new one but they’ll all be set to Enabled=”false” and therefore they won’t send notifications.

When you’re ready to turn them on, just head over to Subscriptions in the SCOM Console and right click and choose “Enable”.

Notifications Enable

Alternatively we can do the reverse bit of PowerShell and enable all subscriptions using the following:

Get-SCOMNotificationSubscription | Enable-SCOMNotificationSubscription

 

 

 

 

 

 

 

Just remember that if you are doing this notification MP migration during the migration of SCOM and not at the end as the last thing to do that you might not have imported all of your Management Packs. Therefore if you have subscriptions that target rules or monitors that don’t exist in your environment (because you haven’t yet installed the MP) then the subscription criteria won’t show the appropriate criteria you’ve set.

 
Comments

No comments yet.

Leave a Reply