OpsMgr: Sample Upgrade Helper MP for 2012 SP1 to 2012 R2 (SUHMP2012R2)

As System Center 2012 R2 has reached General Availability (GA), I have expanded on the idea of the Upgrade Helper MP for Operations Manager 2007 R2 to 2012 RTM, and have put together a new Sample Upgrade Helper MP for Operations Manager 2012 SP1 –> 2012 R2 (can now be downloaded from the TechNet Gallery).

The main features of this sample upgrade helper management pack are as follows:

  • Discovery: Registry discovery of main Operations Manager 2012 roles – RMS Emulator, Other additional Management Servers (MS), Gateway Servers (GW), and all Windows Agents.

image     image

  • Monitoring:  Monitors the registry value of all discovered Operations Manager roles for the current version of the Operations Manager installation. If the version is anything other than 2012 R2, the monitor will go into warning state.

image     image

  • Overall Upgrade State of Management Group: To provide a high-level summary of the upgrade state of the main Operations Manager 2012 roles discovered (not including agents).

image

image

  • Dashboard: An Operations Manager 2012 dashboard to display all the main Operations Manager 2012 roles discovered and their upgrade state in one single layout with an instance detail widget to show important notes and instance property values.

image

After the Sample Upgrade Helper management pack is imported, the upgrade state of each of the main Operations Manager 2012 roles discovered can viewed in the Monitoring workspace in the Sample Operations Manager R2 Upgrade MP Dashboard under the Sample Operations Manager R2 Upgrade MP folder.

image

It may take up to a few minutes for discovery to run and instances to be discovered after the management pack is imported.
If all the main Operations Manager 2012 roles discovered in the management group have been upgraded, the overall upgrade state is Healthy. If it is not upgraded, a Warning appears.

image

Upgrade state of the RMS Emulator in the management group. If upgraded, the upgrade state is Healthy. If not upgraded, a Warning appears.

image

Upgrade state of the additional management servers in the management group. If upgraded, the upgrade state is Healthy. If not upgraded, a Warning appears.

image

Upgrade state of the gateway servers in the management group. If upgraded, the upgrade state is Healthy. If not upgraded, a Warning appears.

image

Upgrade state of the Windows agents in the management group. If upgraded, the upgrade state is Healthy. If not upgraded, a Warning appears.

image

Instance Detail Widget to show additional information and notes:

image

Important Notes:

  • For all Information on Upgrading System Center 2012 SP1 - Operations Manager to System Center 2012 R2, go to https://technet.microsoft.com/en-us/library/dn249707.aspx
  • This management pack does not discover, monitor or display the upgrade state of Operations Manager 2012 roles other than the ones mentioned at the top. For example,  it does not provide the upgrade state of cross-platform agents and the Reporting server role.
  • This management pack only monitors the registry value of all discovered Operations Manager roles for the current version of the Operations Manager installation. It does not provide or run any pre or post upgrade checks. For more information on the Pre-Upgrade Tasks When Upgrading to System Center 2012 R2 Operations Manager, go to https://technet.microsoft.com/en-us/library/dn249704.aspx
  • The discoveries and monitors are configured to run at an agressive sample frequency to force faster detection rates and property value updates (30 seconds for the monitors and 300 seconds for discoveries). Use an override to modify the sample frequency value for the monitors and discoveries if required.
  • Obtain verified recent BACKUPS  of the operational database and the data warehouse database before upgrading. You should also create backups of databases for optional features, such as the Reporting and the ACS database before you upgrade them.
  • Starting the upgrade from the Management Server hosting the RMS Emulator Role is OPTIONAL. Upgrade can start from any management server in the management group.
  • When upgrading multiple management servers in a distributed management group, only start upgrade of additional management servers until AFTER SETUP ON THE FIRST MANAGEMENT SERVER COMPLETES. Failing to do so can result in database issues. For more information on How to Upgrade a Management Server to System Center 2012 - Operations Manager - Upgrading a Distributed Management Group, go to https://technet.microsoft.com/en-us/library/dn249721.aspx

Additional example with the Sample Upgrade Helper MP for 2012 SP1 to 2012 R2:

Disclaimer:  

All information on this blog is provided on an as-is basis with no warranties and for informational purposes only. Use at your own risk. The opinions and views expressed in this blog are those of the author and do not necessarily state or reflect those of my employer.