First to check the status of the Database after installing the cumulative update and whether you need an update, you need to run the below two commands from elevated Lync Power Shell.
- PS C:\> Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn servername.domain.com | FT DatabaseName, ExpectedVersion, Installedversion
- PS C:\> Test-CsDatabase -CentralManagementDatabase | FT DatabaseName, ExpectedVersion, InstalledVersion
The Output will be something similar to that (This is the output of the second command on one of my deployments)
DatabaseName ExpectedVersion InstalledVersion
------------ --------------- ----------------
xds 10.13.2 10.13.1lis 3.1.1 3.1.1
As you can see there is a difference between the expected and installed value in the XDS database.
To update the Database we need to run the below commands in sequence:
- Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose
- Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn CMS.FQDN -SqlInstanceName DBInstanceName -Verbose
After that we need to enable CsMobility service and Run Bootstrapper as follows:
- Enable-CsTopology
- Bootstrapper.exe
- Reboot the server.