Now that Microsoft has released Skype for Business 2015 it’s time to have a look at the upgrade possibilities. I’m running Lync 2013 Standard Edition in my environment (Lync 2013 Front-End Server, Lync 2013 Edge server and Lync 2013 Mediation server), and lucky enough there is an in-place upgrade possibility. A downtime if required, but when scheduling off business hours this should not be a problem. In this blog post I’ll discuss a step-by-step upgrade from Lync 2013 Standard edition to Skype for Business 2015.
Before the servers can be upgraded to Skype for Business 2015 a number of requirements need to be met, depending of the underlying Operating System:
•Microsoft Lync Server 2013 CU5 (February 2015 update) or above
•PowerShell RTM version (6.2.9200.0) or later
•SQL Server 2012 SP1 or later
•Kb2533623 Windows Server 2008 R2
•Kb2858668 Windows Server 2012
•KB2982006 Windows Server 2012 R2
I’m running Windows Server 2012 R2 on all my servers, so the only updates I have to apply is the Cumulative Update for Lync (to be safe, the May 2015 Cumulative Update (https://support.microsoft.com/en-us/kb/3051949) and the SQL Server 2012 SP1 update.
The Updates for Lync Server 2013 article (https://support.microsoft.com/en-us/kb/2809243) describes how to update your Lync servers to the latest CU level.
The latest available Service Pack for SQL 2012 is SP2 which can be downloaded here: http://www.microsoft.com/en-gb/download/details.aspx?id=43351
You can patch the server by opening a Lync Management Shell window and entering the following commands:
.\SQLEXPR_x64_ENU.exe /ACTION=Patch /allinstances /IAcceptSQLServerLicenseTerms
All instances will be automatically upgraded:
Please note that this is a prerequisite for the upgrade, i.e. the platform need to be running this version. Skype for Business installs SQL Express 2014 during the setup process.
When the server is fully patched it’s time to start upgrading the server. The first step is to install the Administrative Tools. It is not possible to install these on the existing Lync 2013 server, so a (temporary) server needs to be used. It is important that this server does not contain any Lync 2013 binaries.
Start the Skype for Business 2015 setup application (D:\Setup\AMs64\setup.exe), accept the license agreement and let the application install the necessary binaries for the Core Components. When the Deployment Wizard is installed select the Install Administrative Tools options as shown in the following figure:
This will also install the Skype for Business 2015 Topology Builder, needed to convert the Lync 2013 Topology to a Skype for Business 2015 Topology. When the installation is finished click Finish and click Exit to stop the Deployment Wizard.
The next step is to open the Topology Builder, select Download Topology from existing deployment and store the topology file on the local hard disk. In the Topology Builder, right click the existing Lync 2013 Topology and select the Upgrade to Skype for Business Server 2015 as shown in the following figure:
At this moment nothing will happen, but the topology as saved in the local file will be converted to a Skype for Business topology. As long as you don’t publish it, nothing will happen to your existing environment. In the warning message saying Are you sure to upgrade the selected pool to Skype for Business Server 2015 click Yes.
A new entry will appear in the Topology for Skype for Business Server 2015, containing the existing/upgraded configuration:
To store this configuration back in the CMS, right click the Skype for Business Server in the top left of the Topology Builder and select Publish Topology.
When you have a small Lync 2013 environment it will take a few seconds to publish the Topology but if you have a (very) large environment it can take a serious amount of time, up to hours according to the warning message that’s shown when you start the publishing process. When the Topology is successfully finished click the Finish button.
At this point you’re finished with preparing the Topology and you can continue upgrading the individual servers (Front-End, Mediation and Edge servers).
Upgrade the Lync 2013 servers
When the Skype for Business Topology is successfully published the individual servers can be upgraded. To do this we start with the Lync 2013 Front-End server. The Lync services will be stopped and disabled so a downtime is involved here.
To stop and disable the Lync 2013 services open the Lync Management Shell and enter the following commands:
When running the first command the entire server is disabled and all Lync related group membership is removed. This is also mentioned in the warning that’s shown, click Y to continue:
Start the Skype for Business 2015 setup application (D:\Setup\Amd64\Setup.exe). Accept the License Agreement and click OK.
In the unfortunate event you forgot to install one or two updates a warning will be shown so you can update with the correct hotfix, as shown in the following figure:
When corrected you can click the Retry button and when all is well the setup application will automatically continue with upgrading the Front-End server to Skype for Business Server 2015.
At the end of the installation (my Front-End server took 75 minutes to complete) you should see something like the following figure, click OK to complete the installation.
A last message is shown indicating you have to start the Front-End pool using the Start-CsPool command an start the SfB services on other servers using the Start-CsWindowsService command:
To start the Front-End pool open the Skype for Business Management Shell and enter the following command:
After some time and lots of information on the console the front-end pool is up-and-running again.
The good thing is, at this point the only server that’s upgraded is the Front-End server, the Mediation server and the Edge server are still running Lync 2013 and all seems to be working correctly 🙂
When opening the Skype for Business Control Panel it certainly looks familiar, the look-and-feel is much like the Exchange Admin Console and the Microsoft Online Portal, combined with the ‘old’ Lync 2013 Control Panel. When Topology is selected (at this point) you can see that only the Front-End server is upgraded and the other servers are still running Lync 2013:
After upgrading the Front-End server it’s time to upgrade the Lync 2013 Edge server. The process is very similar to upgrading the Front-End server.
First upgrade the Edge Pool to Skype for Business 2015 by opening the Topology Builder on the Front-End server, download the Topology, right click the Edge Pool and select Upgrade to Skype for Business Server 2015:
After upgrading publish the Topology to the CMS by right clicking on the Skype for Business in the top left corner and select Publish Topology.
When the Topology is upgraded the Edge Server can be upgraded. Stop the services using the Stop-CsWindowsService command, start the setup application from D:\Setup\Amd64, accept the license agreement and follow the wizard. Obviously my original Edge server didn’t have the .NET Framework 3.5 installed:
After installing the .NET Framework 3.5 and patching the server the upgrade process continued but ran into another issue. It seems that replication didn’t take place, so the Lync 2013 Edge server was not aware that the Topology was upgraded to Skype for Business 2015. After forcing replication using the Invoke-CsManagementStoreReplication cmdlet it worked out fine. Another option is to export the configuration on the Front-End server using the Export-CsConfiguration cmdlet, copy the ZIP file to the Edge server and import it there using the Import-CsConfiguration cmdlet.
Once fixed the upgrade ran smoothly and finished after 45 minutes.
When you click OK a reminder is shown you have to start the SfB services using the Start-CsWindowsService cmdlet, the same reminder that was shown when the Front-End upgrade finished.
After running the Start-CsWindowsService cmdlet all Skype for Business services are running as you can see in the MMC services snap-in.
Personally I’d like to reboot my servers after an upgrade, so after a couple of minutes I got my Edge server up-and-running again and was able to sign in remotely and use federation again.
Upgrading the Lync 2013 Mediation Server is similar. First upgrade the Mediation Pool to Skype for Business in the Topology Builder, then publish the Topology to the CMS and upgrade the Mediation server itself. Please note that .NET Framework 3.5 is needed on the Mediation server. It took approx. 45 minutes to finish the upgrade to Skype for Business 2015.