IT Pro VS. SCOM 2012 R2 upgrade

I put this blog together to provide a walk-through around how I typically upgrade a SCOM Management Group. 

This blog post is intended to be used as a reference when upgrading to System Center 2012 R2 Operations Manager. It is not intended to be used in place of the official Microsoft documentation. Please review the upgrade guidance from Microsoft located here

Lab Environment

Below you will find a quick description of my lab.  My SCOM servers are Server 2012 virtual machines running on Server 2012 R2 Hyper-V hosts.

Management Servers (2)

  • SCOM2012a (virtual Machine on host Hyper01, Operations Manager Console Role)
  • SCOM2012b (virtual machine on host Hyper02, RMS Emulator, Operations Manager Console Role, Web Console Role)

Database Server (1)

  • SQL2012a (virtual machine on host Hyper02, hosting the OperationsManager and OperationsManagerDW databases, Reporting Role)

Pre-Upgrade checks and steps

  1. Verify the management group is health by viewing the Management Group Health Dashboard under the Operations Manager folder in the Monitoring space.
    clip_image001
    Make sure to correct any issues found. DO NOT attempt to upgrade an unhealthy management group. In my experiences upgrading an unhealthy management group does not fix the problem but only makes things harder to troubleshoot.
  2. I also double check and make sure the Management Configuration Service is healthy (I find the health state of the configuration service is not rolled up correctly to the dashboard above). From the Monitoring Space, navigate to the Operations Manager \ Management Configuration Service folder and click on the Services State. Verify each of your management servers is showing healthy.
    clip_image002
  3. Remove all agents from pending management.  In my case, I selected each of the servers and rejected them.
    clip_image003
  4. Disable all Notification subscriptions
  5. Backup the OperationsManager and OperationsManagerDW databases or verify you have a recent backup.
    clip_image004
    For my lab, I opened Microsoft SQL Server Management Studio and backed up each of the databases. 
    Check out the following screen shots to see how:
    clip_image007
    clip_image008
    clip_image005
    clip_image006

Upgrade the Management Server(s)

The first Management Server I like to start with is the one that’s the  RMS emulator and also a member of the All Management Servers Resource Pool
Note: If you run into a case where the RMS Emulator is not a member of the the All Management Servers Resource Pool you should move the role to a mgmt server that is. 

To determine the RMS Emulator from the Operations Manager Shell run:
Get-SCOMRMSEmulator
Then review the results.

To determine membership of the “All Manageement Server Resource Pool” from the Operations Manager Shell run the commands below:
$MSPool = Get-SCOMResourcePool -DisplayName ‘All Management Servers Resource Pool’
$MSPool.Members

Example:
clip_image009

Now that we determined our starting Management Server, lets run setup from the System Center 2012 R2 Operations Manager media.
clip_image010
Notice the new option for downloading the latest updates to the setup program. This was not checked by default so I decided to select this options to try it out.  Click Install.

clip_image011
Setup has correctly found the SCOM Roles installed on this server and it is reminding us to backup the databases, as I did this earlier (above) I am going to click Next.

clip_image012
I see this is a Eval EULA from Microsoft so we will need to register the product again after the upgrade (more on that later). You should make sure you have access to your Product key. Click Next.

clip_image013
Make sure you have the correct location and space then click Next.

clip_image014
On the Prerequisites page, Setup has added a new prerequisite for Report Viewer 2012 (I noticed in the Microsoft documentation and was kind of expecting this).
I clicked on the Expand button to see where to go to download Report Viewer 2012.

clip_image015
Luckily, I have internet access on this server so I will click on the link and download the new Report Viewer 2012 controls.  If you do not have internet access you will need to download the Report Viewer 2012 ahead of time.

Now, after downloading and attempting to install the new Report Viewer I am told I first need the Microsoft System CLR Types for SQL Server 2012.  It would have been nice to see the initial prereq checker inform me of this first. 

clip_image016
Also, It’s a a real bummer that the message does not point us in the correct direction. After a quick Bing search I found the following – http://www.microsoft.com/en-us/download/details.aspx?id=29065

FYI….the trick is not to click on the big DOWNLOAD button but to drill down through the Install Instructions and look for the Microsoft System CRL Types for Microsoft SQL Server 2012 (screen shot below).
clip_image017
Make sure to download the X64 package and click Run

clip_image018
Click Next.

clip_image019
Accept and click Next.

clip_image020
Click Install.

clip_image021
Click Finish.

Drat….looks like the upgrade requires at least one reboot.
clip_image022
Click Yes.

After the reboot, I restarted Setup and clicked though until I got back to the prerequisites page.

I again attempted to install the Microsoft Report Viewer 2012 Runtime.

clip_image023
Click Next.

clip_image024
Accept and click Next.

clip_image025
Click Install.

clip_image026
Click Finish.

clip_image027
Once the install was complete I clicked on Verify Prerequisites Again.
Looks like we are good. Click Next

clip_image028
We need to specify the Configuration service and Data Access service account. Easiest way is to look at the service in computer management and see what you used the first time you installed SCOM (see my lab example below)
clip_image029

For my Management Group, I clicked on selected Domain Account and added the correct information. Click Next when you are complete.

clip_image030
OK here we go!!! Click Upgrade.

clip_image031
Screen shot of Upgrade running…

clip_image032
First Management Server is complete!!!  Also, so is the OperationsManager and OperationsManagerDW databases, Web Console Role and Operations Console.

Check out how Microsoft added the warning indicating the product needs to be registered.  I think this was a nice touch and helpful reminder (we will get to this later).

Next, I will repeat this process on my other management server then Gateways. You will need to repeat this for every management server in the management group. I would recommend the following order:

  1. All management servers that are members of the All Management Servers Resource Pool
  2. All management servers that are members of a resource pool being used for Network Monitoring
  3. All management servers that are members of a resource pool being used for UNIX Monitoring
  4. All other management servers
  5. Gateway Servers

Note: it is important you only upgrade one Management Server at a time. Wait until one has finished before moving on to the next one.

Reporting Upgrade

Next up is my SCOM Reporting Role located on my SQL Server (SQL2012a).  Kick off  Setup from your SQL Server where SCOM 2012 SP1 Reporting Role is installed.

clip_image010
Click Install.

clip_image001[7]
Setup has detected the Reporting Role.  Click Next.

clip_image002[7]
Accept the EULA and click Next.

clip_image003[7]
Make sure the location is correct and click Next.

clip_image004[9]
Click Next.

clip_image005[6]
Click Upgrade

clip_image006[6]
Click Close

Verify the Health of your SCOM 2012 R2 Infrastructure

Before I move on and upgrade my agents, I like to make sure all my SCOM infrastructure roles are healthy.  Open the Operations Manager Console and navigate to the Management Group Health dashboard. 
clip_image001[9]

Verify the version is 7.1.10226.0 by navigating to Administration \ Device Management \ Management Servers.
image

Upgrade Agents to SCOM 2012 R2

There are many different way to upgrade your SCOM agents.  Sometimes this depends on how you initially deployed your SCOM agents.  All of the agents in my lab were deployed using the Discovery wizard.   If you would like to use the method I used below it will only work for agents that are set to “Yes” on the Remotely Manageable property.  You can check this be going to Administration \ Device Management \ Agent Managed and personalize your view to display this column (sample below. 
image

For Agents that are Remotely Manageable, navigate to Administration \ Device Management \ Pending Management
clip_image003[9]
Select the agents and click on Approve.

clip_image004[11]
Enter in a account that has Local Admin rights on the servers you selected above and click Upgrade.

clip_image005[8]
Hmmm…Looks like I had one failure on the agent upgrade.

clip_image006[8]
A closer look tells me it has something to do with the operations system verification on that server.

BTW….The complete log is found on the management sever the agent is assigned to, in this case SCOM2012a. In my case ‘C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\AgentManagement\AgentLogs’.
clip_image007[6]

In this case, I needed to use a different user name and password for that server.  I tried again using a different user name and password and the upgrade worked.

To verify the agent version after the upgrade you need to wait a few minutes to allow the new version to be discovered and updated in the database before it will display correctly. 
clip_image008[6]
Once a few minutes have gone by, I noticed my agents in Agent Managed were updated to the R2 version.

Register SCOM 2012 R2

Just like in the previous version, in order to register SCOM 2012 R2 you need to run PowerShell from an elevated command prompt.

  1. Load the module for Operations Manager by typing:
    get-module ‘Operations Manager’
  2. Connect to the management group by typing:
    New-SCOMManagementGroupConnection -ComputerName ‘localhost’
    I am running this on a management server so I used ‘localhost’, if you are running this from your workstation type in the name of the management server you would like to connect to.
  3. Register the productID by typing:
    Set-SCOMLicense -ProductId ‘your-key-here’
    and type ‘Y’ to confirm.
    image

At this point you should be fully upgraded to the new SCOM 2012 R2 and ready to start using the new feature. 
Thanks!!
Rob

Advertisements

3 thoughts on “IT Pro VS. SCOM 2012 R2 upgrade

  1. Helpful walkthrough Rob. BTW, you’ve squiggled out the product key in your command in the final screenshot, but it’s listed again in the confirmation text just below it. 🙂

    Incidently, your product key is exactly the same as ours! So I guess it is a generic key?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s