|
Removing Lync 2010 Standard
Edition Server from Lync Deployment
Description: There might be some requirement when your organization want
you to remove a Standard Edition Lync
2010 server. Suppose at the time of Lync 2010 deployment you would have install
one Lync Standard Edition sever on which you can move some of the users for testing
purposed. Later on during final deployment you install Lync 2010 Enterprise Pool
containing some front end servers. At some point you find that more and more users
are created on the same Lync Pool and now you require one more front end server.
In this case if your Standard Edition server is not in use then you can remove it
from the Lync Deployment and can install it as a Front End server for the Lync Enterprise
Pool. Below are the detailed steps for removing Lync Front End server from Lync
Deployment.
Steps for Removing Lync 2010 Standard Edition Server
1.
Log on to the computer where Topology Builder is installed as a member of the Domain
Admins group and the RTCUniversalServerAdmins group.
2.
Start Topology Builder: Click
Start, click
All Programs, click
Microsoft Lync Server 2010, and then click
Lync Server Topology Builder.
3.
Expand Standard Edition Front
End servers, right-click the Front End Server that you want
to remove, and then click
Delete.
4.
Expand SQL stores,
right-click the SQL Server database that is associated with the Standard Edition
Front End Server, and then click Delete.
5.
Publish the topology from the Actions Pane under Topology Builder.
6.
It might possible that Published Topology Wizard fails if you are hosting any object
on the Standard Edition server. Please use below PowerShell Commands to verify that
there are not object lying on your Standard Edition server.
a.
Get-CsUser -Filter {(Enabled -eq $true) -and (RegistrarPool -eq "<StandardEditon
FQDN>")}
b.
A Get-CsExUmContact -Filter {(Enabled -eq
$true) -and (RegistrarPool -eq "<StandardEditon FQDN>")}
c.
Get-CsAnalogDevice -Filter {(Enabled -eq $true) -and (RegistrarPool -eq "<StandardEditon
FQDN>")}
7.
There are few more
Get-cs command apart from above commands which you might need to check if any object
are lying on your Standard Edition server. For that you can click on the “View Logs”
button when the Publishing of your Topology gets failed.
8.
If you find any of
the object then your can use below Powershell command to move object to your Enterprise
Pool.
a.
Get-CsUser -Filter {(Enabled -eq $true) -and (RegistrarPool -eq "<StandardEditon
FQDN>")}|move-csUser –Target <Your Lync Enterprise Pool>.
9.
You can edit the above
command to move different type of objects live Get-CsExUmContact, Move-CsExUmContact
10.
Now you need to delete any conferencing Directory
which exist on this server.
11.
Open Lync Management Shell and run “Get-CsConferenceDirectory”.
It will display results like below.

12.
In the above example the Identity of Standard Edition
server’s Conference Directory is “2”.
13.
Now run the following command to remove this directory.
a.
remove-csconferencedirectory
-identity number, the number would be “2” in this example as the it is the identity
for Standard Edition Conferencing Directory. You might also required to run this
command
with –Force switch if the directory
contains any data.
14.
Once this is done, Publish the topology and if you
get it done successfully and check the CS Management Store replication status to
verify that it is replicated across all the servers. Below is the command to check
the Replication Status.
a.
Get-CsManagementStoreReplicationStatus
15.
Now you can run Lync Server 2010 – Deployment Wizard
on the Standard Edition server and go to “Install or Update Lync Server System”.
16.
Click “Run” button under STEP2 Section which is “Setup
or Remove Lync Server Components”.
17.
Once the setup is run it will remove all Lync Services
from the Standard Edition server.
18.
Now from Add/Remove programs remove SQL Server, when
prompted first remove RTC Database and then re-run the SQL Unintallation wizard
to remove RTCLOCAL Database.
19.
You might also need to run bootstrapper /scorch for
a clean Un-installation or Lync Components.
20.
Now you can use this Standard Edition server for
any other installation.
By
Mohit Verma
UC Specialist
|