Loading…

Andrew J. Price | Technical Blog

Office Servers and Services MVP | Founder of UC and Cloud Day | Founder of Microsoft Cloud User Group

Note from the field: Lync 2010 SE to Lync 2013 EE Decommission – How I did it

Hello Readers

I have recently been tasked in “Decommissioning Microsoft Lync Server 2010 SE Front End” after being successfully moved to Lync 2013 Enterprise Edition. I accept this post is not the be all and end all in Decommissioning Microsoft Lync 2010 Server but a rough guide to others future decommissions.

Information about the Environment

  • 1 Lync 2010 Standard Edition Server with CMS
  • 1 Lync 2013 Enterpool Pool
  • 1 Sql 2012 Server with 1 instance for Lync

In this post I will be moving the CMS to the new SQL Backend for EE Pool, Removing Conference Directories and Removing Server Components from OLD FE Server.

First step, in order to move the CMS from the old Lync FE to Backend SQL Server, in order to do this. I had to run the following command Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn -SqlInstanceName -verbose. I am very much a fan of -verbose as I like to see whats happening when running Powershell Commands

Cuadrilla

We now need to move the Central Management Store and again this can be done via Powershell using the following command Move-CsManagementDatabase -verbose, after running this command you will be presented with information about the “Current State” of the CMS and “Proposed State” (as shown below) If you are happy with Proposed State enter A for “Yes to All” and Powershell will now move the CMS to the new location.

Cuadrilla 1

After the move has been successfully completed you should see information like the image below

Cuadrilla 2

You will now need to run Lync Deployment Wizard on on your old Lync 2010 FE to remove the componets for the CMS store.

  • Go to your old Lync FE
  • Launch Deployment Wizard
  • Click Install or Update Lync Server System
  • Run Step 2 to remove Lync Server Components

Cuadrilla 3

After successfully removing the components we will just check that CMS is homed to the BackEnd SQL Server

  • Log onto the Lync 2013 FE
  • Launch Lync Management Shell
  • Enter Get-CsManagementConnection

Cuadrilla 4

You can also check if the Central Management Store has been moved by Downloading the latest Topology “Right Click Lync Server –> Edit Properties –> Click Central Management” this will show you where the Central Management Pool is installed.

Cuadrilla 5

Now go back to your Lync 2010 FE as we will now need to uninstall the Central Management Store.

  •  Launch Lync Management Shell
  • Enter Uninstall-CsDatabase -CentralManagementDatabase -SqlServerFqdn -SqlInstanceName RTC -verbose

You should be returned with Exit Code : SUCCESS (0)

Now returning to your Lync 2013 FE Server open Topology Builder. We will now need to remove the Lync 2010 SE from the Topology. In order to do this you need to make sure that all dependencies on the Lync 2010 Pool have been moved across to your Lync 2013 Environment, otherwise you wont be able remove the Lync 2010 SE.

When removing the Lync 2010 Server from the Topology you will be asked if you want to delete the Affected Stores. Clicking “Yes” will remove the store from the topology builder and we now need to remove the “Conference Directories

  • Launch Lync Management Shell
  • Enter Get-CsConferenceDirectory (This will allow you to found the Identify number you need to remove the conference directory from the old pool
  • Now we have the Identify Number Enter Remove-CsConferenceDirectory and Press Enter
  • Enter the Identify Number
  • If you successfully the Conference Directory will now be removed
  • If not as in my case you may reach an error like below

Cuadrilla 7

After investigate I found that the Conference Directory was homed to my Lync 2013 Pool. I was happy that all the data had been moved, as all users was migrated to Lync 2013 a month prior to decommissioning the SE. So to remove the conference directories I used Remove-CsConferenceDirectory -Force

Now the Conference Directory is removed I am able to successfully “Publish” the Lync Topology

No More Lync 2010 Standard Edition Server

Cuadrilla 9

The next step now is to remove all components from Lync 2010 SE

  • Go to your old Lync FE
  • Launch Deployment Wizard
  • Click Install or Update Lync Server System
  • Run Step 2 to remove Lync Server Components

At this stage I ran into an error while Removing McxStandalone.msi, I have written a separate post about the issue I encountered http://lyncme.co.uk/note-from-the-field/lync-2010-decommission-error-removing-mcxstandalone-msi-error-returned-while-installing-code-1603/

Now all that’s left is uninstalling left over bits on Program and Features, which I wont go into detail as its quite straight forward removing programs. This concludes my post on how I decommissioned Lync 2010 Standard Edition Front End from Topology. I accept this doesn’t cover everything as Deployments can vary from all different sizes.

 

One thought on “Note from the field: Lync 2010 SE to Lync 2013 EE Decommission – How I did it

Leave a Reply