KB Article for OpsMgr: https://support.microsoft.com/en-us/help/4024942/update-rollup-14-for-system-center-2012-r2-operations-manager
Download catalog site: http://www.catalog.update.microsoft.com/Search.aspx?q=4024942
UNIX/Linux Management Packs: https://www.microsoft.com/en-us/download/details.aspx?id=29696
NOTE: I get this question every time we release an update rollup: ALL SCOM Update Rollups are CUMULATIVE. This means you do not need to apply them in order, you can always just apply the latest update. If you have deployed SCOM 2012R2 and never applied an update rollup – you can go straight to the latest one available. If you applied an older one (such as UR3) you can always go straight to the latest one!
NOTE: There is an issue with the UR14 Web Console update for client connectivity. This is the same issue that existed in UR13. Because of this, you should only apply it if you have first mitigated the certificate issue created by the update for your clients. This is documented in the “Known Issues” at the bottom of this page.
Key Fixes:
- Adds support for Transport Layer Security (TLS) protocol version 1.2. For more information about how to set up, configure, and run your environment to use TLS 1.2, see the following article in the Microsoft Knowledge Base:
Lets get started.
From reading the KB article – the order of operations is:
- Install the update rollup package on the following server infrastructure:
- Management servers
- Audit Collection servers
- Gateway servers
- Web console server role computers
- Operations console role computers
- Reporting
- Apply SQL scripts.
- Manually import the management packs.
- Update Agents
- Unix/Linux management packs and agent updates (if required)
Management Servers
It doesn’t matter which management server I start with. There is no need to begin with whomever holds the “RMSe” role. I simply make sure I only patch one management server at a time to allow for agent failover without overloading any single management server.
I can apply this update manually via the MSP files, or I can use Windows Update. I recommend using the manual approach and not using Windows Update, for several reasons. Windows Update applied patches will not put agents into pending updates, and is more difficult to precisely control.
The first thing I do when I download the updates from the catalog, is copy the cab files for my language to a single location then extract the contents:
Once I have the MSP files, I am ready to start applying the update to each server by role.
***Note: You MUST log on to each server role as a Local Administrator, SCOM Admin, AND your account must also have System Administrator role to the SQL database instances that host your OpsMgr databases.
My first server is a Management Server Role, and the Web Console Role, and has the OpsMgr Console installed, so I copy those update files locally, and execute them per the KB, from an elevated command prompt:
This launches a quick UI which applies the update. It will bounce the SCOM services as well. The update usually does not provide any feedback that it had success or failure.
You *MAY* be prompted for a reboot. You can click “No” and do a single reboot after fully patching all roles on this server.
You can check the application log for the MsiInstaller events to show completion:
Log Name: Application
Source: MsiInstaller
Event ID: 1022
Description:
Product: System Center Operations Manager 2012 Server – Update ‘System Center 2012 R2 Operations Manager UR14 Update Patch’ installed successfully.
You can also spot check a couple DLL files for the file version attribute:
Next up – run the Web Console update:
This runs much faster. A quick file spot check:
Lastly – install the console update (make sure your console is closed):
A quick file spot check:
Additional Management Servers:
I now move on to my additional management servers, applying the server update, then the console update and web console update where applicable, just like above.
Updating ACS (Audit Collection Services)
You would only need to update ACS if you had installed this optional role.
On any Audit Collection Collector servers, you should run the update included:
A spot check of the files:
Updating Gateways:
I can use Windows Update or manual installation.
The update launches a UI and quickly finishes.
You MAY be prompted for a reboot.
Then I will spot check the files:
I can also spot-check the \AgentManagement folders, and make sure my agent update files are dropped here correctly:
***NOTE: You can delete any older UR update files from the \AgentManagement directories. The UR’s do not clean these up and they provide no purpose for being present any longer.
Reporting Server Role Update
I kick off the MSP from an elevated command prompt:
This runs VERY fast and does not provide any feedback on success or failure. So I spot check the files:
NOTE: There is an RDL file update available to fix a bug in business hours based reporting. See the KB article for more details. You can update this RDL optionally if you use that type of reporting and you feel you are impacted.
Apply the SQL Scripts
In the path on your management servers, where you installed/extracted the update, there are two SQL script files:
%SystemDrive%\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\SQL Script for Update Rollups
(note – your path may vary slightly depending on if you have an upgraded environment or clean install)
First – let’s run the script to update the OperationsManagerDW (Data Warehouse) database. Open a SQL management studio query window, connect it to your Operations Manager DataWarehouse database, and then open the script file (UR_Datawarehouse.sql). Make sure it is pointing to your OperationsManagerDW database, then execute the script.
You should run this script with each UR, even if you ran this on a previous UR. The script body can change so as a best practice always re-run this.
If you see a warning about line endings, choose Yes to continue.
Click the “Execute” button in SQL mgmt. studio. The execution could take a considerable amount of time and you might see a spike in processor utilization on your SQL database server during this operation.
You will see the following (or similar) output: “Command(s) completes successfully”
Next – let’s run the script to update the OperationsManager (Operations) database. Open a SQL management studio query window, connect it to your Operations Manager database, and then open the script file (update_rollup_mom_db.sql). Make sure it is pointing to your OperationsManager database, then execute the script.
You should run this script with each UR, even if you ran this on a previous UR. The script body can change so as a best practice always re-run this.
Click the “Execute” button in SQL mgmt. studio. The execution could take a considerable amount of time and you might see a spike in processor utilization on your SQL database server during this operation.
I have had MOST customers state this takes from a few minutes to as long as an hour. In MOST cases – you will need to shut down the SDK, Config, and Microsoft Monitoring Agent (healthservice) on ALL your management servers in order for this to be able to run with success. So prepare for the outage accordingly.
You will see the following (or similar) output:
or
IF YOU GET AN ERROR – STOP! Do not continue. Try re-running the script several times until it completes without errors. In a production environment with lots of activity, you will almost certainly have to shut down the services (sdk, config, and healthservice) on your management servers, to break their connection to the databases, to get a successful run.
Technical tidbit: Even if you previously ran this script in any previous UR deployment, you should run this again in this update, as the script body can change with updated UR’s.
Manually import the management packs
There are 60 management packs in this update! Most of these we don’t need – so read carefully.
The path for these is on your management server, after you have installed the “Server” update:
\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\Management Packs for Update Rollups
However, the majority of them are Advisor/OMS, and language specific. Only import the ones you need, and that are correct for your language.
I will remove all the MP’s for other languages (keeping only ENU), and I am left with the following:
What NOT to import:
The Advisor MP’s are only needed if you are connecting your on-prem SCOM environment to the OMS cloud service, (Previously known as Advisor, and Operations Insights).
The APM MP’s are only needed if you are using the APM feature in SCOM.
The Alert Attachment and TFS MP bundle is only used for specific scenarios, such as DevOps scenarios where you have integrated APM with TFS, etc. If you are not currently using these MP’s, there is no need to import or update them. I’d skip this MP import unless you already have these MP’s present in your environment.
However, the Image and Visualization libraries deal with Dashboard updates, and these always need to be updated.
I import all of these shown above without issue.
Update Agents
Agents should be placed into Pending Management by this update for any agent that was not manually installed (remotely manageable = yes):
One the Management servers where you used Windows Update to patch them, their agents did not show up in this list. Only agents where you manually patched their management server show up in this list, FYI. The experience is NOT the same when using Windows Update vs manual. If yours don’t show up – you can try running the update for that management server again – manually, from an elevated command prompt.
If your agents are not placed into pending management – this is generally caused by not running the update from an elevated command prompt, or having manually installed agents which will not be placed into pending.
In this case – my agents that were reporting to a management server that was updated using Windows Update – did NOT place agents into pending. Only the agents reporting to the management server for which I manually executed the patch worked.
I manually re-ran the server MSP file manually on these management servers, from an elevated command prompt, and they all showed up.
You can approve these – which will result in a success message once complete:
Soon you should start to see PatchList getting filled in from the Agents By Version view under Operations Manager monitoring folder in the console:
I *strongly* recommend you take a look at this community MP, which helps see the “REAL” agent number in the “Agent Managed” view console:
https://kevinholman.com/2017/02/26/scom-agent-version-addendum-management-pack/
And my SCOM Management Group Management mp (updated for UR14), which will help show you REAL UR levels based on a better discovery. This has long been a pain point in SCOM:
https://kevinholman.com/2017/05/09/scom-management-mp-making-a-scom-admins-life-a-little-easier/
Update Unix/Linux MPs and Agents
The current Linux MP’s can be downloaded from:
https://www.microsoft.com/en-us/download/details.aspx?id=29696
7.5.1070.0 is the current SCOM 2012 R2 UR12-UR14 release version.
Obviously – you skip this if you don’t use xPlat monitoring. If you already have this version applied, then also skip it.
****Note – take GREAT care when downloading – that you select the correct download for SCOM 2012 R2. You must scroll down in the list and select the MSI for 2012 R2:
Download the MSI and run it. It will extract the MP’s to C:\Program Files (x86)\System Center Management Packs\System Center 2012 R2 Management Packs for Unix and Linux\
Update any MP’s you are already using. These are mine for RHEL, SUSE, and the Universal Linux libraries.
You will likely observe VERY high CPU utilization of your management servers and database server during and immediately following these MP imports. Give it plenty of time to complete the process of the import and MPB deployments.
Next – you need to restart the “Microsoft Monitoring Agent” service on any management servers which manage Linux systems. I don’t know why – but my MP’s never drop/update the UNIX/Linux agent files in the \Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\AgentManagement\UnixAgents\DownloadedKits folder until this service is restarted.
Next up – you would upgrade your agents on the Unix/Linux monitored agents. You can now do this straight from the console:
You can input credentials or use existing RunAs accounts if those have enough rights to perform this action.
Finally:
Update the remaining deployed consoles
This is an important step. I have consoles deployed around my infrastructure – on my Orchestrator server, SCVMM server, on my personal workstation, on all the other SCOM admins on my team, on a Terminal Server we use as a tools machine, etc. These should all get the matching update version.
You can use Help > About to being up a dialog box to check your console version:
Review:
Now at this point, we would check the OpsMgr event logs on our management servers, check for any new or strange alerts coming in, and ensure that there are no issues after the update.
Known issues:
See the existing list of known issues documented in the KB article.
1. Many people are reporting that the SQL script is failing to complete when executed. You should attempt to run this multiple times until it completes without error. You might need to stop the Exchange correlation engine, stop all the SCOM services on the management servers, and/or bounce the SQL server services in order to get a successful completion in a busy management group. The errors reported appear as below:
——————————————————
(1 row(s) affected)
(1 row(s) affected)
Msg 1205, Level 13, State 56, Line 1
Transaction (Process ID 152) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Msg 3727, Level 16, State 0, Line 1
Could not drop constraint. See previous errors.
——————————————————–
2. The Web Console update breaks the Web Console Silverlight in UR14.
Issue:
Once you apply the UR14 Web Console update, the initial web console connection prompts constantly to “Configure” Silverlight. You can run configure, but this repeats…. And the web console is not useable for the customer, as you cannot get past the configure prompt. If you choose “skip” then the web console will not be useable.
Cause:
When we initially connect to the Web console, we check to ensure the client has a code signing certificate that matches the .XAP files that are part of the web console. If we detect that the client does not have the correct certificate, we will prompt to Configure this. We include a file silverlightclientconfiguration.exe on the webserver which basically does two things: (1) modifies the registry to AllowElevatedTrustAppsInBrowser, and (2) installs the Microsoft code signing certificate that was used to sign the .XAP files.
We included an updated set of .XAP files for the Web Console in UR14, and these were signed with the latest MS Code Signing certificate (Expiring 8/11/2018)
When we update the cert for signing, we are SUPPOSED to include this cert in the silverlightclientconfiguration.exe file. However, this file was not updated with the new cert in UR13 or UR14. It contains the same certs that worked in UR12.
The result it that users are prompted to “Configure” the Silverlight plugin, but even after running Configure, they continually get re-prompted because they do not have the correct certificate, which allows for Silverlight Elevated Trust Apps in Browser.
Known Workarounds:
Manually handle the certificate distribution. Either via registry file, or import the cert into the trusted publishers. You can export this cert by viewing the digital signature configuration on either of the XAP files or the SilverlightClientConfiguration.exe file:
To work around this issue, follow these steps:
- Click Configure in the dialog box.
- When you are prompted to run or save the SilverlightClientConfiguration.exe file, click Save.
- Run the SilverlightClientConfiguration.exe file.
- Right-click the .exe file, click Properties, and then select the Digital Signatures tab.
- Select the certificate that has Digest Algorithm as SHA256, and then click Details.
- In the Digital Signature Details dialog box, click View Certificate.
- In the dialog box that appears, click Install Certificate.
- In the Certificate Import Wizard, change the store location to Local Machine, and then click Next.
- Select the Place all certificates in the following store option and then select Trusted Publishers.
- Click Next and then click Finish.
- Refresh your browser window.
This will install the correct certificate on the client cert store, to be able to use the SCOM web console
Pingback:How to enable TLS 1.2 in SCOM – System Center Blog
Pingback:How to enable TLS 1.2 in SCOM
Hi Kevin,
Can we run the Workaround for the Web Consle issue “The Web Console update breaks the Web Console Silverlight in UR14”.
We noticed this comment “We included an updated set of .XAP files for the Web Console in UR14, and these were signed with the latest MS Code Signing certificate (Expiring 8/11/2018)”. So just wanted to confrim from you if it will still works as the expiring date is 8/11/2018.
Thanks in advance!
Sreejeet
Yes, the fact that it is expired doesn’t matter.
Do we need to apply the UR 14 Reporting Server Role Update to ACS Database Reporting server also or only to the Operations Manager Datawarehouse Reporting server only?
Hi Kevin,
While update SCOM 2012 R2 with UR14, do we need single user account with following permissions:
Local Administrator,
SCOM Admin,
System Administrator role to the SQL database instances that host your OpsMgr databases.
Or can we use two accounts one with Local Administrator and SCOM Admin to run MSI files and another account with System Administrator role to the SQL database instances that host your OpsMgr databases to run UR14 SQL queries.
Could you please clarify.
The account that runs the update on the management server is already documented in this document you are replying to:
***Note: You MUST log on to each server role as a Local Administrator, SCOM Admin, AND your account must also have System Administrator role to the SQL database instances that host your OpsMgr databases.
This is in the MANAGEMENT SERVER section. Therefore, this applies to management servers.
Hi Kevin,
Whilst we update the central infrastructure with UR14 and where we have manually installed the agents , can we leave the agents on the older version of UR and take our time over upgrading these ? Would there be any impact in not updating the agents to UR14 straight away ?
No impact. It is common to have older out of date agents. You just wont have the benefits of any fixes that might exist in the UR.
Hi Kevin
We have updated a SCOM 2012 R2 environment to UR14 a longer time ago. Now we has been noticed, that parts of the Linux management no longer work. Log, Process and Unit Monitor parts result in an error in the console. Also self generated monitors ans rules cannot be edited and run in the same error.
You have seen this in other SCOM environments?
The page [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ShellCommandTemplate.ShellCommandDetailsPage] in the assembly [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ShellCommandTemplate, Version=7.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] could not be loaded
We remove and reinstall all Linux Management Packs, but we still receive the same error.
Regards
Did you update the version of the Linux Agent?