In testing for upgrading my SCSM environment from 2012 SP1 to 2012 R2, I've hit a roadblock migrating production data to the test instance. The Data Access Service tries to launch and fails withing seconds.
What I've done so far:
I built a separate SCSM instance for a Dry Run upgrade. Two server configuration with primary management server hosting its own database (SQL Server 2008 R2 Developer Edition) and the same for the data warehouse management server.
Installation and patching to CU6 went smoothly. Made some test tickets and connectors. The in-place upgrade when smoothly for the most part. I only ran into trouble when trying to restart the data warehouse jobs but that was relatively straight forward to fix once I found the right article here.
With the process and documentation in place, my next phase is to restore the production environment into the test environment and perform an dress rehearsal. I followed the steps listed in this article Setting Up a Service Manager 2010 Lab Environment with Production Data.
I only deviated from the instructions in one place. Instead of disabling the connectors before backing up the system, I exported the ServiceManager.LinkingFramework.Configuration management pack, edited all the Exchange Connectors to Enabled = false,
and used T-SQL to override the management pack XML in the database directly. Both the MPXML and MPRunTimeXML fields were updated.
The trouble that I've run into is that I cannot get the test instance's Data Access Service to start.These errors are recurring:
The encryption keys in the registry were either not valid or not present.
The System Center Data Access service will not start.
Followed by:
An exception was thrown while initializing the service container.
Exception message: Initialize
Full exception: Feature of type 'Microsoft.EnterpriseManagement.ServiceDataLayer.IManagementGroupPropertiesFeature, Microsoft.EnterpriseManagement.DataAccessService.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' cannot be
added to the container.
Lastly:
The System Center Data Access service failed due to an unhandled exception.
The service will attempt to restart.
Exception:
Microsoft.EnterpriseManagement.ConfigurationReaderException: Feature of type 'Microsoft.EnterpriseManagement.ServiceDataLayer.IManagementGroupPropertiesFeature, Microsoft.EnterpriseManagement.DataAccessService.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
cannot be added to the container. ---> Microsoft.EnterpriseManagement.Common.SdkServiceNotInitializedException: The Data Access service has not yet initialized. Please try again.
at Microsoft.EnterpriseManagement.ServiceDataLayer.ManagementGroupPropertiesFeatureImplementation.InitializeManagementGroupProperties()
at Microsoft.EnterpriseManagement.SingletonLifetimeManager`1.GetComponent[K]()
at Microsoft.EnterpriseManagement.LifetimeManagerWrapper`2.GetComponent[K]()
at Microsoft.EnterpriseManagement.FeatureContainer.GetFeatureInternal[T](Type type, String featureName)
at Microsoft.EnterpriseManagement.FeatureContainer.AddFeatureInternal[T,V](ActivationContext`1 context, String featureName)
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.ConfigurationReaderHelper.ReadFeatures(XPathNavigator navi, IContainer container)
at Microsoft.EnterpriseManagement.ConfigurationReaderHelper.Process()
at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.Initialize(InProcEnterpriseManagementConnectionSettings configuration)
at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.InitializeRunner(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
As I examine this problem, I am inclined to believe that it is the management pack overrides that are the issue. I don't really want to disable all the connectors in the production environment as there are over 50.
Any ideas would be helpful.