April 4, 2013

Best practices to deploy Cumulative Update for Lync Server 2010

Best practices to deploy Cumulative Update for Lync Server 2010
NOTE: First deploy on LAB or Test environment wait 4-5 days and then deploy on Production server.
Download the Cumulative Update for Lync Server 2010: March 2013 URL: http://go.microsoft.com/fwlink/?LinkId=208564 Download the update package now.
1.    Logon to Lync Server 2010.
2.    Open the Lync Server Management Shell.
3.    Check that no users are talking on the phone or are in a meeting before start the update.
a.     Checking running Get-CsWindowsService
b.    In below screenshot (from Lync LAB server) there are no one is active call in client connection and the call etc.
4.    If anyone active then will prevent new sessions for a while and drain the active connections. This can be done running Stop-CsWindowsService –Graceful.
a.     As seen in the above Image the all Lync services are now stopped.
5.    Followed above the World Wide Web service need to be stop. By typing: net stop w3svc
6.    Now close all Lync Server Management Shell windows.
7.    Use full package i.e. LyncServerUpdateInstaller.exe
8.    Install the cumulative update for Lync Server 2010 by running LyncServerUpdateInstaller.exe
C:\test> LyncServerUpdateInstaller.exe 

This will start the update tool and you should see what updates are needed and what version is already installed. (As you can see in the picture I have already installed the latest update package and it shows a green checkmark at every line. If there were some services
that wouldn’t be updated this would show a red stop mark instead.)
Note: Restart the computer if you are prompted to do so.
9.    The next step is something that is almost always forgotten. To update the Lync Server Databases  
a.     Start the Lync Server Management Shell: (Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.)
b.    To apply the changes made by LyncServerUpdateInstaller.exe to the SQL Server databases do one of the following:
                                                 i.      On Standard Edition Server and Enterprise Edition: Front end servers, once you have installed update for core components, the updated sql files will be dropped on the server. Then run the following cmdlet to apply the changes:
Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn -UseDefaultSqlPaths

Notes:
1.    In a Lync Server 2010 Standard Edition environment, run the cmdlet from the Standard Edition server.
2.    In a Lync Server 2010 Enterprise Edition environment in which the archiving/monitoring services are collocated with an Enterprise Edition back-end server, run this cmdlet from the Enterprise Edition back-end server.
3.    In a Lync Server 2010 Enterprise Edition environment in which the archiving/monitoring services are not collocated with an Enterprise Edition back-end server , run this cmdlet from the Enterprise Edition front-end server.
If the RTCDyn databases are removed after you run the cmdlet without the UseDefaultSqlPaths parameter, run the following cmdlet to restore the RTCDyn databases:
Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn < EEBE.Fqdn > -DatabasePaths ,
10.    Now when the database is also up to date, it’s time to start the IIS & Lync Server services. At the command line, type:
net start w3svc
Start-CsWindowsService
11.    Verified all services.
12.    Verify – IM, Desktop sharing, AV etc.
Thank you.


No comments:

Post a Comment

ShareThis