Showing posts with label OperationManager. Show all posts
Showing posts with label OperationManager. Show all posts

Wednesday, January 9, 2013

[OpsMgr 2007 R7] Cumulative Update 7 for System Center Operations Manager 2007 R2

I'm back after 15 days off with some updates ! :)

Cumulative Update 7 for System Center Operations Manager 2007 R2 has been released by Microsoft !


Cumulative Update 7 contains a number of fixes for Operations Manager 2007 R2, as well as all of the fixes from Operations Manager 2007 R2 CU6. A number of fixes may require manual steps to install.

Issues that are fixed in Cumulative Update 7

Cumulative Update 7 for System Center Operations Manager 2007 R2 fixes the following issues:
  • Console performs poorly when User Roles are used to scope object access.
  • Availability data is not shown for the current day when daily aggregation is used.
  • Behavior is inconsistent between some views on web console and console.
  • Log files do not roll over when the Unicode log file is monitored.
  • Several security issues are fixed.

Cumulative Update 7 for System Center Operations Manager 2007 R2 fixes the following cross-platform issues:
  • Logical disk performance statistics are not collected for some volume types on Solaris computers.
  • Some Network Adapters on HP-UX computers may not be discovered.
  • Network adapter performance statistics are not collected for HP-UX network adapters.
  • The Solaris 8 and 9 agent may not restart after an ungraceful shutdown. 

How to obtain and install Cumulative Update 7 for System Center Operations Manager 2007 R2

Download information

Cumulative Update 7 for System Center Operations Manager 2007 R2 is available for download from the Microsoft Download Center.
Collapse this imageExpand this image
 
 
File nameSize
SystemCenterOperationsManager2007-R2CU7-
KB2783850-X86-X64-IA64-ENU.MSI
996.1 MBDownload
 
 
 

This posting is provided "AS IS" with no warranties.

Wednesday, March 7, 2012

[SQL & SCOM] List all Manual Reset Monitors

Here is a short SQL script to use to retrieve the Name of each Manual Reset Monitor. The aim was to identify these monitors in the connector.

  1. Select Monitor.MonitorName, MNTSName
  2. From [OperationsManager].[dbo].[MonitorTypeState] MTS
  3. Inner join OperationsManager.dbo.MonitorType MT With (NOLOCK) on MT.MonitorTypeId = MTS. MonitorTypeId
  4. Inner join Monitor with (NOLOCK) on Monitor. MonitorTypeId = MT. MonitorTypeId
  5. Where MNTSName like '%ManualReset%'
Result should be like :


MonitorNameMNTSName
Microsoft.Windows.Server.2000.OperatingSystem.ServerServiceConfigurationManualResetEventRaised
Microsoft.Windows.Server.2003.OperatingSystem.ServerServiceConfigurationManualResetEventRaised
Microsoft.Windows.Server.2008.OperatingSystem.ServerServiceConfigurationManualResetEventRaised

This posting is provided "AS IS" with no warranties.

Tuesday, January 31, 2012

[SCOM 2007] Reducing calls to the Operations Database - Operation Manager Console Tuning

I've very slow performance with the Operation Manager Console and after some searches, I saw that we can change the default configuration of the automatic polling to the Opsmgr DB made by the console.

By default, the HKCU\Software\Microsoft\Microsoft Operations Manager\3.0\console\CacheParameters\PollingInterval registry key is set to 1 - That means that console will poll every 15 seconds the Operation Manager DB. If you use multiple consoles, that can negatively impact performance. 

For best performance in large environments, you should turn off Polling by setting the key to 0 or increase it to at least level 5. (level 10 is the maximum level value)

Here are the different value
                 0 – Turn off console polling and only refresh when manually pressing F5
                 1 – Console will poll every 15 seconds (default)
                 2 – Console will poll ever 30 seconds
               10 – This is the maximum value – anything above 10 will be treated as 10



NOTE: The CacheParameters key did not exist by default in my environment. HKCU\Software\Microsoft\Microsoft Operations Manager\3.0\console\CacheParameters\EnableContextMenuTasks
defaults value is 0 in SP1. Re-enabled it by recreating the key could cause performance issues.


Launch console on machine in good shape - I mean in good shape having a lot of free disk space not fragmented + at least 1 Go of free memory. The best should be to exclude the path to the console from the antivirus. The last thing should be to limit the number of open consoles.
Local console cache path is Documents and Settings\<username>\local settings\Application Data\Microsoft\Microsoft.MOM.UI.Console

This posting is provided "AS IS" with no warranties.

Friday, January 27, 2012

[SQL & SCOM] List SCOM groups for a list of servers

SELECT TargetMonitoringObjectDisplayName, SourceMonitoringObjectDisplayName AS 'Group'
FROM RelationshipGenericView
WHERE TargetMonitoringObjectDisplayName in ('MyServerFullName',
'MyServerFullName1')
AND (SourceMonitoringObjectDisplayName IN
(SELECT ManagedEntityGenericView.DisplayName
FROM ManagedEntityGenericView INNER JOIN
(SELECT BaseManagedEntityId
FROM BaseManagedEntity WITH (NOLOCK)
WHERE (BaseManagedEntityId = TopLevelHostEntityId) AND (BaseManagedEntityId NOT IN
(SELECT R.TargetEntityId
FROM Relationship AS R WITH (NOLOCK) INNER JOIN
dbo.fn_ContainmentRelationshipTypes() AS CRT ON R.RelationshipTypeId = CRT.RelationshipTypeId
WHERE (R.IsDeleted = 0)))) AS GetTopLevelEntities ON
GetTopLevelEntities.BaseManagedEntityId = ManagedEntityGenericView.Id INNER JOIN
(SELECT DISTINCT BaseManagedEntityId
FROM TypedManagedEntity WITH (NOLOCK)
WHERE (ManagedTypeId IN
(SELECT DerivedManagedTypeId
FROM dbo.fn_DerivedManagedTypes(dbo.fn_ManagedTypeId_Group()) AS fn_DerivedManagedTypes_1))) AS GetOnlyGroups ON
GetOnlyGroups.BaseManagedEntityId = ManagedEntityGenericView.Id))
ORDER BY 'Group'

Result will be like :


TargetMonitoringObjectDisplayNameGroup
MyServerFullName1agent group
MyServerFullNameagent group
MyServerFullName1Agent Managed Computer Group
MyServerFullNameAgent Managed Computer Group
MyServerFullName1All Windows Computers
MyServerFullNameAll Windows Computers
MyServerFullName1IIS 2003 Computer Group
MyServerFullNameIIS 2003 Computer Group
MyServerFullName1IIS Computer Group
MyServerFullNameIIS Computer Group
MyServerFullName1Windows Server 2003 Computer Group
MyServerFullNameWindows Server 2003 Computer Group
MyServerFullName1Windows Server Computer Group
MyServerFullNameWindows Server Computer Group
MyServerFullName1Windows Server Instances Group
MyServerFullNameWindows Server Instances Group

This posting is provided "AS IS" with no warranties.

System Center Operations Manager 2007 usefull SQL Queries

I will try to often update this post with the SQLqueries I've found or developped for specific report needs.

Last update : 2012/03/07

This posting is provided "AS IS" with no warranties.

[SQL & SCOM] Retrieve discovered inventory for a class from OperationManager DB

Retrieve table used (and view) used to store the informations for your class

select TypeName, ManagedTypeTableName, ManagedTypeViewName, IsDeleted  from ManagedType
where TypeName LIKE 'MyClassName'

Result will be like :


TypeNameManagedTypeTableNameManagedTypeViewNameIsDeleted
MyClassNameMT_CLS1_OMTV_CLS1_N0



Discovered inventory can be also retrieved by using the view :

select * from MTV_CLS1_N

This posting is provided "AS IS" with no warranties.