There is a known issue where SCOM 2012 agents stop responding on Windows 2012 R2 Domain Controllers but can affect other Windows 2012 R2 servers as well . Kevin Holman has posted an article with the resolution to this issue: Here
Now as some of you may know out of the box SCOM capabilities to monitor log files can fall a bit short under certain circumstances. Luckily a company called NiCE, which has also developed management pack solutions for applications such as Oracle, SAP, DB2 and others, is releasing a full featured Log File MP to the community and best of all it’s FREE.
Here is a comparison between the Native SCOM capabilities and the enhancements offered by the NiCE Log File MP.
This is a feature rich management pack offering a range of custom rules and monitors which also cater for log line correlation and preprocessing scenarios as well as customizable alerting and behavior for when a log file is missing or does not exist.
Stefan Roth has already written a nice review of some of the management pack capabilities: here using a custom monitor with a robocopy log file to determine when copies have failed.
The free Log File management pack is available for download from http://www.nice.de
Brian McDermott highlighted an issue to watch out for when upgrading to SCOM 2012 R2 where you may get Data Warehouse synchronization failure errors after the upgrade.
The article can be found here with solid reasoning as to the cause and solution:
Please note that the Event ID 31565 noted above is a very generic error and you should only run the SQL below if the description identifies that it is the problem with the TFSWorkItemID column.
Error below:
Log Name: Operations Manager
Source: Health Service Modules
Date:
Event ID: 31565
Task Category: Data Warehouse
Level: Error
Keywords: Classic
User: N/A
Computer: OMMS.domain.com
Description:
Failed to deploy Data Warehouse component. The operation will be retried.
Exception ‘DeploymentException’: Failed to perform Data Warehouse component deployment operation: Install; Component: DataSet, Id: ‘0d698dff-9b7e-24d1-8a74-4657b86a59f8′, Management Pack Version-dependent Id: ’29a3dd22-8645-bae5-e255-9b56bf0b12a8′; Target: DataSet, Id: ’23ee52b1-51fb-469b-ab18-e6b4be37ab35’. Batch ordinal: 3; Exception: Sql execution failed. Error 207, Level 16, State 1, Procedure vAlertDetail, Line 18, Message: Invalid column name ‘TfsWorkItemId’.
This issue can be fixed with the below SQL query, as always BACKUP your databases and proceed at your own risk:
USE OperationsManagerDW
DECLARE @GuidString NVARCHAR(50)
SELECT @GuidString = DatasetId FROM StandardDataset
WHERE SchemaName = ‘Alert’
— update all tables that were already created
DECLARE
@StandardDatasetTableMapRowId int
,@Statement nvarchar(max)
,@SchemaName sysname
,@TableNameSuffix sysname
,@BaseTableName sysname
,@FullTableName sysname
SET @StandardDatasetTableMapRowId = 0
WHILE EXISTS (SELECT *
FROM StandardDatasetTableMap tm
WHERE (tm.StandardDatasetTableMapRowId > @StandardDatasetTableMapRowId)
A new web based maintenance mode tool has been released by Tim McFadden and is available for purchase here (with a 30 day free trial)
From the site “The new web based scheduler simplifies the process of scheduling maintenance mode for SCOM administrators and IT staff. You can easily schedule a computer group or any object to maintenance mode in seconds.”
The tool looks very polished and comprised a web based interface as well as a windows 8 app. There is also a really nice feature included which allows a shortcut to be placed on any server desktop which when used will place that specific server into maintenance, now that’s cool.
Cost:
Site License with one year free updates $99 Site License with two years free updates $149
Kevin Holman has posted a couple of powershell scripts to simplify enabling proxy for SCOM 2012 agents, proxy always on is a particularly handy find:
Turn on agent proxy for all agents where it is disabled: get-SCOMagent | where {$_.ProxyingEnabled -match “False”} | Enable-SCOMAgentProxy
Turn on agent proxy as a default setting for all new agents to be deployed, never to have to mess with this again: add-pssnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”; new-managementGroupConnection -ConnectionString:scomserver.domain.com; set-location “OperationsManagerMonitoring::”; Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True
When updating the IBM Storage Management Pack to 2.1.0 there are a few things to be aware of, most of which is included in the documentation.
After completing the installation, running the upgrade configuration and removing the old management packs and importing the new ones we still weren’t able to re-discover the IBM SAN.
The documentation recommends, in the configuration section that, “The IBM storage configuration must be synchronized with Management Server manually if there is storage configuration left after upgrading from previous version to version 2.1.0. The IBM storage configuration also should be synchronized with the Management Server manually after the management pack is deleted and re-imported.”
Except that the command skipped all of our SANs.
Checking the SCOM configuration revealed that something which shouldn’t have happened, had happened. The SCOM configuration had been lost during the upgrade
Using the –sc-set command to re-do the configration was successful, which allowed the migration to complete and in short order the SANs were discovered and monitoring.
Something I’ve noticed, being exposed to a variety of SCOM deployments, is that in quite a few cases Management Packs are installed and never looked at again. Generally this seems to stem from either the engineer looking after the environment doesn’t know any better or is perhaps too cautious to perform an update but there may be other specific reasons such as client restrictions.
Never the less it is good practice to check all of your management packs regularly, I’d say at least once a month, to see if any updated versions are available.
The easiest way to check MPs available through the catalog is to use the wizard in the SCOM console and search for “Updates Available for installed Management Packs”
In my experience once you have found a new version of a particular MP has been released it is always a good idea to download the MSI from the relevant site instead of using the wizard. This is because if a new management pack has been added to the package that wasn’t there in the previous version then you will not detect it as an update for an installed Management Pack.
If you have management packs not available through the catalog then they unfortunately need to be checked against the latest version at the vendor site manually.
Remember: If possible always test before deploying a new version of a management pack, if you don’t have access to a lab then an alternative is to keep an eye on community blogs and sites like System Center Central and MP Wiki, to see if any issues crop up.
If you have a good method for keeping your management packs up to date leave a comment.
Here is a great article on using the “Sync time” property correctly in SCOM overrides and workflows, written by Kevin Holman, follow the link for the complete article. On a side note it’s good to see Kevin back in the saddle as a PFE for SCOM. I’m sure we’re all looking forward to what wizardry he comes up with.
“We use the scheduler datasource in SCOM for workflows for all kinds of purposes. Most workflows have some concept of a schedule in the datasource to tell how often to inspect for something, like a service running, or to look at perfmon data, or to run a script.
The most common property would be the Interval, which is how often we want the workflow to run.
We’re all familiar with the Maintenance mode tool created by Ryan Andorfer, well Stefan Rothhas created a utility for SCOM 2012 using the same look and feel. Well done Stephan.
I do need to note that this utility comes with a disclaimer to use at your own risk.
I’ve included the tool below, if you run into any issues or unexpected results the utility page is here leave Stephan a comment so he is aware of it.