1- In-Place upgrade from Lync 2013 to Skype for business step by step guide

clip_image001

STEP 1 : Installing Prerequisites On Lync 2013

Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Dir-Browsing, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Server-Media-Foundation, BITS

From <https://technet.microsoft.com/en-us/library/dn933900.aspx>

clip_image002
clip_image003

STEP 2: Installing CU5

Download and install CU5

https://www.microsoft.com/en-us/download/details.aspx?id=36820

clip_image004
clip_image005

After the restart we will apply the update of the databases which in my case is going to be the FQDN of the FE server since it's standard version and not Backend server.

Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn lyncfe01.adeo.local -Verbose

clip_image006
clip_image006[1]

Time to upgrade the Archiving/Monitoring databases.

To upgrade we'll use the same command except change the FQDN of the SQL server to the SQL server where Monitoring and Archiving databases are at.

Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn sql01.adeo.local -Verbose

clip_image007
clip_image008
clip_image009

Applying CMS upgrade

clip_image010

Install-CsDatabase -CentralmanagementDatabase -SqlServerFqdn Lyncfe01.adeo.local -SqlInstanceName rtc -verbose

clip_image011
clip_image012

Then run enable-cstopology

Last thing in the CU5 update is

%ProgramFiles%\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe

clip_image013
clip_image014

https://support.microsoft.com/en-us/kb/2809243

Step 3 : Installing Windows OS hotfix.

KB2982006 Windows Server 2012 R2

Since the FE is on Windows Server 2012 R2 then we'll need to download this link

https://onedrive.live.com/redir?resid=82488EABA4ACDB15!38654&authkey=!AE9IJKbMPtkge8U&ithint=file%2cexe

RESTART is Required

clip_image015

STEP 4 : Install SQL Service Pack 2 (Express) for your Lync Front end Standard Edition

First Download SQL Express SP2 setup

clip_image016

You can patch the server by opening a Lync Management Shell window and entering the following commands:

Stop-CsWindowsService

.\SQLEXPR_x64_ENU.exe /ACTION=Patch /allinstances /IAcceptSQLServerLicenseTerms

clip_image017
clip_image018
clip_image019
clip_image020
clip_image021
clip_image022
clip_image023
clip_image024

Step 5: SQL Server (Standard or Enterprise) for (Monitoring, Archiving)

https://support.microsoft.com/en-us/kb/321185

clip_image025

My SQL Server version is SP1 so I don't need to upgrade it to SP2

clip_image026

Step 6- In-place Upgrade for Skype For Business

In order to do the in-place upgrade, we'll need to use a machine that doesn't have Lync 2013 to install the new Topology builder and do the upgrade process

On a different Machine that's joined to the same domain, I will run the prerequisites script and restart the machine. then I'll load the Skype for business ISO and install

clip_image027

D:\Setup\amd64\Setup.exe

clip_image028
clip_image029
clip_image030
clip_image031

We'll now press on Installing Administrative tools

clip_image032
clip_image033
clip_image034

Now in order to continue we'll have to open the topology builder in order to upgrade our Lync 2013 topology

I'll open the topology builder and save the topology file somewhere

clip_image035

Once the topology is open, I'll navigate to the Standard FE Servers and right click on my main server to upgrade

clip_image036
clip_image037

I'll click on Upgrade to Skype for Business Server 2015…

clip_image038

As soon as you press Yes, the Frontend server that you selected will be moved under the Skype For Business Server 2015 tab as you can see below.

clip_image039

Since I have two FE servers (FE and SBS) I will be upgrading them both but not in the same time not not fall into any errors, so I will publish the topology and see what happens.

clip_image040
clip_image041

We'll check what do we need to do now in order to upgrade the servers, here is what we'll do.

Import existing normalization rules from the previous Skype for Business Server deployment. If you want to keep your existing normalization rules you will need to import them using the Import-CsCompanyPhoneNormalizationRules cmdlet. If you have separate normalization rules for each pool then you will need to run the command for each set.

To perform an in-place upgrade of your Skype for Business Server, you'll need to do the following, in order:

(1) Stop the Skype for Business services on all of the servers that you are upgrading;

(2) Run Skype for Business Server setup (Setup.exe) on all of the servers you are upgrading;

(3) Start the Skype for Business services on all of the servers you upgraded. To start the services in a Front End pool, connect to one of the servers in the pool and run the Start-CsPool cmdlet. All the servers in the pool should be running Skype for Business Server before you use the Start-CsPool cmdlet. To start the services in all other pools (e.g. Edge pool, Mediation pool), run the Start-CsWindowsService cmdlet on every server in the pool;

Server FQDN: lyncfe01.adeo.local, Pool FQDN: lyncfe01.adeo.local

On Lync FE 01 I'll stop all the services using Stop-cswindowsservice

clip_image042

Now on the same server I'll load the Skype4B ISO and start the setup

D:\Setup\amd64\Setup.exe

clip_image028[1]
clip_image029[1]
clip_image030[1]

Started at 1:40pm

clip_image043
clip_image044
clip_image045
clip_image046
clip_image047
clip_image048

NOTE:

The required time for the upgrade process is estimated around 75-90 Minutes for each FE Server.

clip_image049
clip_image050

Starting 'Verifying upgrade readiness...'

'Verifying upgrade readiness...' completed successfully

Starting 'Installing missing prerequisites...'

'Installing missing prerequisites...' completed successfully

Starting 'Uninstalling roles...'

'Uninstalling roles...' completed successfully

Starting 'Detaching database...'

'Detaching database...' completed successfully

Starting 'Uninstalling local management services...'

'Uninstalling local management services...' completed successfully

Starting 'Installing and configuring core components...'

'Installing and configuring core components...' completed successfully

Starting 'Installing administrative tools...'

'Installing administrative tools...' completed successfully

Starting 'Installing local management services...'

'Installing local management services...' completed successfully

Starting 'Attaching database...'

'Attaching database...' completed successfully

Starting 'Upgrading database...'

'Upgrading database...' completed successfully

Starting 'Enabling replica...'

'Enabling replica...' completed successfully

Starting 'Installing roles...'

'Installing roles...' completed successfully

Starting 'Verifying installation...'

'Verifying installation...' completed successfully

clip_image051

Update of Lync FE with Monitoring, Archiving role is finished and I can login successfully without any issue.

Next guide will be for Lync Edge server

Hope you find this useful