You installed a update to your Lync 2013 server and wonder if the database has to be updataed (install-csdatabase….).
Run :
Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn sqlserver.fq.dn | Select DatabaseName, ExpectedVersion, InstalledVersion
Result:
DatabaseName ExpectedVersion InstalledVersion
———— ————— —————-
rtcxds 15.13.1 15.13.1
rtcshared 5.0.1 5.0.1
rtcab 62.42.2 62.42.2
rgsconfig 5.5.1 5.5.1
rgsdyn 2.2.1 2.2.1
cpsdyn 1.1.2 1.1.2
xds 10.13.2 10.13.1
lis 3.1.1 3.1.1
As you can see there are a version conflict. You should update the database.
In this example the Central Management Database is not up to date. Check Microsoft TechNet KB 2809243 for the correct procedure:
Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn CMS.FQDN -SqlInstanceName DBInstanceName -Verbose