During a migration from Lync Server 2010 to Lync Server 2013 there is a point where you need to move the CMS database to a new Lync Server 2013.
In this case all Lync related data was installed on a D:\ drive as a requirement from the customer.
When installing the CMS database you need to use powershell to set the correct location to folder on the D:\ drive.
After this step I started the Move-CsManagementServer and this failed during the bootstrapper.exe step with an error.
Error: An error occurred: "Microsoft.Rtc.Management.Deployment.DeploymentException" "Cannot find any suitable disks for database files. You must manually specify database paths."
The cause of this error was lack of free disk space on the C:\ drive. You still need 20 GB of free disk space on the system drive. After expanding the system drive lets run the Move-CsManagementServer again.....(no success)...and again with the Force switch.
PS C:\> Move-CsManagementServer -force
Confirm
This cmdlet moves Central Management Server to the pool that contains this
computer.
Current State:
Central Management Server Pool: "srvlync2013.contoso.com"
Central Management File Store: "\\srvlync2013.contoso.com\LyncShare$"
Central Management Store: "srvlync2013.contoso.com\rtc"
Central Management Store SCP: "srvlync2010.contoso.com\rtc"
Proposed State:
Central Management Server Pool: "srvlync2013.contoso.com"
Central Management File Store: "\\srvlync2013.contoso.com\LyncShare$"
Central Management Store: "srvlync2013.contoso.com\rtc"
Central Management Store SCP: "srvlync2013.contoso.com\rtc"
The last attempt to move the Central Management Server from
"srvlync2010.contoso.com\rtc" to "srvlync2013.contoso.com\rtc" either
failed or is in progress. Ensure that there is no other move operation in
progress and run this cmdlet with the -Force flag to retry the move to
"srvlync2013.contoso.com\rtc".
Note:
As you can read the CMS is correctly moved to the new Lync 2013 server but the SCP is still pointing to the old Lync 2010 server. When the Master Replication service and the File Transfer Agent service are starting they read out the SCP and they stop running because both services try to connect to a server with an incorrect database version.
The move is still failing with an error:
Move-CsManagementServer : Export configuration data failed. Exception Details:
Exception : System.Data.SqlClient.SqlException (0x80131904): Could not find
stored procedure 'dbo.XdsBackupAllItems'.
At this point Lync is still running without any problems. It is even possible to access the Topology Builder and download a configuration. But replication of the config to other servers is not working. To solve this error I created a backup from the XdsConfig and LisConfig database with Export-CsConfiguration and with Export-CsLisConfiguration cmdlets.
Now again I started to move the CMS with Move-CsManagementServer -ConfigurationFileName "C:\CsConfiguration.zip" -LisConfigurationFileName "C:\CsLisConfiguration.zip" -Force
A Voila ...... a working system is the result!!!











