No matter how well you discuss it with other stakeholders in advance, how many times you show it in design documents, and how many change requests you submit with it prominently displayed, you may find yourself having to rename Lync servers in a deployment.
I recently found myself in this unenviable position a few months after I built out a brand-spanking new Lync 2013 deployment for a customer. The server naming convention I proposed was accepted by all the important parties and was prominently displayed in design documents, presentations and change request orders. Well into the deployment, an issue with the naming convention was brought up by someone important enough to force the server name change after the fact, but apparently not important enough to be included in the design process in the first place. Sigh...
At this stage, there were 3 Lync Server 2013 Enterprise Edition front-end servers, 2 edge servers, and a survivable branch server (SBS) all running Windows Server 2008 R2. Thankfully, they didn't have a problem with the pool names for the front-end and edge pools, so we didn't have to do a complete rip-and-replace, but that was minor consolation for the work ahead.
I managed to come up with a fairly streamlined process to do the renames, with minimal interruption to the users already piloting the deployment. The final result was a deployment with no errors relating to the name change.
I'm not saying there's not a faster way of doing this, by removing fewer components, but this process proved to work for me without issue. If you've done the same thing by doing less, let me know in the comments.
Do each server one at a time, running through the complete process before starting the next one.
- Remove Lync server from topology
- Publish topology.
- Run Lync Server Deployment Wizard local setup on server to remove Lync components
- Uninstall SQL Server. Front-ends have LyncLocal and RTCLocal instances. Remove both, rebooting between instance removal. Edge only has RTCLocal instance.
- Remove SQL Server 2012 Management Objects (x64)
- Remove SQL Server 2012 Native Client (x64)
- Remove Microsoft System CLR Types for SQL Server 2012 (x64)
- Remove Microsoft Lync Server 2013, Front End Server
- Remove Microsoft Lync Server 2013, Core Components
- Delete C:\Program Files\Microsoft SQL Server
- Delete C:\Program Files\Microsoft Lync Server 2013
- Delete C:\CSData
- Rename server and restart
- Wait until AD replication completes with new server name.
- Open Topology Builder, add new server to existing pool and publish.
- Reinstall Lync components and all cumulative updates
- Generate new certificate with updated server name and assign to appropriate services using Lync Server Deployment Wizard.
- Restart all servers in pool at same time (only relevant for front-end servers in an Enterprise pool).