SCCM Clustered DB Migration to Single Instance SQL ConfigMgr Endpoint Manager

SCCM Clustered DB Migration to Single Instance SQL ConfigMgr Endpoint Manager. Through this post, I’m trying to explain my experience related to SCCM ConfigMgr central Server SQL DB migration.

We had migrated SCCM ConfigMgr 2007 central site DB from SQL 2005 to SQL 2008 R2. We also changed the SQL DB server from a clustered instance to a single instance.

Also, the ConfigMgr SCCM DB server is moving from a physical box to a virtual one. So, we don’t need clustering for a virtual box; the redundancy of the SQL server is taken care of by VMware VMotion.

SCCM Clustered DB Migration to Single Instance SQL ConfigMgr Endpoint Manager

Along with SCCM ConfigMgr 2007 central Database, we need to move the WSUS database and SSRS. This adds to the complexity of this movement. Moving SCCM 2007 DB is documented over here by Sudheesh N.

Patch My PC

Once migration is completed as per the document, you need to verify and confirm the sitecomp.log file whether the following entry is present or not. Once the next entry is there, you can restart the SCCM 2007 central site server and remote site system servers (Remote MPs, DPs, or SUPs – if required).

Synchronization complete

SCCM SQL DB Migration - SCCM Clustered DB Migration to Single Instance SQL
SCCM SQL DB Migration Process Completion Notification @ SiteComp.log – SCCM Clustered DB Migration to Single Instance SQL SCCM Clustered DB Migration to Single Instance SQL ConfigMgr Endpoint Manager

SCCM WSUS database (software update) move and remote SUP server reconfiguration have been completed by changing the following registry key in the remote SUP server.

Navigate to HKLM->Software->Microsoft->Update Services->Server->Setup ==> Edit SqlServerName Key and provide new SQL server and Instance name.

SCCM Clustered DB Migration to Single Instance SQL

After following the documented process, I got stuck with SCCM console connectivity issues explained in the following blog post: Unable to connect to the site database after it’s moved to a failover cluster. When I tried to launch the SCCM ConfigMgr console after migration, I got the following errors in SmsAdminUI.log and Smsdbmon.log !!

SmsAdminUI.log

The ConfigMgr console could not connect to the ConfigMgr site database. Verify that this computer has network connectivity to the SMS Provider computer and that your user account has Remote Activation permissions on both the ConfigMgr site server and SMS Provider computers. For more information, see “How to Configure DCOM Permissions for Configuration Manager Console. The ConfigMgr Provider reported an error.

Smsdbmon.log

CTriggerManager::Init – unable to get SQL connection
*** [28000][18456][Microsoft][ODBC SQL Server Driver][SQL Server]login failed for user ‘NT AUTHORITY\ANONYMOUS LOGON’
*** Failed to connect to the SQL Server.

SCCM Clustered DB Migration to Single Instance SQL

As mentioned in the above post, these errors pointed to the SPN registration issue. My SQL 2008 Database SQL Server (MSSQLSERVER) service runs with a domain service account. This SQL 2008 service account is already registered to Active Directory SPN (Service Principal Name) using the following commands. So SQL service account pointed to correct hostname and FQDN along with 1433 port of SQL server.

Adaptiva

SPN registration commands – SCCM Clustered DB Migration to Single Instance SQL

setspn -A MSSQLSvc/ACNSQL2K8DB:1433 ConfigMgr\svc_SQLSERVICEACCOUNT
setspn -A MSSQLSvc/ACNSQL2K8DB.ConfigMgr.com:1433 ConfigMgr\svc_SQLSERVICEACCOUNT

So what is the issue now? Resolution:-

When I checked the old SCCM ConfigMgr SQL 2005 DB, it was running with a different SQL service account and that service account was part of local administrators group of central SCCM ConfigMgr 2007 site server and remote SUP server.  So the resolution for my problem here was just to add new SQL service account ConfigMgr\svc_SQLSERVICEACCOUNT to local administrators group of both remote SUP and SCCM ConfigMgr 2007 central site server.

There is no need to worry about SCCM ConfigMgr SQL clustered instance DB to single instance SQL DB. The SCCM repair or reconfiguration wizard will take care of this complexity. I need to remove the old SQL DB site system roles (there must be two DB site systems roles because of clustered instances).

Simple resolution for complex problems:) I hope this helps !!

Resources

How To Automatically Cleanup Intune Device | EndPoint Manager – HTMD Blog #2 (howtomanagedevices.com)

Free SCCM Training Part 1 | 17 Hours Of Latest Technical Content | ConfigMgr Lab HTMD Blog (anoopcnair.com)

Author

Anoop is Microsoft MVP! He is a Solution Architect in enterprise client management with more than 20 years of experience (calculation done in 2021) in IT. He is a blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. E writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc…

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.