SCOM 2007 R2 CU 7 SQL Database script update

Hi..I'm in the process of installing CU 7 for SCOM 2007 R2 (SQL 2008 R2). I completed the Server update successfully. While running the SQL operations manager DB upgrade I get the message '(0 row(s) affected'
Auto-attach to process '[144] [SQL] Server' on machine 'Server' succeeded.
The thread 'Server\Instance [87]' (0x8fc) has exited with code 0 (0x0).
The program '[144] [SQL] Server: Server\Instance' has exited with code 0 (0x0).
Also, there are no alerts being generated since yesterday which I assume are due to the database not being updated.
Am I missing something here?
Thanks
blogs.technet.com/b/kevinholman/archive/2012/05/18/opsmgr-2007-r2-cu6-rollup-hotfix-ships-and-my-experience-installing-it.aspx

Hi,
I suggest you follow the official KB methods here.
1. Log on to the computer that hosts the Operations Manager 2007 database by using a user account that has database system administrator (SA) rights to the instance of the Operations Manager 2007 database. To perform the database update remotely, log on
to a computer that hosts SQL Server Management Studio by using a user account that has the appropriate SA rights to the Operations Manager 2007 database.
2. Run SQL Server Management Studio.
3. In the Connect to Server dialog box, connect to the instance of SQL Server that hosts the Operations Manager database. The default database name is OperationsManager.
4. On the toolbar, click New Query.
5. From the SQL Editor toolbar, use the Available databases option to select the Operations Manager database.
6. On the File menu, click Open, browse to C:\program files (x86)\System Center 2007 R2 hotfix utility\KB2783850\SQLUpdate, select the CU_Database.sql file that was extracted by the Windows installer (.msi file), and then click Open.
7. When the file is loaded, click Execute in the SQL Editor toolbar.
8. View the Messages pane to check whether the Transact-SQL commands ran successfully.
9. Exit SQL Server Management Studio.
10. For the Operations Manager data warehouse, repeat steps 1 through 8. However, connect to the instance of SQL Server that hosts the Operations Manager data warehouse, and then run the \SQLUpdate\CU_DataWarehouse.sql file.
More info:
http://support.microsoft.com/kb/2783850
Niki Han
TechNet Community Support

Similar Messages

  • 'High' Priority and 'critical' severity alerts from all MP's in SCOM 2007 R2

    Hi All
    Can anyone help me with the script to get all alert details from monitors and rules which are set to "high" priority and "critical" severity in SCOM 2007.
    Regards
    Madhavi

    You can below script to show all agent which isn't health
    $ReportOutput += "<h2>Agents where Health State is not Green</h2>"
    $ReportOutput += Get-Agent |
    where {$_.HealthState -ne "Success"} |
    select Name,HealthState | ConvertTo-HTML
    -fragment$ReportOutput += "<h2>Agents where the Monitoring Class is not available</h2>"
    $AgentMonitoringClass = get-monitoringclass
    -name "Microsoft.SystemCenter.Agent"
    $ReportOutput+= Get-MonitoringObject-monitoringclass:$AgentMonitoringClass|
    where{$_.IsAvailable -eq$false} |
    selectDisplayName | ConvertTo-HTML-fragment
    Also you can refer below links
    http://www.definit.co.uk/2012/01/scom-2007-r2-daily-health-check-script/
    http://www.blackops.ca/cms/blog/?p=155
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical

  • Remove decommissioned SQL database from SCOM

    Hi,
    In SCOM 2007 R2, we have few SQL databases which have been decommissioned & removed but, they are still in Healthy state in SCOM.
    How can I remove these entries from SCOM? I want to remove only the databases.
    TIA.

    Try this  -
    1) Log in to those SQL servers
    2) Stop System center management(SCOM health) service.
    3) Rename Health Service State folder located at "c:\programfiles\system center operations manager\agent\Health Service State:.
    4) Restart System center management(SCOM health) service.
    5) Wait for few minutes so that discoveries can run again and then check in the SCOM console. Those Databases should go away now.
    Please let me know if this did not help or if this is not what you are looking for.
    Thanks, S K Agrawal

  • SQL 2012 DB Engine [Login failed: Account locked out] alerts not received from SCOM 2007 R2

    Dear Experts,
    In our SCOM 2007 R2 environment SQL 2012 DB Engine [Login failed: Account locked out] alerts not received but we are receiving the following alerts fr the DB instance.
    1. Database Backup Failed To Complete
    2. Login failed: Password expired
    3. Log Backup Failed to Complete
    4. Login failed: Password cannot be used at this time
    5. Login failed: Password must be changed
    6. IS Package Failed.
    Why we are not receiving the "Login failed: Account locked out" ? Customers are asking the notification email alert for this Rule even I have checked the override settings everything is enabled by default same as above rules.
    What can be the issue here ?
    Thanks,
    Saravana
    Saravana Raja

    Hi,
    Could you please check the Windows security log for (MSSQLSERVER) event ID 18486? The rule should rely on this event.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Monitor SQL Database mirroring using powershell script

    I am trying use the below powershell script to monitor SQL Database mirroring. The motive here is to determine if there are databases which are in "Disconnected" or "Suspended" mode.
    I am running the script on the Principal Server:
    $returnStateOK = 0
    $returnStateWarning = 1
    $returnStateCritical = 2
    $returnStateUnknown = 3
    $NagiosStatus = ""
    # Load SMO extension
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | Out-Null;
    # Servers to check
    $sqlservers = @("$env:computername");
    foreach($server in $sqlservers)
    $srv = New-Object "Microsoft.SqlServer.Management.Smo.Server" $server;
    # Get mirrored databases
    $databases = $srv.Databases | Where-Object {$_.IsMirroringEnabled -eq $true -and $_.MirroringStatus -eq "Suspended" -or $_.MirroringStatus -eq "Synchronizing" -or $_.MirroringStatus -eq "Disconnected"
    -or $_.MirroringStatus -eq "None"  -and $_.Name -ne "Master" -and $_.Name -ne "model" -and $_.Name -ne "msdb" -and $_.Name -ne "tempdb"};
    if ($databases -ne $null)
    $databases | Select-Object -Property Name, MirroringStatus | Format-Table -AutoSize;
    exit $returnStateCritical
    } Else {
    Write-Host "All Databaes are Mirrored"
    exit $returnStateOK
    I have Suspended few databases for testing purpose but when I run the above script the output says "All Databaes are Mirrored"
    If I make changes to $database and use it below i.e. I am changing the AND operator to OR after "$_.IsMirroringEnabled -eq $true"
    $databases = $srv.Databases | Where-Object {$_.IsMirroringEnabled -eq $true -or $_.MirroringStatus -eq "Suspended" -or $_.MirroringStatus -eq "Synchronizing" -or $_.MirroringStatus
    -eq "Disconnected" -or $_.MirroringStatus -eq "None"  -and $_.Name -ne "Master" -and $_.Name -ne "model" -and $_.Name -ne "msdb" -and $_.Name -ne "tempdb"};
    I get the below output:
    Name                                                                        
       MirroringStatus
    DB1                                                                    
      Synchronized
    DB2                                                                    
      Synchronized
    DB3                                                                       Synchronized
    DB4                                                                   
    Suspended
    DB5                                                                       Suspended
    DB6                  
         Suspended
    DB7                                                              
            Synchronized
    DB8                                                              
            Synchronized
    I only want the databases which are Suspended or Disconnected to be listed.

    I only want the databases which are Suspended or Disconnected to be listed.
    Hi raul-133,
    Based on your description, to list the databases which are Suspended or Disconnected ,I recommend you execute the following Transact-SQL statements in SQL Server firstly. If you can get the expected results from this query, then use the SQL Server query
    in powershell script. For more details, please review this similar blog:
    Monitor database mirroring.
    Use master
    go
    select d.name, m.mirroring_state_desc
    from sys.database_mirroring m,
    sys.databases d
    where m.database_id = d.database_id and (m.mirroring_state in (0,1))
    For more details about mirroring state, you can review this article:
    sys.database_mirroring (Transact-SQL).
    Thanks,
    Lydia Zhang

  • SCOM Connector - Find Computer Host of SQL Database relationship

    Hi,
    I have synced my SQL Databases over til SCSM via the SCOM CI Connector. Using the "Microsoft SQL Server Core Library" MP. 
    How do I get it to include the Computer Host as a relationship to the database? I think it's rather important to know on which Computer the database resides.
    In the management pack, I can see this relationship: Microsoft.SQLServer.WindowsComputerHostsDBPerspective . Which might be it, but I have really know idea what DBPerspective is, and it's not being discovered anyway. 
    Can anyone explain how this work or have anyone got it to work? Maybe I just need to use the right management packs or something.
    Thank you.

    Ok, but I can't seem to find the relationshipclass for the component. Can you point me in the right direction. Searching for database gets me this:
    Microsoft.SQLServer.2008.DatabaseHostsPublication Source Target
    Microsoft.SQLServer.2008.DatabaseHostsSubscription Source Target
    Microsoft.SQLServer.2008.DistributorContainsDatabase Source Target
    Microsoft.SystemCenter.ServiceDesigner.WebApplicationContainsDatabaseGroup Source Target
    Microsoft.SystemCenter.ServiceDesigner.WebSiteReferencesDatabase Source Target
    Microsoft.SystemCenter.ServiceDesigner.DatabaseGroupContainsDatabase Source Target
    Microsoft.SQLServer.DBEngineHostsDatabase Source Target
    Microsoft.SystemCenter.DataBaseGroup.ContainsOpsMgrDBWatchersGroup Source Target
    Microsoft.SystemCenter.DataBaseGroup.ContainsOpsMgrDWWatchersGroup Source Target
    Microsoft.SystemCenter.ManagementGroup.ContainsDatabaseGroup Source Target
    But I can't seem to find any relationship where both Computer (or instance) and Database is together.

  • SQL or Powershell query to get the SCOM management group id for SCOM 2007 R2 & 2012 / 2012 R2

    Hi All,
    Can any one provide me the SQL or Powershell query to get the SCOM management group id for SCOM 2007 R2 & 2012 / 2012 R2
    I had a SQL query which will query the data from data warehouse and give the management group id but i have lost it for all 3 above.
    Gautam.75801

    Hi Gautam,
    Hope it helps:
    http://blog.tyang.org/2013/03/13/data-aggregation-field-became-empty-in-opsmgr-2007-linked-performance-report/
    http://blog.tyang.org/2012/09/05/mp-authoring-targeting-rms-or-ms/
    Natalya
    ### If my post helped you, please take a moment to Vote as Helpful and\or Mark as an Answer

  • Any known issues with SCOM 2007 R2 after upgrading to SP2 for SQL 2008 R2 ?

    Are there any known or reported issues in SCOM 2007 R2 after installing SP2 for SQL server 2008 R2 ?  Currently running RTM version of SQL Server 2008 R2.

    Hi There,
    As a testing purpose long time back i did this. I did this step by step
    I installed SCOM 2007R2 with SQL server 2008 with SP1 initially.
    Then upgraded to 2008 SP2.
    Then upgraded to 2008 SP3
    Then upgraded to 2008 R2.
    Then upgraded to 2008 R2 SP1
    Finally to SP2
    I dint find any issue.
    I just kept on adding service packs upon each other. Except for upgradation to 2008 to 2008 r2 i used the installation media then the SP1 & SP2 files. to upgrade to service packs.
    If you want to go to directly SP2 i would suggest you install SP1 and then install SP2.
    Every thing is fine in the LAB equipment i tried this.
    Gautam.75801

  • 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.

  • Extending System Center Operations Manager Classes & Discovery SCOM 2007 R2

    I want to add some additional attributes to SCOM that are populated from information in another database.....for example.
    I have a CMDB that contains information about the support level for each server (i.e. gold, silver, bronze), i want to be able to display this information in the SCOM console.  This needs to cover both Windows and Unix/linux servers.
    I have played around with creating a custom MP and have created a new class, and custom script discovery using a vbscript to query the CMDB SQL database containing the info that i want....I have got to the point where i can see the new column in SCOM console
    but cannot get it to populate with any data.
    any help would be appreciated.
    thanks

    Hi,
    Here are some good articles about extending SCOM classes, please go through them:
    Extending System Center Operations Manager Classes & Discovery
    http://blogs.technet.com/b/stufox/archive/2008/07/23/extending-system-center-operations-manager-classes-discovery.aspx
    Extending Windows Computer Class using Visual Studio Authoring Extensions (VSAE)
    http://blogs.technet.com/b/emreguclu/archive/2012/11/07/extending-windows-computer-class-using-visual-studio-authoring-extensions-vsae.aspx
    http://blogs.msdn.com/b/steverac/archive/2011/09/16/extending-a-class-in-the-authoring-console.aspxRegards,
    Ya Li
    Regards, Yan Li

  • SCOM 2007 R2 Reporting space is not launching

    Dear Experts,
    My Report layer is not launching from SCOM 2007 Operation Console since 1 week.
    Recently I did change the password for Data Warehouse Read and Write accounts also I have updated both passwords in the Administration Space at Account section for the both Accounts.
    2nd thing i have updated the DW Read account pwd with the Service name SQL Reporting Services (MSSqlServer).
    Still I am getting the Error when I launch the Reporting space from the Operation Manager Console and the error is stated that Login failure and unable to login to the Data Warehouse database.
    Please let me know what else place I have missed to update the new pwd here ??
    Saravana Raja

    check and make sure the following procedures were done to update the passwords:
    http://blogs.technet.com/b/randymonteleone/archive/2010/03/12/changing-password-on-scom-data-warehouse-run-as-accounts.aspx
    hope this helps!
    Scott Moss MVP (Operations Manager) President - System Center Virtual Users Group |Vice President - Atlanta Southeast Management Users Group (ATL SMUG)
    Please remember to click “Mark as Answer” on the post that helps you!
    my new blog om2012.wordpress.com

  • SCOM 2007 server decommission

    Hi All,
    We have built new scom 2012 server so we have to uninstall all SCOM 2007 components . Please help me how to remove the SCOM 2007 RMS, MS , Reporting service and DB and DW. Also please tel me what are things
    i need to do before uninstallation of SCOM 2007

    1) Uninstall all agents.
    2) Uninstall all core components (MS, RMS, Reporting). Potentially decommission the servers if they were dedicated to SCOM.
    3) If you are looking to reinstall at some time or want to use the SQL Servers for something else then delete the databases and logins for the SCOM service accounts
    4) Disable the SCOM service accounts. You can delete them but I'd prefer to disable them in the first instance in case they have been reused elsewhere. If something breaks then you can just re-enable the account
    5) If you have deployed the AD Management Pack then delete the OpsMgrLatencyMonitors container
    6) If you used AD Integration then remove the container that this creates from AD
    7) If you have configured exchange to relay messages from the Management Server then you can remove this configuration in Exchange
    8) Network devices that have been configured to use SCOM can be reconfigured (security removed) to clean up the ACLs
    9) Ideally, if you have created Run As Accounts for specific applications e.g. SQL then you might need to remove these from the applications themselves e.g. remove the SQL logins used for SQL monitoring
    Roger

  • SCOM 2007 server OS upgrade from 32 bit Win 2003 SP2 to Win 2008 R2 64 bit

    Dear Experts,
    We are planning to upgrade where in SCOM 2007 R2 presents on 32 bit Virtual Machine Win 2003 SP2 to Win 2008 R2 32 bit or 64 bit. Though OpsManager Database is already upgraded to SQL 2008 R2 from SQL 2005. So No pblm with DB upgradation.
    So my point is If I go ahead to upgrade from Win 2003 (SCOM 2007 R2 resides) to Win 2008 R2 does it create any impacts on SCOM 2007 R2 environment ? Please let me know the procedure for this or any documentation is available to complete this.
    Thanks in advanced!
    Saravana Raja

    Firstly,
    Please note that you can only upgrade an OS to the same architecture (i.e. from x86 to x86, and not to x64). See the following Support Article about supported upgrade paths for Windows Server 2003: https://support.microsoft.com/kb/951041?wa=wsignin1.0.
    Therefore, if you plan to upgrade to a x64 architecture, you will need to perform a new installation, and not an in-place upgrade. If you are going that route, I'd suggest skipping Windows Server 2008 R2, and try to push to Windows Server 2012 if not Windows
    Server 2012 R2; to more future-proof your environment.
    Further, If you are going to perform a new OS installation (to move into x64 architecture), why not also utilize the "new installation" requirement in that scenario to also upgrade to System Center 2012 R2 Operations Manager?
    The base scenario would be for you to perform an in-place upgrade of Windows Server 2003 x86 to Windows Server 2008 R2 x86. Except, there is no x86 version of Windows Server 2008 R2, only x64! Note: Windows Server 2008 (without the 'R2') has an x86 option.
    --- If you found this post/reply helpful, please visit my personal blog for more helpful articles. --- AdinE MCSE, MCSA, MCITP, MCTS; (Specializing in System Center and Private Cloud) LinkedIn: http://ca.linkedin.com/in/adinermie Website: http://AdinErmie.Wordpress.com

  • SCOM 2007 R2 Removal

    Hi Guys,
    Looking for an advice, if there is any procedure to do SCOM 2007 R2 decommissioning, it is updated with Cu5
    Thanks,
    - Thanks, Varshinie

    If you are looking to decommission the whole SCOM 2007 R2 environment (ie remove everything) then there is no need to remove the CU .. below assumes that there is only one SCOM environment and you want to purge it from your organisation:
    1) Uninstall all agents.
    2) Uninstall all core components (MS, RMS, Reporting). Potentially decommission the servers if they were dedicated to SCOM
    3) If you are looking to reinstall at some time or want to use the SQL Servers for something else then delete the databases and logins for the SCOM service accounts
    4) Disable the SCOM service accounts. You can delete them but I'd prefer to disable them in the first instance in case they have been reused elsewhere. If something breaks then you can just re-enable the account
    5) If you have deployed the AD Management Pack then delete the OpsMgrLatencyMonitors container
    6) If you used AD Integration then remove the container that this creates from AD
    7) If you have configured excchange to relay messages from the Management Server then you can remove this configuration in Exchange
    8) Network devices that have been configured to use SCOM can be reconfigured (security removed) to clean up the ACLs
    9) Ideally, if you have created Run As Accounts for specific applications e.g. SQL then you might need to remove these from the applications themselves e.g. remove the SQL logins used for SQL monitoring
    Cheers
    Graham
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • SCOM 2007 R2 Root Management server showing Not Monitored State in Ops Mgr Console

    Hello Experts,
    In my Prod SCOM 2007 R2 environment RMS server state is "Not Monitored", But we are receiving alerts with limitation. By mistakenly I put Maintenance Mode while rebooting RMS server due to slow performance of the server.
    Can anybody help me to revert back to the RMS Health state ?

    We can identify the Performance Signature Data Collection Rules in this example by executing the following SQL Query. This query should be executed in SQL Management Studio against the Operations Manager database.
    -- Return all Performance Signature Collection Rules
    Use OperationsManager
    select 
    managementpack.mpname, 
    rules.rulename
    from performancesignature with (nolock)
    inner join rules with (nolock)
    on rules.ruleid = performancesignature.learningruleid
    inner join managementpack with(nolock)
    on rules.managementpackid = managementpack.managementpackid
    group by managementpack.mpname, rules.rulename
    order by managementpack.mpname, rules.rulename
    This query will return all Performance Signature Collection Rules and their respective Management Pack name. A column is returned for Management Pack name and Rule name.
    The following Performance Monitor Counters on a Management Server will provide information concerning Database and Data Warehouse write action insertion batch size and time. If the batch size is growing larger, for example the default batch size is 5000 items,
    this indicates either the Management Server is slow inserting the data to the Database or Data Warehouse, or is receiving a burst of Data Items from the Agents or Gateway Servers. 
    · OpsMgr DB Write Action Modules(*)\Avg. Batch Size 
    · OpsMgr DB Write Action Modules(*)\Avg. Processing Time 
    · OpsMgr DW Writer Module(*)\Avg. Batch Processing Time, ms 
    · OpsMgr DW Writer Module(*)\Avg. Batch Size 
    From the Database and Data Warehouse write action account Average Processing Time counter, we can understand how long it takes on average to write a batch of data to the Database and Data Warehouse. Depending upon the amount of time it takes to write a batch
    of data to the Database, this may present an opportunity for tuning. 
    Event ID 2115 A Bind Data Source in Management Group
    http://blogs.technet.com/b/kevinholman/archive/2008/04/21/event-id-2115-a-bind-data-source-in-management-group.aspx
    Niki Han
    TechNet Community Support

Maybe you are looking for