Monthly Archives: August 2013

SCOM: Patches to be Careful of

Having come across another patch recently which can cause critical issue with SCOM I’ve decided to create a page to record the KB numbers on as well as any relevant additional information.

1.KB2585542
2.KB2775511 

1. KB2585542 – This patch will break Unix monitoring due to  causing WS-Management connections to UNIX/Linux agents to fail.  If this patch is installed on your management servers you can either uninstall it or perform one of the following:

  • Edit the registry to add this 32bit DWORD value:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\ SendExtraRecord = 2
  • Or there is a “FixIt” package is available in the KB article under the Known Issues section that can be used to disable the security update

2.KB2775511  – Marnix Wolf has a great article on this issue. “After installing KB2775511 on Operations Manager Management Servers, agents or servers may be affected by a deadlock.
Once in deadlock, Management Servers will generate Heart Beat failures and will go into a “greyed out” state. grayed out. As a result, devices managed by these Management Servers will also go into a “greyed out” or “not monitored state.””

This patch is a combination of 89 hot fixes so ideally you want to avoid installing it.  Even though the issue doesn’t occur on all SCOM system it would be advisable to wait for an updated bulletin from the MS System Center team before installing it.

Note: Microsoft have release a hotfix to address this issue, I’d still recommend approaching with caution. Link – “SCOM 2012 or SCOM 2007 R2 throws a “Heartbeat Failure” message and then goes into a greyed out state in Windows Server 2008 R2 SP1

Loading

SCOM 2012: Powershell overview

Just a quick refference for the SCOM 2012 powershell cmdlets. The same information is available within the SCOM shell.

Technet detailed help is a site with detailed help for each cmdlet, including examples.

————————————————————————

OPERATIONS MANAGER 2012 MODULE NAME

————————————————————————

Operations Manager 2007 snap-in

Microsoft.EnterpriseManagement.OperationsManager.Client

Operations Manager 2012 module

OM10

————————————————————————

NEW OPERATIONS MANAGER 2012 CMDLETS

————————————————————————

Enable-SCOMAgentProxy

Disable-SCOMAgentProxy

Enable-SCOMDiscovery

Disable-SCOMDiscovery

Set-SCOMManagementGroupConnection

Enable-SCOMMonitor

Disable-SCOMMonitor

Enable-SCOMMonitoringRule

Disable-SCOMMonitoringRule

Get-SCOMRunAsProfile

Update-SCOMRunAsProfile

————————————————————————

RENAMED CMDLETS

————————————————————————

Operations Manager 2007                      Name Operations Manager 2012 Name

—————————-                         —————————-

Get-Agent                                                       Get-SCOMAgent

Install-Agent                                                  Install-SCOMAgent

Uninstall-Agent                                             Uninstall-SCOMAgent

Approve-AgentPendingAction                    Approve-SCOMPendingManagement

Get-AgentPendingAction                             Get-SCOMPendingManagement

Reject-AgentPendingAction                        Deny-SCOMPendingManagement

Get-Alert                                                          Get-SCOMAlert

Resolve-Alert                                                   Set-SCOMAlert

Set-AlertDestination                                       Set-SCOMAlert

Get-AlertHistory                                              Get-SCOMAlertHistory

Get-Connector                                                  Get-SCOMConnector

Get-Diagnostic                                                  Get-SCOMDiagnostic

Remove-DisabledMonitoringObject             Remove-SCOMDisabledClassInstance

Get-Discovery                                                    Get-SCOMDiscovery

Get-Event                                                           Get-SCOMEvent

Get-FailoverManagementServer                   Get-SCOMAgentManagementServerSetting

Get-GatewayManagementServer                  Get-SCOMGatewayManagementServer

Get-MaintenanceWindow                               Get-SCOMMaintenanceMode

New-MaintenanceWindow                             Start-SCOMMaintenanceMode

Set-MaintenanceWindow                               Update-SCOMMaintenanceMode

Get-ManagementGroupConnection             Get-SCOMManagementGroupConnection

New-ManagementGroupConnection           New-SCOMManagementGroupConnection

Remove-ManagementGroupConnection    Remove-SCOMManagementGroupConnection

Export-ManagementPack                              Export-SCOMManagementPack

Get-ManagementPack                                    Get-SCOMManagementPack

Install-ManagementPack                               Import-SCOMManagementPack

Uninstall-ManagementPack                          Remove-SCOMManagementPack

Get-ManagementServer                                 Get-SCOMManagementServer

Set-ManagementServer                                  Set-SCOMAgentManagementServerSetting

Set-ManagementServer                                  Set-SCOMAgentManagementServerSetting

Get-Monitor                                                      Get-SCOMMonitor

Get-MonitorHierarchy                                    Get-SCOMMonitor

Get-MonitoringClass                                       Get-SCOMClass

Get-MonitoringObject                                     Get-SCOMClassInstance

Get-MonitoringObjectGroup                         Get-SCOMGroup

Get-NotificationAction                                    Get-SCOMNotificationAction

Get-NotificationEndpoint                               Get-SCOMNotificationEndpoint

Get-NotificationRecipient                               Get-SCOMNotificationRecipient

Disable-NotificationSubscription                  Disable-SCOMNotificationSubscription

Enable-NotificationSubscription                   Enable-SCOMNotificationSubscription

Get-NotificationSubscription                          Get-SCOMNotificationSubscription

Get-Override                                                       Get-SCOMOverride

Get-PrimaryManagementServer                    Get-SCOMAgentManagementServerSetting

Set-ProxyAgent                                                  Set-SCOMAgentlessManagedComputer

Get-Recovery                                                      Get-SCOMRecovery

Get-RelationshipClass                                      Get-SCOMRelationship

Get-RelationshipObject                                   Get-SCOMRelationshipInstance

Add-RemotelyManagedComputer                Add-SCOMAgentlessManagedComputer

Get-RemotelyManagedComputer                 Get-SCOMAgentlessManagedComputer

Remove-RemotelyManagedComputer         Remove-SCOMAgentlessManagedComputer

Get-ResultantCategoryOverride                    Get-SCOMOverride

Get-ResultantRuleOverride                            Get-SCOMOverride

Get-ResultantUnitMonitorOverride             Get-SCOMOverride

Get-Rule                                                             Get-SCOMMonitoringRule

Get-RunAsAccount                                          Get-SCOMRunAsAccount

Get-Task                                                             Get-SCOMTask

Start-Task                                                          Start-SCOMTask

Get-TaskResult                                                 Get-SCOMTaskResult

Get-UserRole                                                    Get-SCOMUserRole

Add-UserToUserRole                                      Update-SCOMUserRole

————————————————————————

DEPRECATED OPERATIONS MANAGER 2007 CMDLETS

————————————————————————

Install-AgentByName

Get-AlertDestination

Remove-ConnectorFromTier

Add-ConnectorToTier

New-CustomMonitoringObject

Get-DefaultSetting

Set-DefaultSetting

New-DeviceDiscoveryConfiguration

Get-Diagnostic

Start-Discovery

New-LdapQueryDiscoveryCriteria

Get-MonitoringClassProperty

Get-MonitoringObjectPath

Get-MonitoringObjectProperty

New-MonitoringPropertyValuePair

Get-NotificationAction

Get-NotificationEndpoint

Get-NotificationRecipient

Disable-NotificationSubscription

Enable-NotificationSubscription

Get-NotificationSubscription

Get-OperationsManagerCommand

Get-PerformanceCounter

Get-PerformanceCounterValue

Get-Recovery

Add-RemotelyManagedDevice

Get-RemotelyManagedDevice

Remove-RemotelyManagedDevice

Get-RootManagementServer

Disable-Rule

Enable-Rule

Get-State

Get-Tier

New-Tier

Remove-Tier

New-WindowsDiscoveryConfiguration

Loading