Event ID 31553

Hi Team,
I can seen lots of 31553 event ID in one of my SCOM 2012 management server. can you Please tell me how to fix this issue
Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
Exception 'SqlException': Sql execution failed. Error 2627, Level 14, State 1, Procedure ManagedEntityChange, Line 368, Message: Violation of UNIQUE KEY constraint 'UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime'. Cannot insert duplicate key in object
'dbo.ManagedEntityProperty'.

You Can try below if your events looks like this:
Log Name:      Operations Manager
Source:        Health Service Modules
Date:          7/24/2014 2:38:04 PM
Event ID:      31553
Task Category: Data Warehouse
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      abc.domain.com
Description:
Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
Exception 'SqlException': Sql execution failed. Error 2627, Level 14, State 1, Procedure ManagedEntityChange, Line 368, Message: Violation of UNIQUE KEY constraint 'UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime'. Cannot insert duplicate key in object
'dbo.ManagedEntityProperty'. The duplicate key value is (28420, May 15 2014  1:34AM).
One or more workflows were affected by this. 
Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.ManagedEntity 
Instance name: Data Warehouse Synchronization Service 
Instance ID: {4F977FCC-C642-3A1B-849C-B74CD07B4D51} 
Management group: XXXX
Workflow : : Microsoft.SystemCenter.DataWarehouse.Synchronization.ManagedEntity , not able to insert data to the records already available in table Managedentityproperty.
Next Action:
•         Take the Full backup of Operations Manager Database and Data Warehouse
•         After backup completed run  the below queries to back up the ME stage table and then remove the duplicate entries
select * into ManagedEntityStageDuplicates from ManagedEntityStage
delete mes
from ManagedEntityStage mes
inner join ManagedEntity me on mes.ManagedEntityGuid = me.ManagedEntityGuid
inner join ManagedEntityProperty mep on me.ManagedEntityRowId = mep.ManagedEntityRowId
where mep.FromDateTime = mes.ChangeDateTime

Similar Messages

  • SCOM 2012 SP1 Datawarehouse event id 31553 and after 2 minutes successful id 31572

    Hello guys,
    I'm running SCOM 2012 SP1 and in one of my 3 Management groups i got the following events. I get them every few minutes and i cannot explain it. I have checked the aggregation of the DW and its fine. I Have extended the timeout from 5 to 15 minutes ... What
    should i do next. Please help with this. I have checked all 2007 posts but they are not related to my problem. I have tried a number of queries but they don't return any result. Do I have a SQL server performance issue ?
    Date and Time:
    10/27/2014 11:05:10 AM
    Log Name:
    Operations Manager
    Source:
    Health Service Modules
    Generating Rule:
    Data Warehouse related event collection
    Event Number:
    31553
    Level:
     Error
    Logging Computer:
    User:
    N/A
    Description:
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations. Exception 'SqlException': Transaction (Process ID 71) was deadlocked on lock resources with another process and has been chosen as the deadlock
    victim. Rerun the transaction.
    One or more workflows were affected by this.
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData
    Instance name: server2.mymg.corp
    Instance ID: {EBD49B2A-D314-07DF-9E2C-B79CF86B1A72}
    Management group: MyMG
    Date and Time:
    10/27/2014 11:26:36 AM
    Log Name:
    Operations Manager
    Source:
    Health Service Modules
    Generating Rule:
    Data Warehouse related event collection
    Event Number:
    31553
    Level:
     Error
    Logging Computer:
    server10.mymg.corp
    User:
    N/A
    Description:
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations. Exception 'SqlException': Transaction (Process ID 68) was deadlocked on lock resources with another process and has been chosen as the deadlock
    victim. Rerun the transaction.
    One or more workflows were affected by this.
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData
    Instance name: server10.mymg.corp
    Instance ID: {DBDD19A5-98B3-F90A-641E-7C4693BFD6EB}
    Management group: MyMG
    Event Data:
     View Event Data
    < DataItem
    type ="
    System.XmlData "
    time =" 2014-10-27T11:26:36.2773982-05:00
    " sourceHealthServiceId
    =" DBDD19A5-98B3-F90A-641E-7C4693BFD6EB
    " >
    < EventData
    >
    < Data > MyMG</
    Data >
    < Data >
    Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData
    </ Data
    >
    < Data > server10.mymg.corp
    </ Data
    >
    < Data >
    {DBDD19A5-98B3-F90A-641E-7C4693BFD6EB}
    </ Data >
    < Data >
    SqlException </
    Data >
    < Data >
    Transaction (Process ID 68) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    </ Data
    >
    </ EventData
    >
    </ DataItem
    >
    User:
    N/A
    After 2 minutes i will have the 31572 which is
    Data writer successfully performed data maintenance operations. What would be the reason for this ?

    There are a few things that can cause this. Your hint here is the deadlock message; processes are competing to write data in the DW, so you need to find out what that is. You also have a message stating that data is written to staging, but timing out moving
    the data. If you happen to be running the Exchange MP, this creates an additional data set that can quietly clog up the works--but you would see that dataset in the event message as well.
    Because you say aggregation is moving, try following these steps, they have served me well. I think you are seeing the results of data getting 'stuck' that causes the system to slowly choke itself. Note: You can focus on just the perf dataset, but always
    a good idea to make sure everything is healthy while you're at it.
    Steps:
    Check to see if the staging area for data written to the DW is clear and data is moving:
    select count(*) from Alert.AlertStage
    select count (*) from Event.eventstage
    select count (*) from Perf.PerformanceStage
    select count (*) from state.statestage
    These values normally rise and fall rapidly. If you open each table, they should also only contain recent data. If you find any data points older than a day, something is stuck. In one case I found state.statestage stuck around 14300. A look at the data
    showed a few hundred rows of data that had information 4 months old.
    See if data is moving (if you have old data, the answer is evident):
    1. select * from StandardDataset
    2. Plug the appropriate GUID into exec StandardDatasetMaintenance @DatasetId='<GUID from query>'
    3. See if the count decreases
    If it doesn't, if the data is expendable, just truncate the table (don't be afraid to do this--if OpsMgr is choking, stop the choking, and don't fret over missing data points)
    truncate table state.statechange
    Optional query:
    Plug the DatasetId into the below query
    USE [OperationsManagerDW]
    DECLARE @DataSet uniqueidentifier
    SET @DataSet = (SELECT DatasetId FROM StandardDataset WHERE DatasetId = '138B1324-BE31-42D7-A6CB-EA10139E309C')
    EXEC StandardDatasetMaintenance @DataSet
    Note: Valid current values are Event, Alert, CM, Perf, State
    If these check out, it's time to
    See if any SQL jobs are running that could be interfering
    If you are not out of space, but close, and autogrow is killing your performance
    Run the large table query to see if you have unchecked perf data growth that exceeds the performance capability of the SQL box
    You may indeed have a SQL performance issue, but that's the last thing you troubleshoot--make sure OpsMgr is healthy first

  • Event 31553 UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime

    Hi!
    At my customer we get a lot of this event:
    Event ID = 31553
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
    Exception 'SqlException': Sql execution failed. Error 2627, Level 14, State 1, Procedure ManagedEntityChange, Line 368, Message: Violation of UNIQUE KEY constraint 'UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime'.
    Cannot insert duplicate key in object 'dbo.ManagedEntityProperty'. The duplicate key value is (13066, Nov 11 2013  3:40PM).
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.ManagedEntity
    I have found some solution that include to run SQL quries but this is
    unsupported. The unsupported solution is located at
     http://www.systemcentercentral.com/fixing-event-id-31553-on-scom-management-server/
    I have rune the Select quries:
    Select *
      FROM [OperationsManagerDW].[dbo].[ManagedEntityProperty] where ManagedEntityRowId= 13066
    and get the result:
    48858
    13066
    <Root><Property   Guid="AFB4F9E6-BF48-1737-76AD-C9B3EC325B97" /><Property   Guid="11927069-6957-DFCF-A277-08A784221325">ACDCEDB7-100C-8C91-D664-4629A218BD94</Property><Property
      Guid="349171AA-1FAD-2E7A-5D59-9A471535E971">172800</Property><Property   Guid="31837DF6-3222-947B-3FC7-3AC446F67557">300</Property><Property   Guid="9DF5FD68-00D7-BFF5-44B2-2B7FE0F62705">emea-gb-lts-edge</Property></Root>
    NULL
    2013-11-11 15:40:31.313
    NULL
    2013-11-11 15:41:42.850
    2013-11-11 15:41:42.850
    Is there any supported solution to solve this problem?
    //Mats A

    What is your SCOM version?
    Please update the latest UR which can solve this issue
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
    Exception 'SqlException': Sql execution failed. Error 2627, Level 14, State 1, Procedure ManagedEntityChange, Line 367, Message: Violation of UNIQUE KEY constraint 'UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime'. Cannot insert duplicate key in object
    'dbo.ManagedEntityProperty'.
    1) scom 2012 sp1 UR8: http://support.microsoft.com/kb/2991997
    2) SCOM 2012 R2 UR4:
    https://support.microsoft.com/kb/2992020?wa=wsignin1.0
    Roger

  • Scom 2007 R2 error 31553-31552-31551

    We need help with SCOM 2007 R2
    We start having a lot problems with our DW database lately,
    Each night between Midnight and eight in the morning, the SCOM 2007 R2 RMS server try to write and read a lots data to the SQL Server DW database.
    It’s same we missing some table in the DW database (specially the one for the perf performance stage)
    We get a lot of errors in RMS event viewer
    31553:
    31552:

    no errors for DBCC CHECKDB
    DBCC results for 'OperationsManagerDW'.
    Service Broker Msg 9675, State 1: Message Types analyzed: 14.
    Service Broker Msg 9676, State 1: Service Contracts analyzed: 6.
    Service Broker Msg 9667, State 1: Services analyzed: 3.
    Service Broker Msg 9668, State 1: Service Queues analyzed: 3.
    Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 0.
    Service Broker Msg 9674, State 1: Conversation Groups analyzed: 0.
    Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0.
    Service Broker Msg 9605, State 1: Conversation Priorities analyzed: 0.
    DBCC results for 'sys.sysrscols'.
    There are 2341 rows in 81 pages for object "sys.sysrscols".
    DBCC results for 'sys.sysrowsets'.
    There are 388 rows in 8 pages for object "sys.sysrowsets".
    DBCC results for 'sys.sysallocunits'.
    There are 497 rows in 32 pages for object "sys.sysallocunits".
    DBCC results for 'sys.sysfiles1'.
    There are 2 rows in 1 pages for object "sys.sysfiles1".
    DBCC results for 'sys.syspriorities'.
    There are 0 rows in 0 pages for object "sys.syspriorities".
    DBCC results for 'sys.sysfgfrag'.
    There are 2 rows in 1 pages for object "sys.sysfgfrag".
    DBCC results for 'sys.sysphfg'.
    There are 1 rows in 1 pages for object "sys.sysphfg".
    DBCC results for 'sys.sysprufiles'.
    There are 2 rows in 1 pages for object "sys.sysprufiles".
    DBCC results for 'sys.sysftinds'.
    There are 0 rows in 0 pages for object "sys.sysftinds".
    DBCC results for 'sys.sysowners'.
    There are 24 rows in 1 pages for object "sys.sysowners".
    DBCC results for 'sys.sysprivs'.
    There are 544 rows in 3 pages for object "sys.sysprivs".
    DBCC results for 'sys.sysschobjs'.
    There are 957 rows in 29 pages for object "sys.sysschobjs".
    DBCC results for 'sys.syscolpars'.
    There are 3143 rows in 138 pages for object "sys.syscolpars".
    DBCC results for 'sys.sysnsobjs'.
    There are 1 rows in 1 pages for object "sys.sysnsobjs".
    DBCC results for 'sys.syscerts'.
    There are 0 rows in 0 pages for object "sys.syscerts".
    DBCC results for 'sys.sysxprops'.
    There are 9 rows in 1 pages for object "sys.sysxprops".
    DBCC results for 'sys.sysscalartypes'.
    There are 34 rows in 1 pages for object "sys.sysscalartypes".
    DBCC results for 'sys.systypedsubobjs'.
    There are 0 rows in 0 pages for object "sys.systypedsubobjs".
    DBCC results for 'sys.sysidxstats'.
    There are 876 rows in 23 pages for object "sys.sysidxstats".
    DBCC results for 'sys.sysiscols'.
    There are 1168 rows in 9 pages for object "sys.sysiscols".
    DBCC results for 'sys.sysbinobjs'.
    There are 23 rows in 1 pages for object "sys.sysbinobjs".
    DBCC results for 'sys.sysaudacts'.
    There are 0 rows in 0 pages for object "sys.sysaudacts".
    DBCC results for 'sys.sysobjvalues'.
    There are 1300 rows in 716 pages for object "sys.sysobjvalues".
    DBCC results for 'sys.sysclsobjs'.
    There are 23 rows in 1 pages for object "sys.sysclsobjs".
    DBCC results for 'sys.sysrowsetrefs'.
    There are 0 rows in 0 pages for object "sys.sysrowsetrefs".
    DBCC results for 'sys.sysremsvcbinds'.
    There are 0 rows in 0 pages for object "sys.sysremsvcbinds".
    DBCC results for 'sys.sysxmitqueue'.
    There are 0 rows in 0 pages for object "sys.sysxmitqueue".
    DBCC results for 'sys.sysrts'.
    There are 1 rows in 1 pages for object "sys.sysrts".
    DBCC results for 'sys.sysconvgroup'.
    There are 0 rows in 0 pages for object "sys.sysconvgroup".
    DBCC results for 'sys.sysdesend'.
    There are 0 rows in 0 pages for object "sys.sysdesend".
    DBCC results for 'sys.sysdercv'.
    There are 0 rows in 0 pages for object "sys.sysdercv".
    DBCC results for 'sys.syssingleobjrefs'.
    There are 564 rows in 6 pages for object "sys.syssingleobjrefs".
    DBCC results for 'sys.sysmultiobjrefs'.
    There are 2813 rows in 26 pages for object "sys.sysmultiobjrefs".
    DBCC results for 'sys.sysguidrefs'.
    There are 0 rows in 0 pages for object "sys.sysguidrefs".
    DBCC results for 'sys.syscompfragments'.
    There are 0 rows in 0 pages for object "sys.syscompfragments".
    DBCC results for 'sys.sysftstops'.
    There are 0 rows in 0 pages for object "sys.sysftstops".
    DBCC results for 'sys.sysqnames'.
    There are 97 rows in 1 pages for object "sys.sysqnames".
    DBCC results for 'sys.sysxmlcomponent'.
    There are 99 rows in 1 pages for object "sys.sysxmlcomponent".
    DBCC results for 'sys.sysxmlfacet'.
    There are 112 rows in 1 pages for object "sys.sysxmlfacet".
    DBCC results for 'sys.sysxmlplacement'.
    There are 18 rows in 1 pages for object "sys.sysxmlplacement".
    DBCC results for 'sys.sysobjkeycrypts'.
    There are 0 rows in 0 pages for object "sys.sysobjkeycrypts".
    DBCC results for 'sys.sysasymkeys'.
    There are 0 rows in 0 pages for object "sys.sysasymkeys".
    DBCC results for 'sys.syssqlguides'.
    There are 0 rows in 0 pages for object "sys.syssqlguides".
    DBCC results for 'sys.sysbinsubobjs'.
    There are 3 rows in 1 pages for object "sys.sysbinsubobjs".
    DBCC results for 'sys.syssoftobjrefs'.
    There are 1375 rows in 21 pages for object "sys.syssoftobjrefs".
    DBCC results for 'WorkflowCategory'.
    There are 14 rows in 1 pages for object "WorkflowCategory".
    DBCC results for 'StandardDatasetAggregation'.
    There are 7 rows in 1 pages for object "StandardDatasetAggregation".
    DBCC results for 'ManagementGroupDataset'.
    There are 5 rows in 1 pages for object "ManagementGroupDataset".
    DBCC results for 'DomainTableIndexOptimizationHistory'.
    There are 364 rows in 4 pages for object "DomainTableIndexOptimizationHistory".
    DBCC results for 'StandardDatasetAggregationHistory'.
    There are 784 rows in 8 pages for object "StandardDatasetAggregationHistory".
    DBCC results for 'ManagementGroupManagementPackVersion'.
    There are 402 rows in 3 pages for object "ManagementGroupManagementPackVersion".
    DBCC results for 'DomainTableStatisticsUpdateHistory'.
    There are 2437 rows in 36 pages for object "DomainTableStatisticsUpdateHistory".
    DBCC results for 'State.StateHourly_9152745748A842B5A3F922A0275534E7'.
    There are 4875148 rows in 30858 pages for object "State.StateHourly_9152745748A842B5A3F922A0275534E7".
    DBCC results for 'StandardDatasetAggregationStorage'.
    There are 15 rows in 5 pages for object "StandardDatasetAggregationStorage".
    DBCC results for 'ManagementGroupProductVersion'.
    There are 1 rows in 1 pages for object "ManagementGroupProductVersion".
    DBCC results for 'Alert.AlertStage2Process'.
    There are 0 rows in 0 pages for object "Alert.AlertStage2Process".
    DBCC results for 'ManagementPack'.
    There are 300 rows in 16 pages for object "ManagementPack".
    DBCC results for 'StandardDatasetAggregationStorageIndex'.
    There are 27 rows in 1 pages for object "StandardDatasetAggregationStorageIndex".
    DBCC results for 'StateInvalidatedHealthServiceOutage'.
    There are 534 rows in 2 pages for object "StateInvalidatedHealthServiceOutage".
    DBCC results for 'AggregationType'.
    There are 4 rows in 1 pages for object "AggregationType".
    DBCC results for 'AlertCustomField'.
    There are 10 rows in 1 pages for object "AlertCustomField".
    DBCC results for 'StandardDatasetOptimizationHistory'.
    There are 1437 rows in 16 pages for object "StandardDatasetOptimizationHistory".
    DBCC results for 'StateHealthServiceOutage'.
    There are 2 rows in 1 pages for object "StateHealthServiceOutage".
    DBCC results for 'ManagementPackVersion'.
    There are 403 rows in 5 pages for object "ManagementPackVersion".
    DBCC results for 'StandardDatasetStagingArea'.
    There are 3 rows in 2 pages for object "StandardDatasetStagingArea".
    DBCC results for 'StateProcessedHealthServiceOutage'.
    There are 788 rows in 7 pages for object "StateProcessedHealthServiceOutage".
    DBCC results for 'Dataset'.
    There are 5 rows in 1 pages for object "Dataset".
    DBCC results for 'StandardDatasetTableMap'.
    There are 16 rows in 1 pages for object "StandardDatasetTableMap".
    DBCC results for 'ManagementPackVersionReference'.
    There are 2443 rows in 13 pages for object "ManagementPackVersionReference".
    DBCC results for 'MemberDatabase'.
    There are 1 rows in 1 pages for object "MemberDatabase".
    DBCC results for 'StateProcessedMaintenanceMode'.
    There are 693 rows in 5 pages for object "StateProcessedMaintenanceMode".
    DBCC results for 'DatasetType'.
    There are 5 rows in 1 pages for object "DatasetType".
    DBCC results for 'DatasetTypeManagementPackVersion'.
    There are 5 rows in 3 pages for object "DatasetTypeManagementPackVersion".
    DBCC results for 'State.StateDaily_EADB03897BA244479B45D4124C395FAE'.
    There are 1941597 rows in 12295 pages for object "State.StateDaily_EADB03897BA244479B45D4124C395FAE".
    DBCC results for 'DatasetTypeSchemaTypeManagementPackVersion'.
    There are 5 rows in 1 pages for object "DatasetTypeSchemaTypeManagementPackVersion".
    DBCC results for 'MemberDatabaseScript'.
    There are 44 rows in 1 pages for object "MemberDatabaseScript".
    DBCC results for 'Event.Event_0F210DD64F9B4F338562CD6B02888618'.
    There are 776685 rows in 11273 pages for object "Event.Event_0F210DD64F9B4F338562CD6B02888618".
    DBCC results for 'Date'.
    There are 18263 rows in 55 pages for object "Date".
    DBCC results for 'Event.EventRule_0F210DD64F9B4F338562CD6B02888618'.
    There are 776685 rows in 3571 pages for object "Event.EventRule_0F210DD64F9B4F338562CD6B02888618".
    DBCC results for 'Monitor'.
    There are 2443 rows in 149 pages for object "Monitor".
    DBCC results for 'State.StateHourly_80D46E81EA8A4946BAE565718E23567C'.
    There are 5002399 rows in 31673 pages for object "State.StateHourly_80D46E81EA8A4946BAE565718E23567C".
    DBCC results for 'Event.EventParameter_0F210DD64F9B4F338562CD6B02888618'.
    There are 3042619 rows in 41649 pages for object "Event.EventParameter_0F210DD64F9B4F338562CD6B02888618".
    DBCC results for 'Diagnostic'.
    There are 193 rows in 9 pages for object "Diagnostic".
    DBCC results for 'Event.EventDetail_0F210DD64F9B4F338562CD6B02888618'.
    There are 776685 rows in 107721 pages for object "Event.EventDetail_0F210DD64F9B4F338562CD6B02888618".
    DBCC results for 'MonitorManagementPackVersion'.
    There are 2820 rows in 992 pages for object "MonitorManagementPackVersion".
    DBCC results for 'ManagedEntityMonitor'.
    There are 77535 rows in 297 pages for object "ManagedEntityMonitor".
    DBCC results for 'DiagnosticManagementPackVersion'.
    There are 197 rows in 50 pages for object "DiagnosticManagementPackVersion".
    DBCC results for 'Alert.Alert_1D1033C52B2E4986B16FFC2AC9541209'.
    There are 24058 rows in 1385 pages for object "Alert.Alert_1D1033C52B2E4986B16FFC2AC9541209".
    DBCC results for 'Perf.PerformanceStage'.
    There are 7916552 rows in 71991 pages for object "Perf.PerformanceStage".
    DBCC results for 'Override'.
    There are 1633 rows in 163 pages for object "Override".
    DBCC results for 'Discovery'.
    There are 675 rows in 41 pages for object "Discovery".
    DBCC results for 'StateAggregationProcessing'.
    There are 1 rows in 1 pages for object "StateAggregationProcessing".
    DBCC results for 'Alert.AlertResolutionState_1D1033C52B2E4986B16FFC2AC9541209'.
    There are 47635 rows in 419 pages for object "Alert.AlertResolutionState_1D1033C52B2E4986B16FFC2AC9541209".
    DBCC results for 'OverrideManagementPackVersion'.
    There are 3235 rows in 40 pages for object "OverrideManagementPackVersion".
    DBCC results for 'DiscoveryManagementPackVersion'.
    There are 852 rows in 365 pages for object "DiscoveryManagementPackVersion".
    DBCC results for 'Recovery'.
    There are 151 rows in 6 pages for object "Recovery".
    DBCC results for 'Alert.AlertDetail_1D1033C52B2E4986B16FFC2AC9541209'.
    There are 24058 rows in 261 pages for object "Alert.AlertDetail_1D1033C52B2E4986B16FFC2AC9541209".
    DBCC results for 'DisplayString'.
    There are 18186 rows in 541 pages for object "DisplayString".
    DBCC results for 'RecoveryManagementPackVersion'.
    There are 168 rows in 39 pages for object "RecoveryManagementPackVersion".
    DBCC results for 'State.StateStage'.
    There are 0 rows in 0 pages for object "State.StateStage".
    DBCC results for 'Alert.AlertParameter_1D1033C52B2E4986B16FFC2AC9541209'.
    There are 24071 rows in 340 pages for object "Alert.AlertParameter_1D1033C52B2E4986B16FFC2AC9541209".
    DBCC results for 'State.StateHourly_06EE9C72EECF4646ADB70C9D64314A7E'.
    There are 5006462 rows in 31695 pages for object "State.StateHourly_06EE9C72EECF4646ADB70C9D64314A7E".
    DBCC results for 'DomainSynchronization'.
    There are 2 rows in 1 pages for object "DomainSynchronization".
    DBCC results for 'Relationship'.
    There are 21254 rows in 145 pages for object "Relationship".
    DBCC results for 'HealthServiceOutage'.
    There are 14248 rows in 81 pages for object "HealthServiceOutage".
    DBCC results for 'Alert.AlertStage'.
    There are 0 rows in 53 pages for object "Alert.AlertStage".
    DBCC results for 'RelationshipManagementGroup'.
    There are 42289 rows in 257 pages for object "RelationshipManagementGroup".
    DBCC results for 'HealthServiceOutageStage'.
    There are 0 rows in 1 pages for object "HealthServiceOutageStage".
    DBCC results for 'HealthState'.
    There are 6 rows in 1 pages for object "HealthState".
    DBCC results for 'sys.filestream_tombstone_1020976249'.
    There are 0 rows in 0 pages for object "sys.filestream_tombstone_1020976249".
    DBCC results for 'sys.syscommittab'.
    There are 0 rows in 0 pages for object "sys.syscommittab".
    DBCC results for 'RelationshipProperty'.
    There are 42289 rows in 443 pages for object "RelationshipProperty".
    DBCC results for 'Image'.
    There are 296 rows in 87 pages for object "Image".
    DBCC results for 'ImageReference'.
    There are 386 rows in 3 pages for object "ImageReference".
    DBCC results for 'RelationshipStage'.
    There are 0 rows in 1 pages for object "RelationshipStage".
    DBCC results for 'MaintenanceMode'.
    There are 24680500 rows in 180389 pages for object "MaintenanceMode".
    DBCC results for 'RelationshipType'.
    There are 396 rows in 26 pages for object "RelationshipType".
    DBCC results for 'MaintenanceModeHistory'.
    There are 24682067 rows in 448718 pages for object "MaintenanceModeHistory".
    DBCC results for 'EventCategory'.
    There are 34 rows in 1 pages for object "EventCategory".
    DBCC results for 'RelationshipTypeManagementPackVersion'.
    There are 454 rows in 3 pages for object "RelationshipTypeManagementPackVersion".
    DBCC results for 'MaintenanceModeStage'.
    There are 0 rows in 1 pages for object "MaintenanceModeStage".
    DBCC results for 'EventChannel'.
    There are 3 rows in 1 pages for object "EventChannel".
    DBCC results for 'State.StateHourly_17E775D1E37D439285DA1452108BC8C8'.
    There are 4584810 rows in 29019 pages for object "State.StateHourly_17E775D1E37D439285DA1452108BC8C8".
    DBCC results for 'RelationshipTypeProperty'.
    There are 12 rows in 1 pages for object "RelationshipTypeProperty".
    DBCC results for 'State.StateHourly_839E9164A3F04101B0C0C301AA9B2B0A'.
    There are 5016774 rows in 31753 pages for object "State.StateHourly_839E9164A3F04101B0C0C301AA9B2B0A".
    DBCC results for 'MaintenanceSetting'.
    There are 1 rows in 1 pages for object "MaintenanceSetting".
    DBCC results for 'RelationshipTypePropertyManagementPackVersion'.
    There are 14 rows in 1 pages for object "RelationshipTypePropertyManagementPackVersion".
    DBCC results for 'EventLevel'.
    There are 6 rows in 1 pages for object "EventLevel".
    DBCC results for 'EventLoggingComputer'.
    There are 147 rows in 2 pages for object "EventLoggingComputer".
    DBCC results for 'Report'.
    There are 41 rows in 2 pages for object "Report".
    DBCC results for 'State.StateHourly_53BCA23A47004CBBA66DE0D5000E34CB'.
    There are 5008776 rows in 31707 pages for object "State.StateHourly_53BCA23A47004CBBA66DE0D5000E34CB".
    DBCC results for 'sysdiagrams'.
    There are 0 rows in 0 pages for object "sysdiagrams".
    DBCC results for 'ServiceLevelAgreement'.
    There are 1 rows in 1 pages for object "ServiceLevelAgreement".
    DBCC results for 'ReportDisplayString'.
    There are 1278 rows in 26 pages for object "ReportDisplayString".
    DBCC results for 'EventPublisher'.
    There are 27 rows in 1 pages for object "EventPublisher".
    DBCC results for 'Event.EventStage'.
    There are 0 rows in 0 pages for object "Event.EventStage".
    DBCC results for 'ServiceLevelAgreementManagementPackVersion'.
    There are 1 rows in 1 pages for object "ServiceLevelAgreementManagementPackVersion".
    DBCC results for 'ReportManagementPackVersion'.
    There are 42 rows in 1 pages for object "ReportManagementPackVersion".
    DBCC results for 'ServiceLevelObjective'.
    There are 1 rows in 1 pages for object "ServiceLevelObjective".
    DBCC results for 'Perf.PerformanceStage_backup3'.
    There are 1719008 rows in 15629 pages for object "Perf.PerformanceStage_backup3".
    DBCC results for 'ResolutionState'.
    There are 4 rows in 1 pages for object "ResolutionState".
    DBCC results for 'State.StateHourly_9A176646A6C445569A4DE7FE7DACBC4B'.
    There are 4831802 rows in 30585 pages for object "State.StateHourly_9A176646A6C445569A4DE7FE7DACBC4B".
    DBCC results for 'EventUserName'.
    There are 17 rows in 1 pages for object "EventUserName".
    DBCC results for 'ServiceLevelObjectiveManagementPackVersion'.
    There are 1 rows in 1 pages for object "ServiceLevelObjectiveManagementPackVersion".
    DBCC results for 'CM.CMAemRaw_48B4DB7FAF7048D4B9895952DEDC9D94'.
    There are 0 rows in 0 pages for object "CM.CMAemRaw_48B4DB7FAF7048D4B9895952DEDC9D94".
    DBCC results for 'Rule'.
    There are 4682 rows in 284 pages for object "Rule".
    DBCC results for 'ManagedEntity'.
    There are 8969 rows in 481 pages for object "ManagedEntity".
    DBCC results for 'CM.CMAemDaily_807B8B10B25E4E929BBF2188DAC4A0A6'.
    There are 120 rows in 1 pages for object "CM.CMAemDaily_807B8B10B25E4E929BBF2188DAC4A0A6".
    DBCC results for 'RuleManagementPackVersion'.
    There are 5606 rows in 1997 pages for object "RuleManagementPackVersion".
    DBCC results for 'MonitorServiceLevelObjectiveManagementPackVersion'.
    There are 1 rows in 1 pages for object "MonitorServiceLevelObjectiveManagementPackVersion".
    DBCC results for 'CM.CMAemErrorGroupDaily_807B8B10B25E4E929BBF2188DAC4A0A6'.
    There are 0 rows in 0 pages for object "CM.CMAemErrorGroupDaily_807B8B10B25E4E929BBF2188DAC4A0A6".
    DBCC results for 'ManagedEntityManagementGroup'.
    There are 16795 rows in 106 pages for object "ManagedEntityManagementGroup".
    DBCC results for 'SchemaType'.
    There are 52 rows in 3 pages for object "SchemaType".
    DBCC results for 'CM.CMAemApplicationDaily_807B8B10B25E4E929BBF2188DAC4A0A6'.
    There are 0 rows in 0 pages for object "CM.CMAemApplicationDaily_807B8B10B25E4E929BBF2188DAC4A0A6".
    DBCC results for 'Perf.PerformanceStage_backup'.
    There are 171 rows in 3 pages for object "Perf.PerformanceStage_backup".
    DBCC results for 'SchemaTypeManagementPackVersion'.
    There are 52 rows in 16 pages for object "SchemaTypeManagementPackVersion".
    DBCC results for 'ManagedEntityProperty'.
    There are 9040918 rows in 4478401 pages for object "ManagedEntityProperty".
    DBCC results for 'Perf.PerformanceStage_backup2'.
    There are 26548190 rows in 241349 pages for object "Perf.PerformanceStage_backup2".
    DBCC results for 'AemApplication'.
    There are 0 rows in 0 pages for object "AemApplication".
    DBCC results for 'Script'.
    There are 45 rows in 3 pages for object "Script".
    DBCC results for 'PerformanceServiceLevelObjectiveManagementPackVersion'.
    There are 0 rows in 0 pages for object "PerformanceServiceLevelObjectiveManagementPackVersion".
    DBCC results for 'AemComputer'.
    There are 0 rows in 0 pages for object "AemComputer".
    DBCC results for 'ScriptManagementPackVersion'.
    There are 47 rows in 16 pages for object "ScriptManagementPackVersion".
    DBCC results for 'ManagedEntityStage'.
    There are 0 rows in 1 pages for object "ManagedEntityStage".
    DBCC results for 'AemErrorGroup'.
    There are 0 rows in 0 pages for object "AemErrorGroup".
    DBCC results for 'StringResource'.
    There are 4531 rows in 125 pages for object "StringResource".
    DBCC results for 'ManagedEntityType'.
    There are 1165 rows in 49 pages for object "ManagedEntityType".
    DBCC results for 'State.StateHourly_2959516142E34F0BA456040BAFE4605F'.
    There are 3442928 rows in 21793 pages for object "State.StateHourly_2959516142E34F0BA456040BAFE4605F".
    DBCC results for 'AemEventStage'.
    There are 0 rows in 0 pages for object "AemEventStage".
    DBCC results for 'ManagedEntityTypeImage'.
    There are 2330 rows in 681 pages for object "ManagedEntityTypeImage".
    DBCC results for 'SynchronizationProcessState'.
    There are 7 rows in 1 pages for object "SynchronizationProcessState".
    DBCC results for 'State.StateHourly_06CBB94F4BEF49E8B19E98D519624118'.
    There are 3313204 rows in 20971 pages for object "State.StateHourly_06CBB94F4BEF49E8B19E98D519624118".
    DBCC results for 'AemManagedEntityStage'.
    There are 0 rows in 0 pages for object "AemManagedEntityStage".
    DBCC results for 'ManagedEntityTypeManagementPackVersion'.
    There are 1387 rows in 8 pages for object "ManagedEntityTypeManagementPackVersion".
    DBCC results for 'AemSystemErrorGroup'.
    There are 0 rows in 0 pages for object "AemSystemErrorGroup".
    DBCC results for 'Time'.
    There are 1440 rows in 4 pages for object "Time".
    DBCC results for 'sys.queue_messages_1977058079'.
    There are 0 rows in 0 pages for object "sys.queue_messages_1977058079".
    DBCC results for 'DebugMessage'.
    There are 0 rows in 0 pages for object "DebugMessage".
    DBCC results for 'ManagedEntityTypeProperty'.
    There are 1564 rows in 34 pages for object "ManagedEntityTypeProperty".
    DBCC results for 'PerformanceRule'.
    There are 431 rows in 7 pages for object "PerformanceRule".
    DBCC results for 'TimeZone'.
    There are 75 rows in 1 pages for object "TimeZone".
    DBCC results for 'sys.queue_messages_2009058193'.
    There are 0 rows in 0 pages for object "sys.queue_messages_2009058193".
    DBCC results for 'TypedManagedEntity'.
    There are 44538 rows in 303 pages for object "TypedManagedEntity".
    DBCC results for 'ManagedEntityTypePropertyManagementPackVersion'.
    There are 1615 rows in 11 pages for object "ManagedEntityTypePropertyManagementPackVersion".
    DBCC results for 'sys.queue_messages_2041058307'.
    There are 0 rows in 0 pages for object "sys.queue_messages_2041058307".
    DBCC results for 'State.StateHourly_A778183ECA0C42729D895920A735ABBC'.
    There are 3974985 rows in 25160 pages for object "State.StateHourly_A778183ECA0C42729D895920A735ABBC".
    DBCC results for 'AemUser'.
    There are 0 rows in 0 pages for object "AemUser".
    DBCC results for 'PerformanceRuleInstance'.
    There are 8208 rows in 80 pages for object "PerformanceRuleInstance".
    DBCC results for 'DomainTable'.
    There are 95 rows in 2 pages for object "DomainTable".
    DBCC results for 'StandardDataset'.
    There are 4 rows in 1 pages for object "StandardDataset".
    DBCC results for 'ManagementGroup'.
    There are 1 rows in 1 pages for object "ManagementGroup".
    DBCC results for 'State.StateRaw_239044207A314A05B28F918CF8BA189D'.
    There are 2152133 rows in 11459 pages for object "State.StateRaw_239044207A314A05B28F918CF8BA189D".
    DBCC results for 'TypedManagedEntityStage'.
    There are 0 rows in 1 pages for object "TypedManagedEntityStage".
    DBCC results for 'DomainTableIndex'.
    There are 210 rows in 4 pages for object "DomainTableIndex".
    CHECKDB found 0 allocation errors and 0 consistency errors in database 'OperationsManagerDW'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.

  • OpsMgr 2012r2 ur4 - error id 31553

    hi all
    I've saw in opsmgr server error that occur ever 1 min
    with this description
    'SqlException': Sql execution failed. Error 8115, Level 16, State 1, Procedure ManagedEntityChange, Line 237, Message: Arithmetic overflow error converting IDENTITY to data type int.
    some have any suggest for this issue
    thx
    asaf

    check if these helps -
    https://social.technet.microsoft.com/Forums/en-US/b16107d5-9db1-4472-9f1b-665159e83add/scom-2012-r2-dw-alert-failed-to-store-data-in-the-data-warehouse?forum=operationsmanagerdeployment
    http://blogs.technet.com/b/corydelamarter/archive/2014/08/12/performance-data-quot-missing-quot-in-the-opsmgr-warehouse-and-health-service-modules-event-31553.aspx
    http://www.systemcentercentral.com/fixing-event-id-31553-on-scom-management-server/
    Thanks, S K Agrawal

  • Data written in Operationamanager DB shows 1 Hr old time than current time

    Hi All,
    I have a strange issue on my SCOM 2007 R2 CU4 RMS, Just discovered this accidentally.
    I Configured an alert for testing and i used a sql query to extract the data for the test alert.
    In generally the Ops DB and Ops warehouse write data in GMT (London time) 
    When i ran a query if the Alert appeared at 08:00 PM London time, The time in the Alert shows 1 hr old so it shows that the alert appeared at 07:00 PM GMT.
    So i used the query to see the current time in the DB "SELECT GETUTCDATE()"
    Post entering the command i found that the time shows 1 hr behind the actual time.
    So it appears that if it is 08:00PM now the Alerts and the time in the SQL Server shows 07:00PM GMT.
    Is there any idea why this issue is occurring ?
    I have analysed the Ops manager event logs and found nothing interesting. Just found the below events.
    Event id 31553
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
    Exception 'SqlException': Sql execution failed. Error 777971002, Level 13, State 1, Procedure EventProcessStaging, Line 398, Message: Sql execution failed. Error 1205, Level 13, State 56, Procedure -, Line 1, Message: Transaction (Process ID 65) was deadlocked
    on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectEventData 
    Instance name: My RMS FQDN
    Instance ID: {6C3444C3-3990-BB5A-F25E-289D8F427570} 
    Management group: CINSCOM
    ============================================
    Event id: 3333
    Data Access Layer rejected retry on SqlError:
     Request: AlertUpdate -- (AlertId=4a3fdf34-a07c-4df7-b439-dacbde377baa), (BaseManagedEntityId=82262da4-9ab9-635b-a713-637c097f8092), (ResolutionState=255), (Owner=), (CustomField1=), (CustomField2=), (CustomField3=), (CustomField4=), (CustomField5=), (CustomField6=),
    (CustomField7=), (CustomField8=), (CustomField9=), (CustomField10=), (Comments=Alert modified by user), (TimeLastModified=4/6/2015 6:43:25 AM), (ModifiedBy=E2K\lg167978), (TicketId=), (ConnectorId=), (ModifyingConnectorId=), (RETURN_VALUE=-1)
     Class: 16
     Number: 18054
     Message: Error 777980200, severity 16, state 1 was raised, but no message with that error number was found in sys.messages. If error is larger than 50000, make sure the user-defined message is added using sp_addmessage.
    The Local server time is US Eastern and is having the correct time.
    The SQL & RMS have correct Eastern time. Both are physical Boxex.
    Any help on this will be really appreciated.
    Gautam.75801

    In SCOM, all timestamp data is convert into UTC time before written into SCOM DB. This means the alert time is in UTC format.
    When you ran a query if the Alert appeared at 08:00 PM London time, The time in the Alert shows 1 hr old so it shows that the alert appeared at 07:00 PM GMT. This is expected result because your machine time zone is not UTC and is UTC+1.
    Roger

  • Availability data not visible in data warehouse

    I'm having a problem with our data warehouse. I can't run or even find availability reports from some of the objects that are visible and clearly monitored in our scom. For example I did a web transaction monitor with the wizard but when I try to run a availability
    report from it, there is no object for that so I can not even run the report. I know the 500 object limit and I have set the registry key to see more objects. We use SCOM 2012 R2 UR2.
    Is there anything that I should check? Can I somehow run a SQL query against my data warehouse to see if there is any availability data?

    Hello SamiKoskivaara, 
    Could you please check if event ID 31553 is being logged on one of your SCOM management servers ?
    Event ID 31553:
    "Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations. Exception 'SqlException': Sql execution failed. Error 2627, Level
    14, State 1, Procedure ManagedEntityChange, Line 368, Message: Violation of UNIQUE KEY constraint 'UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime'. Cannot insert duplicate key in object 'dbo.ManagedEntityProperty'. The duplicate key value is (184,
    Mar 1 2013 9:42AM). One or more workflows were affected by this...

  • Network Monitoring Device

    Hello,
    I have added some device which were not supported in SCOM into network monitoring with ICMP ONLY for availability reporting porpuse. The devices got discovered and showing healthy in Network Monitoring Pane. However, when I open network node dashboard, the
    Average Availability Dashboard is RED and get the below error.
    I am using SCOM 2012 R2, with dedicated Resource pool for Network monitoring.
    Please provide the following information to the support engineer if you have to contact Microsoft Help and Support :
    Microsoft.EnterpriseManagement.Presentation.DataAccess.DataProviderException: An error occurred executing the command: [Microsoft.EnterpriseManagement.Presentation.DataProviders.Library!NetworkDashboardProvider/GetManagedEntityAvailabilityPercentage] in
    provider: [Microsoft.EnterpriseManagement.Presentation.DataProviders.NetworkDashboardProvider, Microsoft.EnterpriseManagement.Presentation.DataProviders.Library, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]. : Unable to execute stored
    procedure needed for dashboard.  If you just installed Operations Manager Reporting Server, please wait a while and try again.  This can also occur if the Operations Manager Reporting Server SQL Server is not started or inaccessible. ---> Microsoft.EnterpriseManagement.Presentation.DataProviders.DataWarehouseException:
    Unable to execute stored procedure needed for dashboard.  If you just installed Operations Manager Reporting Server, please wait a while and try again.  This can also occur if the Operations Manager Reporting Server SQL Server is not started or inaccessible.
    ---> Microsoft.EnterpriseManagement.Common.UnknownDatabaseException: Sql execution failed. Error 777971002, Level 16, State 1, Procedure Microsoft_SystemCenter_Visualization_Library_GetManagedEntityAvailability, Line 43, Message: Sql execution failed. Error
    0, Level 0, State 0, Procedure SDK.GetManagedEntityAvailability, Line 0, Message: Non existent managed entity
       at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.HandleFault(String methodName, Message message)
       at Microsoft.EnterpriseManagement.Common.Internal.MonitoringDataWarehouseServiceProxy.GetDataWarehouseStoredProcedureResult(String SpName, StoredProcedureParameterCollection param, IEnumerable`1 columnFilter, Int32 timeout)
       at Microsoft.EnterpriseManagement.Warehouse.DataWarehouse.GetDataWarehouseData(String storedProcedureName, StoredProcedureParameterCollection param, IEnumerable`1 columnFilter, Int32 timeout)
       at Microsoft.EnterpriseManagement.Presentation.DataProviders.NetworkDashboardProvider.GetManagedEntityAvailabilityPercentage(DateTime startDateTime, DateTime endDateTime, Guid managedEntityId, Int32[] goodStates)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Presentation.DataProviders.NetworkDashboardProvider.GetManagedEntityAvailabilityPercentage(DateTime startDateTime, DateTime endDateTime, Guid managedEntityId, Int32[] goodStates)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.DataProviderCommandMethod.Invoke(CoreDataGateway gateWay, DataCommand command)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.ExecuteScalarInternal[TResult](DataCommand command)
       at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.<ExecuteScalarAsync>b__2[TResult](<>f__AnonymousType0`1 data)
    Any help is appreciated.
    Thanks,
    Binoy Das

    The below step solved the problem. It might help someone.
    Assessment :
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          7/24/2014 2:38:04 PM
    Event ID:      31553
    Task Category: Data Warehouse
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      abc.domain.com
    Description:
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
    Exception 'SqlException': Sql execution failed. Error 2627, Level 14, State 1, Procedure ManagedEntityChange, Line 368, Message: Violation of UNIQUE KEY constraint 'UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime'. Cannot insert duplicate key in object
    'dbo.ManagedEntityProperty'. The duplicate key value is (28420, May 15 2014  1:34AM).
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.ManagedEntity
    Instance name: Data Warehouse Synchronization Service
    Instance ID: {4F977FCC-C642-3A1B-849C-B74CD07B4D51}
    Management group: XXXX
    Workflow : : Microsoft.SystemCenter.DataWarehouse.Synchronization.ManagedEntity , not able to insert data to the records already available in table Managedentityproperty.
    Next Action:
    •         Take the Full backup of Operations Manager Database and Data Warehouse
    •         After backup completed run  the below queries to back up the ME stage table and then remove the duplicate entries
    select * into ManagedEntityStageDuplicates from ManagedEntityStage
    delete mes
    from ManagedEntityStage mes
    inner join ManagedEntity me on mes.ManagedEntityGuid = me.ManagedEntityGuid
    inner join ManagedEntityProperty mep on me.ManagedEntityRowId = mep.ManagedEntityRowId
    where mep.FromDateTime = mes.ChangeDateTime

  • SCOM Datawarehouse missing Objects

    Hi,
    Did someone encounter the issue of SCOM Datawarehoue to miss all
    (this is strange...) the Objects (All Events, Performance data.. ) that are generated by a SCOM GW? In SCOM Reporting you can not even find them when you search for the objects(so they are not in the DW).
    All other object that are reporting direct to MS are there.. 
    Any idea?

    Hello,
    The issue was related to Event ID:      31553 Task Category: Data Warehouse 
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.Exception
    'SqlException': Sql execution failed. Error 8115, Level 16, State 1, Procedure ManagedEntityChange, Line 368, Message: Arithmetic overflow error converting IDENTITY to data type int.
    Error appears to be related to CU: http://support.microsoft.com/kb/2992020 to fix it,but
    you have to clean the database tables and to re-index some values from ManagedEntityStage , ManagedEntity, ManagedEntityProperty,
    ManagedEntityManagementGroup
    <u5:p></u5:p>
    Do not try this without MS support :)
    <u5:p></u5:p>
    <u5:p></u5:p>

  • Configuration Dataset = 90% of Data Warehouse - Event Errors 31552

    Hi All,
    I'm currently running SCOM 2012 R2 and have recently had some problems with the Data Warehouse Data Sync. We currently have around 800 servers in our production environment, no Network devices, we use Orchestrator for integration with our call logging system
    and I believe this is where our problems started. We had a runbook which got itself into a loop and was constantly updating alerts, it also contributed to a large number of state changes. We have resolved that problem now, but I started to receive alerts
    saying SCOM couldn't sync Alert data under event 31552.
    Failed to store data in the Data Warehouse.
    Exception 'SqlException': Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.SystemCenter.DataWarehouse.StandardDataSetMaintenance 
    Instance name: Alert data set 
    Instance ID: XX
    Management group: XX
    I have been researching problems with syncing alert data, and came across the queries to manually do the database maintenance, I ran that on the alert instance and it took around 16.5 hours to run on the first night, then it ran fast (2 seconds) most the
    day, when it got to about the same time the next day it took another 9.5 hours to run so I'm not sure why that's giving different results.
    Initially it appeared all of our datasets were out of sync, after the first night all appear to be in sync bar the Hourly Performance Dataset. Which still has around 161 OutstandingAggregations. When I run the Maintenance on Performance it doesn't appear
    to be fixing it. (It runs in about 2 seconds, successfully)
    I recently ran DWDatarp on the database to see how the Alert Dataset was looking and to my surprise I found that the Configuration Dataset has blown out to take up 90% of the DataWarehouse, table below. Does anyone have any ideas on what might cause this
    or how I can fix it?
    Dataset name                   Aggregation name     Max Age     Current Size, Kb
    Alert data set                 Raw data                 400       132,224 (  0%)
    Client Monitoring data set     Raw data                  30             0 (  0%)
    Client Monitoring data set     Daily aggregations       400            16 (  0%)
    Configuration dataset          Raw data                 400   683,981,456 ( 90%)
    Event data set                 Raw data                 100    17,971,872 (  2%)
    Performance data set           Raw data                  10     4,937,536 (  1%)
    Performance data set           Hourly aggregations      400    28,487,376 (  4%)
    Performance data set           Daily aggregations       400     1,302,368 (  0%)
    State data set                 Raw data                 180       296,392 (  0%)
    State data set                 Hourly aggregations      400    17,752,280 (  2%)
    State data set                 Daily aggregations       400     1,094,240 (  0%)
    Microsoft.Exchange.2010.Dataset.AlertImpact Raw data      
    7     0 (  0%)
    Microsoft.Exchange.2010.Dataset.AlertImpact Hourly aggregations        
    3     0 (  0%)
    Microsoft.Exchange.2010.Dataset.AlertImpact Daily aggregations      
    182     0 (  0%)
    Microsoft.Exchange.2010.Reports.Dataset.Availability Raw data                 400           176 (  0%)
    Microsoft.Exchange.2010.Reports.Dataset.Availability Daily aggregations       400             0 (  0%)
    Microsoft.Exchange.2010.Reports.Dataset.TenantMapping Raw data 7             0 (  0%)
    Microsoft.Exchange.2010.Reports.Dataset.TenantMapping Daily aggregations       400             0 (  0%)
    Microsoft.Exchange.2010.Reports.Transport.ActiveUserMailflowStatistics.Data Rawdata                   3        84,864 (  0%)
    Microsoft.Exchange.2010.Reports.Transport.ActiveUserMailflowStatistics.Data Hourly aggregations        7       407,416 (  0%)
    Microsoft.Exchange.2010.Reports.Transport.ActiveUserMailflowStatistics.Data Daily aggregations       182       143,128 (  0%)
    Microsoft.Exchange.2010.Reports.Transport.ServerMailflowStatistics.Data Raw data                   7         6,088 (  0%)
    Microsoft.Exchange.2010.Reports.Transport.ServerMailflowStatistics.Data Hourly aggregations       31        20,056 (  0%)
    Microsoft.Exchange.2010.Reports.Transport.ServerMailflowStatistics.Data Daily aggregations       182         3,720 (  0%)
    I have one other 31553 event showing up on one of the Management servers as follows,
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
    Exception 'SqlException': Sql execution failed. Error 2627, Level 14, State 1, Procedure ManagedEntityChange, Line 368, Message: Violation of UNIQUE KEY constraint 'UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime'. Cannot insert duplicate key in
    object 'dbo.ManagedEntityProperty'. The duplicate key value is (263, Aug 26 2013  6:02AM). 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.ManagedEntity 
    Instance name: XX 
    Instance ID: XX
    Management group: XX
    which from my readings means I'm likely in for an MS support call.. :( But I just wanted to see if anyone has any information about the Configuration Dataset as I couldn't find much in my searching.

    Hi All,
    The results of the MS Support call were as follows, I don't recommend doing these steps without an MS Support case, any damage you do is your own fault these particular actions resolved our problems:
    1. Regarding the Configuration Dataset being so large. 
    This was caused by our AlertStage table which was also very large, we truncated the alert stage table and ran the maintenance tasks manually to clear this up. As I didn't require any of the alerts sitting in the AlertStage table we simply did a straight truncation
    of the the table. The document linked by MHG above shows the process of doing a backup & restore on the AlertStage Table if you need to. It took a few days of running maintenance tasks to resolve this problem properly. As soon as the truncation had taken
    place the Confirguration Dataset dropped in size to less than a gig.
    2. Error 31553 Duplicate Key Error
    This was a problem with duplicate keys in the ManagedEntityProperty table. We identified rows which had duplicate information, which could be gathered from the Events being logged on the Management Server.
    We then updated a few of these rows to have a slightly different time to what was already in the Database. We noticed that the event kept logging with a different row each time we updated the previous row. We ran the following query to find out how many rows
    actually had duplicates:
    select * from ManagedEntityProperty mep
    inner join ManagedEntity me on mep.ManagedEntityRowId = me.ManagedEntityRowId
    inner join ManagedEntityStage mes on mes.ManagedEntityGuid = me.ManagedEntityGuid
    where mes.ChangeDateTime = mep.FromDateTime
    order by mep.ManagedEntityRowId
    This returned over 25,000 duplicate rows. Rather than replace the times for all the rows, we removed all duplicates from the database. (Best to have MS Check this one out for you if you have a lot of data)
    After doing this there was a lot of data moving around the Staging tables (I assume from the management server that couldn't communicate properly), so once again we truncated the AlertStage table as it wasn't keeping up. Once this was done everything worked
    properly and all the queues stayed under control.
    To confirm things had been cleared up we checked the AlertStage table had no entries and the ManagedEntityStage table had no entries. We also confirmed that the 31553 events stopped on the Management server.
    Hopefully this can help someone, or provide a bit more information on these problems.

  • Training and Event Management - report on list of cancelled courses

    Hi All,
    Is there any standard report available to get the list of cancelled courses (be it business event grp , type or business event) Would appreciate your inputs on this.
    Kind regards
    Sathya

    S_AHR_61016216 - Cancellations per Attendee , i think there is no standard report for cencelation of business events, type and group.
    for cancellations per attendee reports is available in the system.
    good luck
    Devi

  • How can I see Calendar event END times at a glance?

    How can I display my Calendar event titles exactly as I type them? I do not want Calendar to remove duration from the titles of my events. Otherwise I can't see event END times at a glance in month view; only start times. How can I "trick" Calendar to just show my titles as I type them - as I always could before I upgraded. I used to be able to enter "Seminar 9am-5:45" and it would appear that way regardless of how or what I chose to enter (or not enter) for duration.
    I am running OSX 10.9.3.

    It's a bit weird, but if you type in the time info TWICE into the event title then Calendar uses/deletes one of them to populate the event details and leaves the other.
    Apple - Mac OS X - Feedback

  • Event List view in iCal?

    I would love to have an Event List view in iCal like I do on the calendar on my iPhone. Is there such a thing? The particular reason for wanting it (this time) is that one of the calendars in the ON MY MAC list has a number in a oval to the right.
    I believe this is trying to tell me that there is a new event that I need to do something about. Problem is, I don't know where to find it.

    ecernek,
    There is no event list option on iCal like the one on the iPhone.
    That number means that you have an event invitation. Use iCal>View>Show Notifications to choose what to do with the notification.

  • Can I show a color bar instead of a color bullet in iCal Monthly view for all my events in all calendars?

    In the Monthly view of iCal the only events that show a color bar in the event is the Birthday Calendar. All other events in all my other calendars only show a color bullet next to the event (unless I click on that event which then shows as a color bar). I would like to know if it is possible for all the calendar events to have a color bar in the monthly view instead of just that tiny color bullet.

    Greetings Judith,
    Before making any attempts at deleting calendar data, backup what you have just in case:
    Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    iCal has an automated function located in iCal > Preferences > Advanced > Delete events "X" days after they have passed.  By typing in a value for days you can tell iCal to delete all events before that time frame.
    Example:
    Today is 4-16-2012.
    If I wanted to delete all events prior to 1 year ago (4-16-2011) I would type in "365" for the number of days.
    Once you type in the number of days you want kept in iCal, close the preferences and then quit iCal.
    Re-open iCal and check to see if the events are gone.  If not you may want to leave it open for several minutes and then quit again.
    Once the events are removed go back to  iCal > Preferences > Advanced > Delete events "X" days after they have passed and make sure the check mark is removed to prevent future deletion.
    Hope that helps.

  • Can you show at a glance which event images are in albums?

    Say I had an event containing multiple similar but different images, is there a way to show in the grid view for example which images have already been used in one or more albums?
    Would be handy to be able to select a 'show list of albums containing this image'dialogue box. I guess you could hide images you've used but that wouldn't work automatically, nor would any other tagging/rating.
    Another approach would be to make albums containing everything in a given event, then move the images out of that album once used, just seems fiddly to me.
    AC

    AC
    Would be handy to be able to select a 'show list of albums containing this image'dialogue box.
    Yes it would and many people have suggested tit. Add your voice to the chorus at iPhoto Menu -> Provide Apple Feedback.
    A workaround - and it's no better - is to go to an album and select al, then give all those pics a keyword. Then in grid view you can see which pics have the keyword. (View -> Keywords)
    Regards
    TD

Maybe you are looking for