Hello,
I´m trying to recover a SCOM standalone Management Server.
It had management server, console and reporting roles.
The database was on external machine, I had recovered backup of the databases, with the same name, this case OperationsManager2012 and OperationsManagerDW.
I have be trying to recover in the same machine, I had uninstall SCOM , now I´m trying to recover using the following steps - http://technet.microsoft.com/en-us/library/hh531578.aspx with this command:
Setup.exe /silent /AcceptEndUserLicenseAgreement
/recover
/EnableErrorReporting:Never
/SendCEIPReports:0
/UseMicrosoftUpdate:0
/DatabaseName:OperationsManager2012
/SqlServerInstance:SERVER\SCOM2k12
/DWDatabaseName:OperationsManagerDW
/DWSqlServerInstance:SERVER\SCOM2k12
/UseLocalSystemDASAccount
/DatareaderUser:ZZZZ\SCOM2k12
/DatareaderPassword:XXXXXX
/DataWriterUser:ZZZ\SCOM2k12
/DataWriterPassword:XXXXXX
/ActionAccountUser:ZZZ\Administrator
/ActionAccountPassword:XXXXXXXXX
As far I know , in 2012 version encryption key is not needed.
When I execute the command I´m getting these errors in the OpsMgrSetupWizard.log:
[09:27:26]:Debug::SqlConnectionReady returned True.
[09:27:26]:Error::CheckForConflictingSqlDatabases: Found a database with the name OperationsManager2012 in this instance.
[09:27:26]:Debug::MSSQL$SCOM2k12 on server SERVER is in a running state
[09:27:26]:Debug::Connection was not open. We will try to open it.
[09:27:26]:Debug::SqlConnectionReady returned True.
[09:27:26]:Error::CheckForConflictingSqlDatabases: Found a database with the name OperationsManager2012 in this instance.
[09:27:26]:Info::Info:Using DB command timeout = 1800 seconds.
-----
I don´t know if it is usual when you are recovering a SCOM Management Server
---- Second Exception--
[09:28:16]:Info::Info:trying to connect with server SCOM2k12.XXXX.net[09:28:23]:Info::Info:Error while connecting to management server: The Data Access service is either not running or not yet initialized. Check the event log for more information.
[09:28:23]:Error::Couldn't connect to mgt server stack: : Threw Exception.Type: Microsoft.EnterpriseManagement.Common.ServiceNotRunningException, Exception Error Code: 0x80131500, Exception.Message: The Data Access service is either not running or not yet initialized. Check the event log for more information.
[09:28:23]:Error::StackTrace: at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
at Microsoft.EnterpriseManagement.ManagementGroup.Connect(ManagementGroupConnectionSettings connectionSettings)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportingComponent.GetExistingManagementServerFromOMDB(String omSQLServer, Nullable`1 omSqlPort, String omDatabaseName, String& firstWorkingManagementServer)
[09:28:23]:Error::Inner Exception.Type: System.ServiceModel.EndpointNotFoundException, Exception Error Code: 0x80131500, Exception.Message: Could not connect to net.tcp://scom2k12.XXXX.net:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0606264. TCP error code 10061: No connection could be made because the target machine actively refused it 10.50.0.55:5724.
[09:28:23]:Error::InnerException.StackTrace:
Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
[09:28:23]:Error::Inner Exception.Type: System.Net.Sockets.SocketException, Exception Error Code: 0x80131500, Exception.Message: No connection could be made because the target machine actively refused it 10.50.0.55:5724
[09:28:23]:Error::InnerException.StackTrace: at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
----------
This SCOM2k12.XXXX.net was the broken management server , I don´t know why it is trying to connect there.
I have to do a new fresh install of SCOM with a "Dummy" database, restore de database and execute the recover command?
any idea?
Thanks