TAG | operations manager
19
How to access to SCOM 2012 SP1 Web Console from Windows Server 2003 SP2 / Windows Xp / …
No comments · Posted by Christopher Keyaert in Uncategorized
Hello All,
I had a customer that is running SCOM 2012 SP1 as monitoring platform, but he is using a Windows Server 2003 SP2 Citrix image as terminal server, and he wants to be able to access to the SCOM Web Console from that terminal server.
The first time that you access to the SCOM Web Console, you have to configure the Silverlight installation.
But, when you tried that to configure it on a Windows XP SP3, Windows Server 2003 OS, it crashes with the following error:
The procedure entry point LocaleNameToLCID could not be located in the dynamic link library Kernel32.dll
The problem is explained on Mihai’s blog, but the proposed fix only works for SCOM 2012 and it doesn’t work anymore for SCOM 2012 SP1.
http://blogs.technet.com/b/mihai/archive/2012/05/08/making-the-om-2012-web-console-accessible-from-a-windows-xp-client.aspx
Now, how to get this working with SCOM 2012 SP1?
- Download the .reg file on Mihai’s blog
-
Double click on it and accept the registry modification
- Start a MMC console and Add the certificates snap-in for the Local Computer store
- Expand Local Computer
Certificates Store > Trusted Publishers > Certificates - Remove all the Microsoft Corporation Microsoft Code Signing PCA certificates (the .reg file installed 3 certificates which are for SCOM 2012, in fact the one for SCOM 2012 SP1 is missing).
-
Download the attached certificate http://scug.be/christopher/files/2013/03/SCOM.zip
-
Import it to Local Computer
Certificates Store > Trusted Publishers > Certificates
- Restart internet explorer and go to the SCOM Console Website
- Enjoy J
Tim has a really good solution to automate that task by GPO, just use the certificate that I provided in step 6.
http://www.scom2k7.com/scom-2012-web-console-configuration-no-longer-required/
Cheers
Christopher
24
SCOM 2012 SP1 : OMServer.msi returned error 1603
No comments · Posted by Christopher Keyaert in Uncategorized
Hi all,
On Tuesday, I was at a customer location to install a new SCOM 2012 SP1 environment. I checked the requirement for SCOM 2012 SP1 on TechNet :
http://technet.microsoft.com/en-us/library/jj656654.aspx#BKMK_RBF_ManagementServer
SCOM 2012 SP1 Management Server :
- Disk space: %SYSTEMDRIVE% requires at least 1024 MB free hard disk space.
- Server Operating System: must be Windows Server 2008 R2 SP1, Windows Server 2012, or Windows Server 2012 Core Installation.
- Processor Architecture: must be x64
- Windows PowerShell version: Windows PowerShell version 2.0, or Windows PowerShell version 3.0.
- Windows Remote Management: Windows Remote Management must be enabled for the management server.
- .NET Framework 4 is required.
The prerequisites check passed without any problem ![]()
With the following error :
11:11:16]: Always: :LaunchMsi: Launching C:\Infront\SCOM2012SP1RTM\Setup\AMD64\Server\OMServer.msi
[11:14:16]: Always: :MsiInstallProduct finished for msi C:\Infront\SCOM2012SP1RTM\Setup\AMD64\Server\OMServer.msi.
[11:14:16]: Always: :LaunchMSI: Setting rollback to true
[11:14:16]: Error: :LaunchMSI: MSI C:\Infront\SCOM2012SP1RTM\Setup\AMD64\Server\OMServer.msi returned error 1603
[11:14:16]: Error:
rocessInstalls: Install Item Management Server failed to install. We did not launch the post process delegate.
[11:14:16]: Always: :SetErrorType: Setting VitalFailure. currentInstallItem: Management Server
[11:14:16]: Info: :SetProgressScreen: FinishMinorStep.
I checked on Internet and found these 2 posts related to that error :
http://www.scom2k7.com/error-installing-scom-2012-omserver-msi-returned-error-1603/
http://thoughtsonopsmgr.blogspot.be/2013/01/om12-sp1-upgrade-beware-for-corrupt-iso.html
Everything was fine with the registry, I re-downloaded the source files from TechNet and also MSDN, started the installation again and it always failed with the same error message.
I decided to go back to TechNet and I checked the requirement for SCOM 2012 (Without SP1) : http://technet.microsoft.com/en-us/library/jj656649.aspx#BKMK_RBF_ManagementServer
SCOM 2012 Management Server :
- Disk space: %SYSTEMDRIVE% requires at least 1024 MB free hard disk space.
- Server Operating System: must be Windows Server 2008 R2 SP1.
- Processor Architecture: must be x64.
- Windows PowerShell version: Windows PowerShell version 2.0.
- Windows Remote Management: Windows Remote Management must be enabled for the management server.
- Microsoft Core XML Services (MSXML) version: Microsoft Core XML Services 6.0 is required for the management server.
- Both .NET Framework 3.5 Service Pack 1 (SP1) and .NET Framework 4 are required. For more information, see the following documents:
.NET Framework 3.5 SP1 redistributable package
.NET Framework 4 redistributable package
OH OH OH .NET Framework 3.5 SP1 is required for SCOM 2012 and not for SCOM 2012 SP1 ????? Are you really sure of that ??? Let’s try to install it on the server. After a few clicks, it’s installed.
Let’s give a another try….. and…. ![]()
BINGO, it was simply that !!! I had to install the .NET Framework 3.5 SP1. I already sent a mail to Microsoft and they will update the document on TechNet as soon as possible.
Cheers
Christopher
free hard disk · hard disk space · msi · operations manager · processor architecture
3
Upgrade to SCOM 2012 failed – SQL MPs involved
No comments · Posted by Christopher Keyaert in Uncategorized
Hey,
I recently tried to upgrade a customer pre-production environment from SCOM 2007 R2 to SCOM 2012. As usual, I followed my upgrade guide: http://scug.be/christopher/2012/10/23/upgrade-guide-from-scom-2007-to-scom-2012/
But this time, when I started the RMS upgrade part, it failed with the following errors:
The errors
Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0×80131904, Exception.Message: Column names in each table must be unique. Column name ‘Post_InstallPath_1ACC50C3_CE60_075D_18CF_BC3CAC665124′ in table ‘MT_AnalysisServices_Log’ is specified more than once.
Cannot find the object “dbo.MT_AnalysisServices_Log” because it does not exist or you do not have permissions.
Column names in each table must be unique. Column name ‘Post_InstallPath_1ACC50C3_CE60_075D_18CF_BC3CAC665124′ in table ‘MT_AnalysisServices_0_Log’ is specified more than once.
Cannot find the object “dbo.MT_AnalysisServices_0_Log” because it does not exist or you do not have permissions.
Column names in each table must be unique. Column name ‘Post_ServiceName_3F85503C_3D5E_19D8_0466_95AA9BB8AC05′ in table ‘MT_ReportingServices_0_Log’ is specified more than once.
Cannot find the object “dbo.MT_ReportingServices_0_Log” because it does not exist or you do not have permissions.
Column names in each table must be unique. Column name ‘Post_ServiceName_3F85503C_3D5E_19D8_0466_95AA9BB8AC05′ in table ‘MT_ReportingServices_Log’ is specified more than once.
Cannot find the object “dbo.MT_ReportingServices_Log” because it does not exist or you do not have permissions.
This upgrade failure completely crashed the environment as it let the SCOM2007 environment without any RMS. /!\ There is no automatic rollback process in case of RMS upgrade failure. /!\ The only choice that I had was to restore the complete environment from the snapshot that I took just before the upgrade proces.
It’s really mandatory for fixing this issue to have a SCOM environment up and running. When done, let’s try to understand what’s happened and find a way to fix it.
The debug
As we could see in the error logs above, there is a problem with the following 2 tables:
- dbo.MT_AnalysisServices_log
- dbo.MT_ReportingServices_log
These two tables has been created in the OperationsManager DB by the import of the SQL Management packs. I will not focus on the _log tables, but directly on the “main tables”, dbo.MT_AnalysisServices and dbo.MT_ReportingServices.
dbo.MT_AnalysisServices
Connect to the SQL server and run the following query:
select * FROM dbo.ManagedTypeProperty where managedtypeid = ’1ACC50C3-CE60-075D-18CF-BC3CAC665124′
The query above will retrieve the properties available for the type AnalysisServices from the ManagedTypeProperty table. Below, the output of the column “ColumnName”:
|
Edition_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
InstallPath_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
PerformanceCounterObject_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
ServiceName_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
ServicePackVersion_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
Version_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
The second SQL query will retrieve the properties (Column name) that are available in the table MT_AnalysisServices:
SELECT COLUMN_NAME, COLLATION_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ‘MT_AnalysisServices’ AND ORDINAL_POSITION > 1 ORDER BY ORDINAL_POSITION ASC
Query result:
|
Edition_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
ServiceName_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
ServicePackVersion_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
InstanceName_97408C11_D1C8_5BCE_EF78_74F0473964F3 |
|
Version_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
DisplayName_55270A70_AC47_C853_C617_236B0CFF9B4C |
|
InstallPath_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
PerformanceCounterObject_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
|
ServiceClusterName_1ACC50C3_CE60_075D_18CF_BC3CAC665124 |
As you could see, there is some inconsistences between the properties available in the two tables. The properties DisplayName, InstanceName and ServiceClusterName are not available in the ManagedTypeProperty table for the type AnalysisServices.
For the two firsts values, DisplayName and InstanceName, the Microsoft Premier Support told me that was normal. I double checked in another environment and that seems to be true.
Now for the ServiceClusterName properties, there is a real problem, this properties must be available in both tables, so we already find a first problem here.
dbo.MT_ReportingServices
As, we already have one properties missing for the type AnalysisServices, we will now check if we have the same problem for the type ReportingServices.
Connect to the OperationsManager DB and run the following query:
select * FROM dbo.ManagedTypeProperty where managedtypeid = ’3F85503C-3D5E-19D8-0466-95AA9BB8AC05′
The result of the query:
|
Edition_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
InstallPath_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
ServiceName_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
ServicePackVersion_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
Version_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
The second SQL query will retrieve the properties (Column name) that are available in the table MT_ReportingServices:
SELECT COLUMN_NAME, COLLATION_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ‘MT_ReportingServices’ AND ORDINAL_POSITION > 1 ORDER BY ORDINAL_POSITION ASC
The result:
|
Edition_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
ServicePackVersion_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
InstanceName_97408C11_D1C8_5BCE_EF78_74F0473964F3 |
|
DisplayName_55270A70_AC47_C853_C617_236B0CFF9B4C |
|
InstallPath_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
Version_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
ServiceName_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
|
ServiceClusterName_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 |
We have exactly the same problem here, the property ServiceClusterName is also missing from the table ManagedTypeProperty for the type ReportingServices.
The fix
The ServiceClusterName property is missing from the ManagedTypeProperty for the types ReportingServices and AnalysisServices. We also know that these properties are link to the SQL Management Packs.
I had several calls with the Microsoft Premier Support and finally, they proposed me to Remove and Re-add the SQL management packs by following the steps below:
- Ensure to have all the binaries for the SQL MPs that you are currently running.
- Export your custom management packs where you stored SQL overrides
- Delete the all the SQL management packs
- Wait 30 minutes
- Import all the SQL MPs
- Import the custom SQL MPs
Now, we have to check if this export/re-import process of the SQL MPs fixed the problem or not. For that we have to run the following two queries:
select * FROM dbo.ManagedTypeProperty where managedtypeid = ’1ACC50C3-CE60-075D-18CF-BC3CAC665124′
select * FROM dbo.ManagedTypeProperty where managedtypeid = ’3F85503C-3D5E-19D8-0466-95AA9BB8AC05′
The both queries are now returning the ServiceClusterName_3F85503C_3D5E_19D8_0466_95AA9BB8AC05 properties for the type AnalysisServices and ReportingServices. Which is what we’re expecting J
As the export/re-import of the SQL Management packs seems to fix the problem, I started the RMS upgrade to SCOM2012. Hopefully for me, this time, it ran successfully without any problem. So yes, the first time, the SQL Management Packs crashed my upgrade process. FYI, the environment was running the following versions of the SQL MPs:
The conclusion part
I must admit that I still don’t know why the ServiceClusterName_3F85503C_3D5E_19D8_0466_ properties was missing from the ManagedTypeProperty table for the MT_Analysis and MT_ReportingServices tables.
I don’t believe to a DB corruption, as I noticed the same problem, in 2 different environments which were running exactly the same MPs.
Now, what is sure, the export/re-import fixed the problem and allow me to upgrade the environment to SCOM 2012 without any problem. My advice is now to run the following 2 queries:
select * FROM dbo.ManagedTypeProperty where managedtypeid = ’1ACC50C3-CE60-075D-18CF-BC3CAC665124′
select * FROM dbo.ManagedTypeProperty where managedtypeid = ’3F85503C-3D5E-19D8-0466-95AA9BB8AC05′
To ensure that the ServiceClusterName property is available for AnalysisServices and ReportingServices before starting an upgrade from SCOM2007R2 to SCOM2012.
Finally, I would like to thanks the Microsoft Premier Support.
Christopher
23
Upgrade guide from SCOM 2007 to SCOM 2012
1 Comment · Posted by Christopher Keyaert in Uncategorized
Hi Guys,
I would like to share with you my notes concerning the upgrade from Operations Manager 2007 to Operations Manager 2012. The guide below groups information from TechNet (for which I’m not the author! all credits go to Microsoft), my personal notes and screenshots from the field.
The pre-requisites for this guide is to have a Operations Manager 2012 compliant environment (OS version /SQL version / hardware).
SCOM 2012 – Upgrade Plan
More Information: http://technet.microsoft.com/en-us/library/hh476934.aspx
|
Distributed Upgrade (Simple) |
Use this path when you have an Operations Manager 2007 R2 management group where various features are installed on separate servers, all of which meet the minimum supported configurations for System Center 2012 – Operations Manager. |
Upgrade Process Flow Diagram



Checklist
Use the following checklist to upgrade your distributed management group if it already meets the supported configuration requirements for System Center 2012 – Operations Manager.
More Information: http://technet.microsoft.com/en-us/library/hh241301.aspx
|
|
Task |
|
|
Import the Upgrade Helper management pack. |
|
|
Move agents that report to the RMS to a secondary management server. |
|
|
Back up the encryption key. |
|
|
Review the Operations Manager 2007 R2 event logs. |
|
|
Remove agents from pending management. |
|
|
Verify that you have a supported SQL Server collation on all databases and instances of databases. |
|
|
Upgrade the manually installed agents. |
|
|
Upgrade the secondary management servers. |
|
|
Upgrade gateways, if present. |
|
|
Upgrade the push-installed agents. |
|
|
Check for any active, connected consoles to the root management server. |
|
|
Disable all notification subscriptions. |
|
|
Stop services or disable any connectors that are installed. |
|
|
Verify that your operational database has enough free space. |
|
|
Back up the databases. |
|
|
Restore the encryption key on secondary management server. |
|
|
Run management group upgrade on the root management server. |
|
|
Upgrade or install the optional features, such as the web consoles and Reporting server. |
|
|
Re-enable notification subscriptions. |
|
|
Restart or re-enable the service for any connectors that are installed. |
|
|
Update overrides. |
|
|
Verify the success of the upgrade. |
Import the Upgrade Helper management pack.
The Upgrade Helper management pack guides you through the upgrade process from System Center Operations Manager 2007 R2 to System Center 2012. The Upgrade Helper management pack discovers the root management server, secondary management servers, gateway servers, and any agent-managed computers in your distributed Operations Manager 2007 R2 management group. The Upgrade Helper management pack monitors the progress of each phase of your upgrade.
Filename: OPERATIONSMANAGER.UPGRADE.MP
Back up the encryption key.
To start the Encryption Key Backup or Restore Wizard to back up the root management server encryption key
- Log on to the computer hosting the root management server with an account that is a member of the Administrators group.
- Open a command prompt window using the Run as Administrator option.
-
At the command prompt, type
cd <Operations Manager Installation Folder>
- Type SecureStorageBackup and then press ENTER.
- In the Encryption Key Backup or Restore Wizard, on the Backup or Restore? Page, select the Backup the Encryption Key option, and then complete the wizard.
More Information: http://technet.microsoft.com/en-us/library/cc540390.aspx
Verify that you have a supported SQL Server collation on all databases and instances of databases.
To determine the SQL Server collation of a database, you can check the database properties. In SQL Server Management Studio, right-click the database you want to check, and then click Properties. The collation is listed under Maintenance.

More Information: http://support.microsoft.com/kb/958979
ALWAYS INSTALL THE SCOM 2012 ENVIRONMENT ON SQL WITH THE SQL_Latin1_General_CP1_CI_AS collation!
Pre-requisites
- Read Mihai Sarbulescu’s post : Know issues when upgrading from OM 2007 R2 to OM 2012
- RMS, MS, Gw must run Windows Server 2008 R2 Sp1 or another supported version
- All the DBs (OperationsManager, Datawarehouse, Reporting) must be hosted on a SQL Server 2008 R2 or another supported version.
- .Net 4 must be installed on the RMS, MS and GW.
- Report Viewer 2010 must be installed on the RMS, MS, GW.
Upgrade the secondary management servers.
Upgrade of the Management Server
Start the SCOM 2012 upgrade process by upgrading all the management servers (/!\Not the RMS, only the MS). Let the agents connected to your MS during the upgrade process, otherwise, you will not be able to upgrade these agents via the SCOM Console after the MS upgrade and you will have to manually deploy the SCOM 2012 Agent to all the existing agents.
- Log on to the secondary management server with an account that is a member of the Operations Manager Administrators role for your Operations Manager 2007 R2 management group and a local administrator on the computer.
- From the System Center 2012 – Operations Manager media, run Setup.exe, and then click Install. The Getting Started page displays information about which features will be upgraded.
|
|
|
If a web console exists on the secondary management server, it will be removed instead of upgraded. You have to re-install the web console after you upgrade the management group. For more information, see How to Install the Operations Manager Web Console. To minimize downtime, you can install the Operations Manager 2007 R2 web console on a stand-alone server. |
Upgrading a secondary management server is just one phase of the distributed upgrade process. Upgrade is not completed until you have upgraded all of the other features in your management group, and have run upgrade on the management group itself. The next step is to upgrade any gateways.
More information: http://technet.microsoft.com/en-us/library/hh241296.aspx

- On the Getting Started, System Center 2012 – Operations Manager Upgrade page, click Next to proceed with the upgrade.

- On the Getting Started, Select installation location page, accept the default value of C:\Program Files\System Center 2012\Operations Manager, or type in a new location, or browse to one. Then click Next.

- On the Prerequisites page, review and address any warnings or errors that the Prerequisites checker returns, and then click Verify Prerequisites Again to recheck the system.

- If the Prerequisites checker does not return any warnings or errors, the Prerequisites, Proceed with Setup page appears. Click Next.

-
On the Configuration, Configure Operations Manager accounts page, we recommend that you use the Domain Account option for the System Center Configuration service and System Center Data Access service accounts.
Enter the credentials for a domain account, and then click Next.

- Review the options on the Configuration, Ready To Upgrade page, and then click Upgrade. The upgrade proceeds and displays the upgrade progress.


- When the upgrade is finished, the Upgrade complete page appears. Click Close. Be patient, the process is quite long.


Upgrade the push-installed agents.
Go to Administration > Pending Management and upgrade all the agents that need to be upgraded.

Upgrade the manual-installed agents
If you have manual-installed agents, (agents in DMZ, other domain …) you have to upgrade these agents manually.




Upgrade the other Management servers
You have to repeat these 3 following actions until you upgraded all you management servers and agents:
- Upgrade the management server SCOM 2012
- Upgrade the push-installed agent
- Upgrade the manual-install agent
Upgrade the Gateway servers
Follow the same process than the management servers for the Gateway servers:
- Upgrade the gateway server
- Upgrade the push-installed agent
- Upgrade the manual-install agent
Repeat these 3 steps for all the gateway servers.
Verify that your operational database has enough free space.
You must verify that the operational database has more than 50 percent of free space before you upgrade the management group because the upgrade might fail if there is not enough space. You should also ensure that the transactions logs are 50 percent of the total size of the operational database.
To check how much free space the Operational Database has
- On the computer that hosts the operational database, open SQL Server Management Studio.
- In the Object Explorer, expand Databases.
- Right-click the operational database, point to Reports, Standard Reports, and then click Disk Usage.
- View the Disk Usage report to determine the percentage of free space.
To increase the free space for the operational database and log files
- On the computer that hosts the operational database, open SQL Server Management Studio.
- In the Connect to Server dialog box, in the Server Type list, select Database Engine.
- In the Server Name list, select the server and instance for your operational database (for example, computer\INSTANCE1).
- In the Authentication list, select Windows Authentication, and then click Connect.
- In the Object Explorer pane, expand Databases, right-click the operational database, and then click Properties.
- In the Database Properties dialog box, under Select a page, click Files.
- In the results pane, increase the Initial Size value for the MOM_DATA database by 50 percent.
|
|
|
This step is not required if free space already exceeds 50 percent. |
- Set the Initial Size value for the MOM_LOG to be 50 percent of the total size of the database. For example, if the operational database size is 100 GB, the log file size should be 50 GB. Then click OK.
Verify the SQL Server Collation
SQL Server collation for all databases and database instances must be one of the following:
|
Language |
Collation |
|
English |
SQL_Latin1_General_CP1_CI_AS |
Run management group upgrade on the root management server.






To set the product key, use the Set-SCOMLicense cmdlet in PowerShell. To use the Set-SCOMLicense cmdlet you need to use elevated permissions. (Run as Administrator).
1. Open PowerShell as an Administrator
2. Load the OperationsManager Module (import-module operationsmanager)
3. Connect to your ManagementGroup (New-SCOMManagementGroupConnection)
4. Use Set-SCOMLicense -ProductId "yourlicensekey"
5. To check if changes were executed run Get-SCOMManagementGroup | ft skuforlicense, version, timeofexpiration –a
Note: This may require a reboot after running in order to register correctly.
More information: http://support.microsoft.com/kb/2699998
Upgrade or install the optional features, such as the web consoles, ACS and Reporting server.
ACS upgrade
/!\ You must be logged on and run the install process with the service account that you are using to connect to the ACS DB /!\









/!\ You must be run the install process with the service account /!\


How to Upgrade Reporting from Operations Manager 2007 R2
- Log on to the computer that hosts the Reporting server with an account that is a member of the Operations Manager 2007 R2 Administrators role for your Operations Manager 2007 R2 management group.
- On the System Center 2012 – Operations Manager source media, run Setup.exe, and then click Install.

- On the Getting Started, System Center 2012 – Operations Manager Upgrade page, review the features that will be upgraded. In this case, it is Operations Manager 2007 R2 Reporting. Click Next.

- On the Select installation location page, accept the default value of C:\Program Files\System Center 2012\Operations Manager, or type in a new location or browse to one. Then click Next.

- On the Prerequisites page, review and address any warnings or errors that the Prerequisites checker returns, and then click Verify Prerequisites Again to recheck the system.
- If the Prerequisites checker does not return any warnings or errors, the Prerequisites, Proceed with Setup page appears. Click Next.

- On the Ready to Upgrade page, review the options, and then click Upgrade.


- When upgrade is finished, the Upgrade complete page appears. Click Close.

Run SQL Query on each Management Group
Run the following SQL query on the Operational database in each management group to clean up the Localizedtext table and the Publishmessage table.
-- Create a temporary table to quickly find a PublisherId when you know the MessageId.
BEGIN TRY
CREATE TABLE #PublisherMessageReverseIndex(MessageStringId UNIQUEIDENTIFIER,
MessageId INT)
CREATE CLUSTERED INDEX #PublisherMessageReverseIndex_CI ON #PublisherMessageReverseIndex(MessageStringId)
INSERT INTO #PublisherMessageReverseIndex (MessageStringId, MessageId)
SELECT MessageStringId, MessageId
FROM dbo.PublisherMessages
-- Create a temporary table of message lengths, message IDs, and message hashes with the
-- MessageStringId to quickly determine whether a message is duplicated. Index the table.
CREATE TABLE #LTHashStrings (MessageStringId UNIQUEIDENTIFIER,
LTValueLen INT,
LTValueHash VARBINARY(32),
MessageId INT NULL)
CREATE CLUSTERED INDEX #LTHashStrings_CI ON #LTHashStrings(MessageStringId)
CREATE NONCLUSTERED INDEX #LTHashStrings_NCI1 ON #LTHashStrings(LTValueLen, MessageId, LTValueHash)
-- Create a temporary table for the orphaned PublisherStrings that you find. Orphaned PublisherStrings
-- are rows in PublisherMessages whose corresponding events have already been groomed. They still
-- have corresponding rows in LocalizedText. Do not add rows for PublisherMessages; they are not
-- for duplicated messages.
CREATE TABLE #OrphanedPublisherStrings (PublisherId UNIQUEIDENTIFIER,
MessageStringId UNIQUEIDENTIFIER)
CREATE CLUSTERED INDEX #OrphanedPublisherStrings_CI ON #OrphanedPublisherStrings(MessageStringId)
-- Create a temporary table so that you can determine whether a PublisherMessages row still
-- has a corresponding event. These events do not have an index on the PublisherId, so do
-- not query the EventAllView. If a PublisherId occurs multiple times in the event tables,
-- it is only needed one time in the temp table; therefore, the unique clustered index
-- must contain IGNORE_DUP_KEY. This keeps the temporary table relatively small and saves
-- time when you want to see the orphaned PublisherMessages.
CREATE TABLE #EventAllPublishers (PublisherId UNIQUEIDENTIFIER)
CREATE UNIQUE CLUSTERED INDEX #EventAllPublishers_CI ON #EventAllPublishers (PublisherId)
WITH (IGNORE_DUP_KEY = ON)
-- Populate the temporary table by scanning EventAllView one time.
INSERT INTO #EventAllPublishers(PublisherId)
SELECT PublisherId
FROM EventAllView
-- Populate the first temporary table to determine which messages are duplicated.
INSERT INTO #LTHashStrings (MessageStringId, LTValueLen, LTValueHash, MessageId)
SELECT LTStringId, len(LTValue), HashBytes('SHA1', LTValue), MessageId
FROM dbo.LocalizedText LT
JOIN #PublisherMessageReverseIndex PM ON PM.MessageStringId = LTStringId
-- Create the second table to determine which messages are duplicated.
CREATE TABLE #LTCountByMessage( LTValueLen INT,
MessageId INT,
LTValueHash VARBINARY(32),
MsgCount INT)
CREATE CLUSTERED INDEX #LTCountByMessage_CI ON #LTCountByMessage(LTValueLen, MessageId, LTValueHash)
-- Populate second message for duplicate message detection by scanning the INDEX of
-- the first one and by doing a grouped count.
INSERT INTO #LTCountByMessage (LTValueLen, MessageId, LTValueHash, MsgCount)
SELECT LTValueLen, MessageId, LTValueHash, COUNT(1)
FROM #LTHashStrings
GROUP BY LTValueLen, MessageId, LTValueHash
-- You are now set up to detect both orphaned PublisherStrings and duplicated messages
-- by joining to our relatively small (and correctly indexed) temporary tables.
-- Determine the OrphanedPublisherStrings that have duplicate messages.
INSERT INTO #OrphanedPublisherStrings (PublisherId, MessageStringId)
SELECT PM.PublisherId, PM.MessageStringId
FROM dbo.PublisherMessages PM
JOIN #LTHashStrings LTS ON (LTS.MessageStringId = PM.MessageStringId AND LTS.MessageId = PM.MessageId)
JOIN #LTCountByMessage LTC ON (LTC.LTValueLen = LTS.LTValueLen AND
LTC.MessageId = LTS.MessageId AND LTC.LTValueHash = LTS.LTValueHash)
WHERE PM.PublisherId NOT IN (SELECT PublisherId FROM #EventAllPublishers) AND
LTC.MsgCount > 1
-- Deleting all the OrphanedPublisherStrings and all the corresponding LocalizedText rows
-- at one time may be too large for the transaction log to handle. Create a numbered
-- or ordered table so that you can delete them in relatively small batches and not
-- overtax the transaction log.
CREATE TABLE #NumberOrphanPublisherStrings(OrphanNum INT IDENTITY,
PublisherId UNIQUEIDENTIFIER,
MessageStringId UNIQUEIDENTIFIER)
CREATE CLUSTERED INDEX #NumberOrphanPublisherStrings_CI on #NumberOrphanPublisherStrings(OrphanNum)
-- Populate the numbered table.
INSERT INTO #NumberOrphanPublisherStrings (PublisherId, MessageStringId)
SELECT PublisherId, MessageStringId FROM #OrphanedPublisherStrings
END TRY
BEGIN CATCH
GOTO Error
END CATCH
-- Set up variables so that you can delete the orphaned rows.
-- If the transaction log fills up, try to reduce the @OrphanIncrement value,
-- which controls the number of rows that are delete at the same time.
DECLARE @OrphanNum INT
DECLARE @OrphanIncrement INT
DECLARE @OrphanLimit INT
SET @OrphanNum = 0
SET @OrphanIncrement = 10000
SELECT @OrphanLimit = MAX(OrphanNum) FROM #NumberOrphanPublisherStrings
BEGIN TRY
WHILE @OrphanNum < @OrphanLimit
BEGIN
DELETE dbo.LocalizedText FROM
#NumberOrphanPublisherStrings OPS JOIN dbo.LocalizedText LT
ON LT.LTStringId = OPS.MessageStringId
WHERE OPS.OrphanNum >= @OrphanNum AND OPS.OrphanNum < @OrphanNum + @OrphanIncrement
DELETE dbo.PublisherMessages FROM
#NumberOrphanPublisherStrings OPS JOIN dbo.PublisherMessages PM
ON PM.PublisherId = OPS.PublisherId
WHERE OPS.OrphanNum >= @OrphanNum AND OPS.OrphanNum < @OrphanNum + @OrphanIncrement
SET @OrphanNum = @OrphanNum + @OrphanIncrement
END
END TRY
BEGIN CATCH
GOTO Error
END CATCH
Error:
IF @@ERROR <> 0
SELECT
ERROR_NUMBER() AS ErrorNumber,
ERROR_MESSAGE() AS ErrorMessage;
-- Try to drop all the temporary tables
BEGIN TRY
IF EXISTS (SELECT 1 FROM tempdb.INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE '#PublisherMessage%')
DROP TABLE #PublisherMessageReverseIndex
IF EXISTS (SELECT 1 FROM tempdb.INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE '#OrphanedPublisherStrings%')
DROP TABLE #OrphanedPublisherStrings
IF EXISTS (SELECT 1 FROM tempdb.INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE '#LTHashStrings%')
DROP TABLE #LTHashStrings
IF EXISTS (SELECT 1 FROM tempdb.INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE '#EventAllPublishers%')
DROP TABLE #EventAllPublishers
IF EXISTS (SELECT 1 FROM tempdb.INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE '#LTCountByMessage%')
DROP TABLE #LTCountByMessage
IF EXISTS (SELECT 1 FROM tempdb.INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE '#NumberOrphanPublisherStrings%')
DROP TABLE #NumberOrphanPublisherStrings
END TRY
BEGIN CATCH
SELECT
ERROR_NUMBER() AS ErrorNumber,
ERROR_MESSAGE() AS ErrorMessage;
END CATCH

Assign UNIX/Linux Agents to a Resource Pool
After completing the upgrade, UNIX/Linux agents must be assigned to a resource pool to enable highly-available monitoring and agent administration. For more information on creating resource pools, see How to Create a Resource Pool.
- Open the Operations console by using an account that is a member of the Operations Manager Administrators role for the om12short management group.
- In the Operations console, in the navigation pane, click the Administration button.
- In the Administration pane, under Device Management, click UNIX/Linux Computers.
- Select the UNIX/Linux computers to assign to a resource pool, and in the Actions pane, click Change Resource Pool.
- Complete the Change Resource Pool wizard to assign the computers to the selected resource pool.
UR3 installation
The update rollup 3 is available for Operations Manager 2012: http://support.microsoft.com/kb/2756127
We recommend that you install the update rollup package in the following order.
- Install the update rollup package on the following server infrastructure:
- Management server or servers
- Gateway servers
- Reporting servers
- Web console server role computers
- Operations console role computers
- Manually import the management packs. (C:\Program Files\System Center 2012\Operations Manager\Server\Management Packs for Update Rollups)
- Apply the agent update to manually installed agents, or push the installation from the Pending view in the Operations console.
For an SCOM 2012 Installation in English, please refer to the filename and GUID available in the table below:
|
TComponent |
Architecture |
Language |
Appended GUID |
|
Console |
amd 64 |
English |
755b85ba494fa5c83ca31cf40d38be5d6d0551ef |
|
Consol |
x86 |
English |
74b1593272d3c45ca7a98b2a3e0d8dc2c3f795d6 |
|
Reporting |
amd 64 |
English |
8043cc39d79514d1e633b645063100c136cf1f92 |
|
Web Console |
amd 64 |
English |
2ef77d6ea1080b83c10351001dc13bf7e6977b7a |
To manually install the update rollup packages, run the following command from an elevated command prompt:
msiexec.exe /update <PackageName>
For example, to install Update Rollup 3 for System Center Operations Manager 2012 (KB2750631), run the following command:
msiexec.exe /update KB2750631-AMD64-Server.msp
Conclusion
And voilà J your environment is upgrade to SCOM 2012.
17
System Center 2012 Update Rollup 3 : Which files must I install ?
No comments · Posted by Christopher Keyaert in Uncategorized
Hi Guys,
As you probably noticed, Microsoft released some days ago, the System Center 2012 Update Rollup 3. This UR3 contains fixes for :
- Data Protection Manager 2012
- Operations Manager 2012
- Service Manager 2012.
All the information are available : http://support.microsoft.com/kb/2756127
To install this UR3 to your existing System Center 2012 environment, you basically have 2 choices :
- Windows update
- Manual Download and Manual installation.
If you choose the second approach, for example Operations Manager, you will have the following files :
Which files do I have to install in my environment ? What are the differences between these files ?
In fact, each of these files are for each different languages/locales installation. if your Operations Manager 2012 environment is in English, you have to choose the following files :
|
Component |
Architecture |
Language |
Appended GUID |
|
Console |
amd 64 |
English |
755b85ba494fa5c83ca31cf40d38be5d6d0551ef |
|
Console |
x86 |
English |
74b1593272d3c45ca7a98b2a3e0d8dc2c3f795d6 |
|
Reporting |
amd 64 |
English |
8043cc39d79514d1e633b645063100c136cf1f92 |
|
Web Console |
amd 64 |
English |
7d5c0399abd43a9410720a720fc3147828765708 |
For the other products and languages, you could wait for Microsoft to update the KB, which must happen really soon (http://support.microsoft.com/kb/2756127) or you could use Microsoft Update which will download automatically the right files.
I would like to thank you Laura Cruz from Microsoft to clarify the situation.
Cheers
Christopher
Laura · Manager · operations manager · Rollup · Service
























