Tuesday, December 2, 2014

Summary Lync 2013 Cumulative Updates and Database Updates

Do not forget and update the Lync backend databases. ;)


We need to patch all the databases, and the LIS / XDS from CMS.

First we remember, the Standard Edition has its own local SQL Server containing all databases necessary for its related Frontend Services, therefore a single command similar as for the SQL Backends is required.

If you have an Enterprise setup, you need to identify which features are installed, e.g. only native or incl. Archiving/ Monitoring, or even Persistent Chat.
This separated databases require their own commands.

For the entire process based on Enterprise Deployment, please enumerate your Topology and identify the configured components.




Lync Standard Edition:
Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn SE.FQDN -Verbose



Lync Server 2013 Enterprise Edition
Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN
-DatabasePaths "D:\LOGS","D:\DATA" 
-SqlInstanceName DBInstance -Verbose
 
Lync Server 2013 Persistent Chat Databases
Install-CsDatabase -DatabaseType PersistentChat -SqlServerFqdn PChatBE.fqdn
-SqlInstanceName DBInstance -Verbose
 
Lync Server 2013 Monitoring/Archiving/Persistent Chat Databases
Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn SQLServer.FQDN
-SqlInstanceName DBInstance -Verbose
 

The CMS needs to be updates to, the LIS and XDS Database, but this must be done AFTER the other Database are updated.
This is also valid if there are multiple pools and multiple SQL backends.



Apply the Central Management Database update
Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn CMS.FQDN
-SqlInstanceName DBInstance -Verbose
 
 

2 comments:

  1. wouldn't the dbinstance for cms be xds and lis?

    ReplyDelete
  2. Hi Joshua, a DB instance is the application name of the installed SQL Server.
    The CMS is defined as two database, XDS and LIS. Together they build the CMS and store the config/Topology and the location information server data.
    hope this helps you

    ReplyDelete