You are browsing the archive for 2012 January.

Prepare your environment to Operations Manager 2012 – Part II Updating the SQL Server

2:29 pm in Uncategorized by Christopher Keyaert

Hi All,

As promise, the second part of this series will show you to how to update your Operations Manager 2007 R2 infrastructure from SQL Server 2005 to SQL Server 2008 R2 SP1.

Pre-requisites

Resources

I invite you first to read my previous post : Prepare your environment to Operations Manager 2012 – Part I Actions Plan

Marnix Wolf, an Operations Manager MVP, already posted a series about the same subject, and I really advise you to read it :

Preparing for migrating to OM12: Moving from SQL 2005 to SQL 2008 – Part I: Along came a theory
Preparing for migrating to OM12: Moving from SQL 2005 to SQL 2008 – Part II: Phase I – The Preparations
Preparing for migrating to OM12: Moving from SQL 2005 to SQL 2008 – Part III: Phase II – The Migration

 

Infrastructure

Below, the pre-requisites from a infrastructure point of view :

  • Your current SCOM 2007 R2 Infrastructure must be at least Cumulative Update 4 (CU4) Level, but my personal advice it’s to update it first to the last Cumulative Update, the CU5.
  • A brand new server running Windows Server 2008 R2 SP1.
  • .Net Framework 3.5.1 role installed.
  • Microsoft SQL Server R2 2008 source +  SP1 Package.
  • Add you SQL Service Account to the local administrator group of the new server.
  • Backup all your SCOM 2007 R2 Infrastructure.

SQL Server 2008 R2 installation

let’s starting
image

We’re starting a new SQL installation
image

Select SQL Server Feature Installation
image

Check at least the check boxes below
image

Just click on next.
image

Use the default instance, or create a new one, depending of your environment.
image

Review the information and click on next.
image

Configure your Run As Account for the SQL Server.
image

In the Collation Tab, select SQL_Latin1_General_CP1_CI_AS and click next.
image

Specify the SQL Admins for your new SQL Server.
image

Select Install the Native Mode Default Configuration and click Next.
image

Just review the information and click on Next.
image

Just review the information and click on Next.
image

Just review the information and click on Install.image

Installation is in progress.
image

Installation Completed Successfully.
image

It’s now time to install the SP1, run the SQLServer2008R2SP1-KB2528583-x64-ENU.exe that you have previously downloaded on Microsoft Website.
image

image

Accept the license terms and click next.
image

Review the information and click on next.
image

Review the information and click on next.
image

Review the information and click on update.
image

Update is in progress.
image

SP1 has been successfully installed.
image

 

Report Server Uninstallation

You must back up any custom reports that were authored outside of Operations Manager 2007. For more information about this, see Moving the Report Server Databases to Another Computer in the SQL Server 2008 Books Online (http://go.microsoft.com/fwlink/?LinkId=151513).

Go to your current SCOM reporting Server, Add and Remove Programs menu and uninstall the System Center Operations Manager 2007 R2 Reporting Server.
image

Uninstallation in progress.
image

 

SQL Server 2005 : Backup the DBs

Go on your SQL Server 2005, start the SQL Management Studio, select OperationsManagerDB, Tasks, Backup.

image

Select the backup location for your Operations DB.
image

In the options, check Verify backup when finished and click on OK.
image

The backup of the Operations Manager DB completed successfully.
image

Do exactly the same operations than above for the Data Warehouse DB.
image

We’ve got now, two DB Backup files.
image

 

SQL Server 2008 R2 SP1 : Restoring the DBs

It’s now time to go on your brand new SQL Server 2008 R2 SP1 server to restore the two databases.

Start the Sql Management Studio and choose Restore Database.
image

Select restore from Device and add the backup file of your OperationsManager DB and click OK
image

Check the Restore box next your DB name.
image

In the Destination for restore, you are now able to specify the OperationsManager DB.
image

Review all the information, and click on OK.
image

Do exactly the same for the Data Warehouse DB.
image

Both DBs are now available.
image

Now, we have to authorize the SCOM service accounts to connect to these newly restored DBs. For that simply go Sql Management Studio, Security Logins and do a right click, chose new login.
image

In the User Mapping part, we have to copy exactly the same rights that we have on the SQL Server 2005.

On the SQL Server 2005 :
image

Replicate the exact same configuration, for each Maps to the SQL Server 2008 R2 SP1.
image

If you are using several account to connect to the different Database, apply the same than what we did above for all your accounts. For my lab environment, I just have a second account.
image

We have to Enable the CLR on the Operations Manager DB on the SQL Server 2008 R2 SP1 server. Just copy past the query below.

sp_configure ‘show advanced options’, 1;

GO

RECONFIGURE;

GO

sp_configure ‘clr enabled’, 1;

GO

RECONFIGURE;

GO

image

Click on Execute and check the result.
image

Now, in the OperationsDB, search for the table dba.MT_ManagementGroup.
image

Select Edit Top 200 Rows.
image

Change the SQLServerName_6B1D1BE8_EBB4_B425_08DC_2385C5930B04 value from your SQL Server 2005 server name to the SQL Server 2008 server name.
image

Go on your OperationsManagerDW Db, select the table dbo.MemberDatabase.
image

Select Edit Top 200 Rows.
image

Change the ServerName value from your SQL Server 2005 name to the SQL Server 2008 name.
image

Enable the SQL Broker, for that, take a look to Alexander’s post : http://scug.be/blogs/scom/archive/2008/11/22/the-sql-server-service-broker-for-the-current-opsmgr-database-is-not-enabled.aspx

 

RMS & MS : Changing the link to the DB server

We now have to change the SQL server reference on the RMS server and every MS to point to the new SQL Server. For that, stop the three System Center Services.
image

Launch the RegEdit and look for the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Setup

image

We have to change the DatabaseServerName value to point to our new SQL Server.
image

Start the 3 Operations Manager Services on the RMS and the System Center Management service on the MS. 
image

In the Event Logs, you must see these events.
image

image

 

Last but not least, the reporting server.

Microsoft released a KB for running Operations Manager 2007 R2 on SQL Server 2008 R2 KB245714. http://support.microsoft.com/kb/2425714

Open Computer Management, in the Computer Management MMC snap-in, expand System Tools, expand Local Users and Groups, and then click Groups.

Locate the following group:
SQLServerReportServerUser$<hostname>$MSRS10_50.<SQLInstanceName>
image

Rename the group to the following by removing "_50" from the group name:
SQLServerReportServerUser$<hostname>$MSRS10.<SQLInstanceName>
image

Install System Center Operations Manager 2007 R2 Reporting.
image

image

image

Select only the Reporting Server Part.
image

Specify the name of you RMS server.
image

Specify the name of your new SQL Server.
image

Review the information and click on Next.
image

Click on Next.
image

Click on Next.
image

Click on Install.
image

Installation in progress.
image

Installation done.image

The Reporting is Back in SCOM Console.
image

After you install System Center Operations Manager 2007 R2 Reporting, rename SQLServerReportServerUser$<hostname>$MSSRS10.<SQLInstanceName>
image

back to original name SQLServerReportServerUser$<hostname>$MSSRS10_50.<SQLInstanceName>
image

We could now remove the SQL Server 2005 and enjoy our new SQL Server 2008 R2 SP1.

I hope this post will help you to prepare your environment to be ready for SCOM2012. The next post of this series will show you how to migrate your RMS role from Windows Server 2003 SP2 to Windows Server 2008 R2 SP1.

Christopher Keyaert – Ops Mgr MVP

mvp_avatar

Techdays 2012 Belgium : My agenda

2:21 pm in Uncategorized by Christopher Keyaert

Hi,

The TechDays 2012 Belgium will happen between the FEB 14 and FEB 16 in Belgium at KinePolis Imagibraine. During these 3 days, a lot of IT Pro sessions will be delivered, the complete list is available http://www.microsoft.com/belux/techdays/2012/Home.aspx

image

My Agenda for the TechDays :

Monitoring and Operating a Private Cloud with System Center 2012
Speaker : Adam Hall | Level : 300
Date : 14 February 2012 | Timeslot : 10:45 – 12:00
Themes : Cloud, Virtualization, ITPRO, Level 300, Hyper-V, System Center, Windows Server 2008 R2
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=232
Configuring and Deploying a Private Cloud with System Center 2012
Speaker : Adam Hall | Level : 300
Date : 14 February 2012 | Timeslot : 13:00 – 14:15
Themes : Cloud, Virtualization, Windows Server 2008 R2, System Center, ITPRO, Level 300, Hyper-V
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=231
The Private Cloud, Principles, Patterns and Concepts
Speaker : Tom Shinder | Level : 300
Date : 15 February 2012 | Timeslot : 13:00 – 14:15
Themes : Cloud, Level 300, ITPRO, Virtualization
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=252
Private Cloud Day Session 1: Building your Private Cloud Infrastructure
Speaker : Kurt Roggen | Level : 300
Date : 16 February 2012 | Timeslot : 09:00 – 10:15
Themes : Deep Dive Post-conference, Cloud Computing, Virtualization
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=284
Private Cloud Day Session 2: Creating & Configure your Private Cloud
Speaker : Kurt Roggen | Level : 300
Date : 16 February 2012 | Timeslot : 10:45 – 12:00
Themes : Cloud, Deep Dive Post-conference
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=285
Private Cloud Day Session 3: Monitor & Operate your Private Cloud
Speaker : Mike Resseler | Level : 300
Date : 16 February 2012 | Timeslot : 13:00 – 14:15
Themes : Cloud, Deep Dive Post-conference, ITPRO
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=256
Private Cloud Day Session 4: Automating & Delivering Services in your Private Cloud
Speaker : Mike Resseler Kurt Roggen | Level : 300
Date : 16 February 2012 | Timeslot : 14:30 – 15:45
Themes : Cloud, Virtualization, Level 300, ITPRO, Deep Dive Post-conference
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=255
Private Cloud Day Session 5: A Solution for Private Cloud Security
Speaker : Tom Shinder | Level : 300
Date : 16 February 2012 | Timeslot : 16:15 – 17:30
Themes : Cloud, Virtualization, Deep Dive Post-conference, ITPRO, Level 300
Type : IT Pro
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=253

Techdays_352x193

Christopher Keyaert – Ops Mgr MVP

mvp_avatar

Prepare your environment to Operations Manager 2012 – Part I Actions Plan

8:16 pm in Uncategorized by Christopher Keyaert

Hi all,

I will start this new series of posts about Operations Manager 2012 by explaining how to prepare your SCOM2007 environment to move to SCOM2012. The very first step to do before updating OM itself is to update the existing environment configuration, OS and DB, to be compliant with the OM2012 requirements.

Hopefully for us, you will see that there is several OS and DB configurations supported by bot Operations Manager releases, OM2007 and OM2012.

I invite you to take a look to the information available on Microsoft TechNet :

Operations Manager 2007 R2 Supported Configurations
http://technet.microsoft.com/en-us/library/bb309428.aspx

Operations Manager 2012 Supported Configurations
http://technet.microsoft.com/en-us/library/hh205990.aspx

I did a summary of he OS and DB configurations information in the tables below :

Supported Configuration for OM2007 and OM2012

Management Server supported configuration :

OS Configuration

SCOM 2007 R2

SCOM 2012

Windows Server 2003 SP2 X86

Supported

Not Supported

Windows Server 2003 SP2 X64

Supported

Not Supported

Windows Server 2003 R2 SP2 X32

Supported

Not Supported

Windows Server 2003 R2 SP2 X64

Supported

Not Supported

Windows Server 2008 SP2 X86

Supported

Not Supported

Windows Server 2008 SP2 X64

Supported

Not Supported

Windows Server 2008 R2 SP1

Supported

Supported

DB Server supported configuration :

OS Configuration

SCOM 2007 R2

SCOM 2012

Windows Server 2003 SP2 X86

Supported

 

Windows Server 2003 SP2 X64

Supported

Not Supported

Windows Server 2003 R2 SP2 X32

Supported

Not Supported

Windows Server 2003 R2 SP2 X64

Supported

Not Supported

Windows Server 2008 SP2 X86

Supported

Not Supported

Windows Server 2008 SP2 X64

Supported

Supported

Windows Server 2008 R2 SP1

Supported

Supported

          

DB Configuration

SCOM 2007 R2

SCOM 2012

SQL Server 2005 SP1/SP2/SP3/SP4

Supported

Not Supported

SQL Server 2008 SP1

Supported

Supported

SQL Server 2008 SP2

Supported

Not Supported

SQL Server 2008 R2 RTM/SP1

Supported

Supported

As you can see, several configurations are supported by OM2007 and OM2012.

The actions plan – Theory Part

In this posts series, we will work on a really small SCOM 2007 R2 infrastructure. We just have, one DB server and one Root Management Server. Concerning the configuration, both are running Windows Server 2003 R2 SP2 X64 and the Operations Manager DBs are hosted on SQL Server 2005 SP3.

image

As we could conclude from the tables above, our current Operations Manager 2007 infrastructure is not eligible for Operations Manager 2012. We have to update the Operating Systems on both servers and the SQL Server version must be also updated.

Updating the DB server

As we have to move from SQL Server 2005 to SQL Server 2008 R2 SP1, we will install a brand new server which will run Windows Server 2008 R2 SP1 and SQL Server 2008 R2 SP1.

image

We will move the Operations Manager 2007 DBs from the old SQL Server 2005 to the new SQL Server 2008 R2 SP1. Don’t worry  too much about this part, the second post of this series will explain in detail how to move the Operations Manager DBs from SQL 2005 to SQL 2008.

image

Once done, we will remove the old SQL Server from our infrastruture.

Updating the RMS server

Now that our Operations Manager is running on the new SQL Server 2008, we will update the RMS. Our Root Management Server is currently running Windows Server 2003 R2 SP2 X64. To be compliant to SCOM2012, we will have to update it to Windows Server 2008 R2 SP1.

image

For doing this update, we will first install a brand new server running Windows Server 2008 R2 SP1 and install it as a new Management Server in our current SCOM 2007 R2 infrastructure.

image

Once done, we have to promote our brand new Management Server as Root Management Server of our OM infrastructure. The old RMS will be retrograded to a Management Server role.

image

and finally, we will remove the Management Server which is running Windows Server 2003 R2 SP2 X64.

image

We have now an environment eligible to Operations Manager 2012.

Conclusion

As we noticed, there is several step to accomplish. This first post was the actions plan, the theory, in my next posts, we will do it in practice.

Stay tune for the next post, in which I will explain in detail how to move the Operations Manager DBs from SQL Server 2005 to SQL Server 2008 R2 SP1.

Resources

Microsoft System Center Operations Manager 2007 R2 download
http://technet.microsoft.com/en-us/evalcenter/bb738014.aspx

Microsoft System Center Operations Manager 2012 RC download
http://www.microsoft.com/download/en/details.aspx?id=27974

Operations Manager TechNet Forums
http://social.technet.microsoft.com/Forums/en-US/category/systemcenteroperationsmanager

Christopher Keyaert – Ops Mgr MVP
mvp_avatar   

SCOM / OpsMGr : What does the Root Management Server Emulator (RMSE) actually do

8:43 am in Uncategorized by Christopher Keyaert

Cameron Fuller, a well know Ops Mgr MVP, wrote a really good post about What does the Root Management Server Emulator actually do.

His summary :

The RMS Emulator only provides backward compatibility to management pack using things which target the ‘Root Management Server’ class instance (Target=”SC!Microsoft.SystemCenter.RootManagementServer). The RMS emulator is hosted on a management server and as such it does a lot of activities that aren’t specific to the RMSE role. Everything else the RMS used to be responsible for is managed by the “All Management Servers Resource Pool”, the “Notifications Resource Pool” and the “AD Assignment Resource Pool”.

I really invite you to read the complete story available : HERE

Christopher

SCOM 2012 : How to move RMS Emulator role

10:10 am in Uncategorized by Christopher Keyaert

Hi,

As you probably know, in SCOM 2012, there is no RMS role anymore. For keeping backward compatibility with some management packs that required the RMS role, Microsoft created the RMS Emulator role.

By default this role is hosted on the first management server that you installed.
image

As you can see, SCOM2012.vnext.be server is hosting the RMS Emulator role. This is confirmed by the following PowerShell command : GET-SCOMRMSEmulator command-let.
image

Now, if you want to move this role to another, simply execute the command : Get-SCOMManagementServer -Name "NewServerThatWillHostRMSEmulatorRole" | Set-SCOMRMSEmulatorimage

You could confirm the move of the RMS Emulator role by retyping the command : GET-SCOMRMSEmulatorimage

Or by looking on in the SCOM Console :image

Cheers
Christopher KEYAERT
http://twitter.com/keyaertc

MVP Microsoft 2012 !!!

8:25 pm in Uncategorized by Christopher Keyaert

image

Two days ago, I received the Microsoft MVP award for the first time. I’m really happy and proud of this status. I will continue to do my best for sharing my knowledge with the System Center Community.

I would like to thank you all my readers, the persons who follow me on tweeter, SCUG.be Team, Microsoft and of course the System Center Community.

Thank you
Christopher

SCOM 2007 : The error is 0x80FF0066(0x80FF0066).

3:57 pm in Uncategorized by Christopher Keyaert

Hi Guys,

First day back to work after the Xmas holidays and first error of the year Open-mouthed smile
Below 3 events that I found on a customer server, that was not reporting to Operations Manager anymore.

Event Type:    Error
Event Source:    HealthService
Event Category:    Health Service
Event ID:    1220
Date:        1/3/2012
Time:        4:22:36 PM
User:        N/A
Computer:    xxxx
Description:
Received configuration cannot be processed. Management group "xxxx". The error is 0x80FF0066(0x80FF0066).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

image

Event Type:    Error
Event Source:    HealthService
Event Category:    Health Service
Event ID:    7022
Date:        1/3/2012
Time:        4:22:35 PM
User:        N/A
Computer:    xxxx
Description:
The Health Service has downloaded secure configuration for management group xxxx, and processing the configuration failed with error code 0x80FF0066(0x80FF0066).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

image

Event Type:    Warning
Event Source:    HealthService
Event Category:    Health Service
Event ID:    7004
Date:        1/3/2012
Time:        4:22:35 PM
User:        N/A
Computer:    xxxx
Description:
The Health Service received a secure message from management group xxxx which was encrypted using the wrong public key.  This message has been discarded and the public key will be re-published.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

image

The root cause is a missing registry key on the server. Take a look to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\UCBOM2007\SSDB\References

On the non working server :
image

On a working server :
image

When you compare the both servers, you notice that the following registry key is missing :

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\xxxx\SSDB\References\92f8f803-0763-f491-2480-274bfc4126f9]
@="01020202020202020202020202020202020202020200000000000000000000000000000000000000"

Just import the missing registry key from the working server to the non working server, and after a few seconds, the event below will appear, problem fixed Smile

Event Type:    Information
Event Source:    OpsMgr Connector
Event Category:    None
Event ID:    21025
Date:        1/3/2012
Time:        4:28:37 PM
User:        N/A
Computer:    xxxx
Description:
OpsMgr has received new configuration for management group xxxx from the Configuration Service.  The new state cookie is "24 58 21 8C 7C D4 70 68 B2 87 1A 52 EA BE 7F 66 43 10 FC A7 "

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

image

If you want more information about this issue, I invite you to read the two followings posts :

http://thoughtsonopsmgr.blogspot.com/2009/02/eventid-7024.html
http://www.systemcentercentral.com/tabid/60/indexId/34058/tag/Forums+Operations_Manager/Default.aspx#vindex56241

Cheers
Christopher KEYAERT
http://twitter.com/keyaertc