Im in the process of removing two central sites from a Lync deployment that contains the following:
3 central sites
2 of these sites are Lync enterprise 2013 pools
the 1 remaining site is a Lync 2013 standard edition pool
Central site 1:
3 x Lync enterprise front end servers (2013)
RTC database (mirrored with witness) - used to contain the central management store until it was moved to Central Site 3
MONITORING database (mirrored with witness)
ARCHIVING database (mirroed with witness)
PerChat database4 x persistent chat servers
Central site 2:
3 x Lync enterprise front end servers (2013)
RTC database (mirrored with witness)
MONITORING database (mirrored with witness)
ARCHIVING database (mirroed with witness)
Central site 3:
1 x standard edition server
1 x edge server
RTC database (active with the central management store)
I have successfully removed the front end pools from central sites 1 and 2, but when I go to remove the RTC database, I receieve the following error in the topology builder:
When attempting to remove the mirror RTC database:
"This SQL Server Store is being used. Remove the dependencies before deleting the store. Affected Services: *blank*"
When attempting to remove the RTC witness database:
"This SQL Server Store is being used. Remove the dependencies before deleting the store. Affected Services:
Role 'CentralMgmtStore' on SQL instance 'StandardEditionServer01.contoso.net\rtc'
Role 'CentralMgmtStore' on SQL instance 'EnterpriseEditionMirrorSQLServer\RTC'
Additionally, when I run Get-CSService, I can see the following:
Identity : CentralManagementDatabase:StandardEditionServer01.contoso.net
SqlInstanceName : rtc
DependentServiceList : {CentralManagement:StandardEditionServer01.contoso.net}
ServiceId : 3-CentralMgmtStore-2
SiteId : Site:Central site 3
PoolFqdn : StandardEditionServer01.contoso.net
Version : 6
Role : CentralManagementDatabase
Identity : CentralManagementDatabase:EnterpriseEditionMirrorSQLServer.contoso.net
SqlInstanceName : RTC
DependentServiceList : {}
ServiceId : 1-CentralMgmtStore-4
SiteId : Site:Central Site 1
PoolFqdn : EnterpriseEditionMirrorSQLServer.contoso.net
Version : 6
Role : CentralManagementDatabase
I have ran Uninstall-CSDatabase and received the following:
Uninstall-CsDatabase -CentralManagementDatabase -SqlServerFqdn EnterpriseEditionPrimarySQLServer.contoso.net -SqlInstanceName RTC
Uninstall Database
Uninstall databases required by Lync Server role(s). Are you sure you want to proceed?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.XdsDatabase'****
Trying to connect to Sql Server EnterpriseEditionPrimarySQLServer.contoso.net\RTC. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 3401.
Sql version is acceptable.
Dropping database xds.
WARNING: Database xds does not exist, so cannot be dropped.
Database created by script "XdsDatabase" does not exist. There is nothing to remove.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.LisDatabase'****
Trying to connect to Sql Server EnterpriseEditionPrimarySQLServer.contoso.net\RTC. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 3401.
Sql version is acceptable.
Dropping database lis.
WARNING: Database lis does not exist, so cannot be dropped.
Database created by script "LisDatabase" does not exist. There is nothing to remove.
WARNING: "Uninstall-CsDatabase" processing has completed with warnings. "2" warnings were recorded during this run.
WARNING: Detailed results can be found at
Uninstall-CsDatabase -CentralManagementDatabase -SqlServerFqdn EnterpriseEditionMirrorSQLServer.contoso.net -SqlInstanceName RTC
Uninstall Database
Uninstall databases required by Lync Server role(s). Are you sure you want to proceed?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.XdsDatabase'****
Trying to connect to Sql Server EnterpriseEditionMirrorSQLServer.contoso.net\RTC. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 3401.
Sql version is acceptable.
Dropping database xds.
WARNING: Database xds does not exist, so cannot be dropped.
Database created by script "XdsDatabase" does not exist. There is nothing to remove.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.LisDatabase'****
Trying to connect to Sql Server EnterpriseEditionMirrorSQLServer.contoso.net\RTC. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 3401.
Sql version is acceptable.
Dropping database lis.
WARNING: Database lis does not exist, so cannot be dropped.
Database created by script "LisDatabase" does not exist. There is nothing to remove.
WARNING: "Uninstall-CsDatabase" processing has completed with warnings. "2" warnings were recorded during this run.
WARNING: Detailed results can be found at
How can I safely remove these databases from the topology builder without affecting the live production standard edition environment?