Archive for January 2012
18
Prepare your environment to Operations Manager 2012 – Part II Updating the SQL Server
No comments · Posted by Christopher Keyaert in Uncategorized
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
We’re starting a new SQL installation ![]()
Select SQL Server Feature Installation ![]()
Check at least the check boxes below ![]()
Use the default instance, or create a new one, depending of your environment. ![]()
Review the information and click on next. ![]()
Configure your Run As Account for the SQL Server. ![]()
In the Collation Tab, select SQL_Latin1_General_CP1_CI_AS and click next. ![]()
Specify the SQL Admins for your new SQL Server. ![]()
Select Install the Native Mode Default Configuration and click Next. ![]()
Just review the information and click on Next. ![]()
Just review the information and click on Next. ![]()
Just review the information and click on Install.![]()
Installation Completed Successfully. ![]()
It’s now time to install the SP1, run the SQLServer2008R2SP1-KB2528583-x64-ENU.exe that you have previously downloaded on Microsoft Website. ![]()
Accept the license terms and click next. ![]()
Review the information and click on next. ![]()
Review the information and click on next. ![]()
Review the information and click on update. ![]()
SP1 has been successfully installed. ![]()
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. ![]()
SQL Server 2005 : Backup the DBs
Go on your SQL Server 2005, start the SQL Management Studio, select OperationsManagerDB, Tasks, Backup.
Select the backup location for your Operations DB. ![]()
In the options, check Verify backup when finished and click on OK. ![]()
The backup of the Operations Manager DB completed successfully. ![]()
Do exactly the same operations than above for the Data Warehouse DB. ![]()
We’ve got now, two DB Backup files. ![]()
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. ![]()
Select restore from Device and add the backup file of your OperationsManager DB and click OK ![]()
Check the Restore box next your DB name. ![]()
In the Destination for restore, you are now able to specify the OperationsManager DB. ![]()
Review all the information, and click on OK. ![]()
Do exactly the same for the Data Warehouse DB. ![]()
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. ![]()
In the User Mapping part, we have to copy exactly the same rights that we have on the SQL Server 2005.
Replicate the exact same configuration, for each Maps to the SQL Server 2008 R2 SP1. ![]()
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. ![]()
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 |
Click on Execute and check the result. ![]()
Now, in the OperationsDB, search for the table dba.MT_ManagementGroup. ![]()
Change the SQLServerName_6B1D1BE8_EBB4_B425_08DC_2385C5930B04 value from your SQL Server 2005 server name to the SQL Server 2008 server name. ![]()
Go on your OperationsManagerDW Db, select the table dbo.MemberDatabase. ![]()
Change the ServerName value from your SQL Server 2005 name to the SQL Server 2008 name. ![]()
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. ![]()
Launch the RegEdit and look for the key HKEY_LOCAL_MACHINESOFTWAREMicrosoftMicrosoft Operations Manager3.0Setup
We have to change the DatabaseServerName value to point to our new SQL Server. ![]()
Start the 3 Operations Manager Services on the RMS and the System Center Management service on the MS. ![]()
In the Event Logs, you must see these events. ![]()
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>
Rename the group to the following by removing "_50" from the group name:
SQLServerReportServerUser$<hostname>$MSRS10.<SQLInstanceName>
Install System Center Operations Manager 2007 R2 Reporting.
Select only the Reporting Server Part.
Specify the name of you RMS server.
Specify the name of your new SQL Server.
Review the information and click on Next.
The Reporting is Back in SCOM Console.
After you install System Center Operations Manager 2007 R2 Reporting, rename SQLServerReportServerUser$<hostname>$MSSRS10.<SQLInstanceName>
back to original name SQLServerReportServerUser$<hostname>$MSSRS10_50.<SQLInstanceName> ![]()
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
17
Techdays 2012 Belgium : My agenda
No comments · Posted by Christopher Keyaert in Uncategorized
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
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
Christopher Keyaert – Ops Mgr MVP
14
Prepare your environment to Operations Manager 2012 – Part I Actions Plan
No comments · Posted by Christopher Keyaert in Uncategorized
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.
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.
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.
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.
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.
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.
and finally, we will remove the Management Server which is running Windows Server 2003 R2 SP2 X64.
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
12
SCOM / OpsMGr : What does the Root Management Server Emulator (RMSE) actually do
No comments · Posted by Christopher Keyaert in Uncategorized
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
9
SCOM 2012 : How to move RMS Emulator role
No comments · Posted by Christopher Keyaert in Uncategorized
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. ![]()
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. ![]()
Now, if you want to move this role to another, simply execute the command : Get-SCOMManagementServer -Name "NewServerThatWillHostRMSEmulatorRole" | Set-SCOMRMSEmulator![]()
You could confirm the move of the RMS Emulator role by retyping the command : GET-SCOMRMSEmulator![]()
Or by looking on in the SCOM Console :![]()
Cheers
Christopher KEYAERT
http://twitter.com/keyaertc


