Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to re-link SCOM 2007 to its SCOM Database

Posted on 2009-12-16
8
Medium Priority
?
1,602 Views
Last Modified: 2013-11-21
Someone had uninstalled the MSSQL 2005 hosting the SCOM database. The only database file I had is the SCOM LDF & MDF database file. I had re-installed the SQL Server but SCOM console still cannot reconnect back to it. Any help would be greatly appreciated.
0
Comment
Question by:aneky
  • 4
  • 4
8 Comments
 
LVL 11

Expert Comment

by:Batuhan Cetin
ID: 26062105
Here, apply these steps and you'll be fine:

http://technet.microsoft.com/en-us/library/cc540384.aspx

This article describes how to move a SCOM database. As your SCOM lost connection to its DB, I recommend you to apply this and repoint your SCOM to its database from scratch for maximum reliability.
0
 
LVL 1

Author Comment

by:aneky
ID: 26062452
The issue I have is I cannot access the SCOM console at all to do the following suggested in technet. It kept give me the following error

Failed to connect to server "servername.domain.com" Sdk Service has not yet initialized. please retry

Additional Information:

Microsoft.EnterpriseManagement.Common.SdkServiceNotInitializedException: Sdk Service has not yet initialized. Please retry
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex)
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.CreateChannel(TieredManagementGroupConnectionSettings managementGroupTier)
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer..ctor(DuplexChannelFactory`1 channelFactory, TieredManagementGroupConnectionSettings managementGroupTier, IClientDataAccess callback, CacheMode cacheMode)
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.CreateEndpoint(ManagementGroupConnectionSettings connectionSettings, IClientDataAccess clientCallback)
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.Connect(ManagementGroupConnectionSettings connectionSettings)
   at Microsoft.EnterpriseManagement.ManagementGroup..ctor(String serverName)
   at Microsoft.EnterpriseManagement.ManagementGroup.Connect(String serverName)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Common.ManagementGroupSessionManager.Connect(String server)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleWindowBase.TryConnectToManagementGroupJob(Object sender, ConsoleJobEventArgs args)


The things I had check is the OpsMgr SDK service is running. I had stop and restart the service the issue still persist. Any help will be welcome
0
 
LVL 11

Expert Comment

by:Batuhan Cetin
ID: 26063319
Can you tell me does the server have the same name, was it renamed during all of this? Was it formatted or only the SQL Server is removed from from the machine? If formatted and rebuilt, does it by chance have a new AD machine account?

When you look at the registry on the RMS does it have the correct value in the  key mentioned here in the KB

1. Under HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft Operations Manager\3.0\Setup, double-click the value DatabaseServerName, and then change the value to the hostname of the SQL Server-based computer now hosting the OperationsManager database.
 
2. After you have completed this step on all management servers in the management group, restart the System Center Management, System Center Data Access, and System Center Management Configuration services on the root management server, and then restart only the System Center Management service on the remaining management servers
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Author Comment

by:aneky
ID: 26064476
The server hostname wasn't change at all. Only the SQL 2005 was uninstalled. I only find remnants of the SCOM database with file extension of ldf and mdf. I believe it done by a disgruntle ex-it employee and this mess was left for me to clear.

What I did was reinstall the SQL server and load the SCOM database the database with ldf and mdf. But the SCOM console still unable to connect to it.
0
 
LVL 11

Expert Comment

by:Batuhan Cetin
ID: 26069541
Did you take the steps I described above?

1. Under HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft Operations Manager\3.0\Setup, double-click the value DatabaseServerName, and then change the value to the hostname of the SQL Server-based computer now hosting the OperationsManager database.
 
2. After you have completed this step on all management servers in the management group, restart the System Center Management, System Center Data Access, and System Center Management Configuration services on the root management server, and then restart only the System Center Management service on the remaining management servers
0
 
LVL 1

Author Comment

by:aneky
ID: 26070046
I only see the following service installed and running in the server Ops Manager Audit Forwarding Service & Ops Health Manager. The SCM, SCDA and SCMC are not there at all.
0
 
LVL 11

Accepted Solution

by:
Batuhan Cetin earned 1500 total points
ID: 26070097
System Center Management, System Center Data Access, and System Center Management Configuration services must exist in your root management server. If they don't exist, you have a bigger problem than pointing to the database.

May be a silly question but are you sure you looked at services.msc on your root management server for these services?

Did you verify the registry key I also stated in step 1 on all management servers ?
0
 
LVL 1

Author Closing Comment

by:aneky
ID: 31666718
I decide to uninstall the SCOM and SQL and redo it all over again.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Know what services you can and cannot, should and should not combine on your server.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Loops Section Overview

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question