SQL Server replication

In a multi-site hierarchy, Configuration Manager uses SQL Server replication to transfer data between sites. For more information, see Database replication.

Use the following diagram to start troubleshooting SQL Server replication when a link fails:

Diagram to troubleshoot SQL Server replication

Queries

This diagram uses the following queries:

SELECT * FROM RCM_ReplicationLinkStatus
WHERE Status IN (8, 9)
DECLARE @cutoffTime DATETIME
SELECT @cutoffTime = DATEADD(minute, -30, GETUTCDATE())
SELECT * FROM RCM_ReplicationLinkStatus
WHERE UpdateTime >@cutoffTime

Check SQL Server maintenance mode

SELECT * FROM ServerData
WHERE Status = 120

Next steps