Build a Lync 2013 Lab: Part 5 – Lync AD prep, Prereqs & initial topology

Microsoft Lync 2013The next stage of the process is to complete the Lync AD prep, install the prerequisites on the first front end server, deploy management tools and design the initial topology.

Install Prerequisites

First login to the first server in your new Lync 2013 Front End pool. We will use this as the initial point of administration, feel free to appoint a separate management machine if you wish however you can deploy the relevant management tools there later.

Mount the Server 2012 R2 media and update the source parameter in the following command (e.g. D:\sources\sxs) with the correct location for your environment.

Install the required prerequisites including the server administration tools followed immediately by a server reboot. As per Jeff’s recommendations, I too would install Telnet Client at the same time.

From a PowerShell prompt, running as administrator, enter:

Install-WindowsFeature RSAT-ADDS, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, 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, Windows-Identity-Foundation, Desktop-Experience, Telnet-Client, BITS -Source D:\sources\sxs -Restart

(Thanks to Jeff Schertz for the PowerShell, he has a great article for deploying a 2013 standard edition server, plus loads more)

Active Directory Preparation

The next stage of the process is to prepare Active Directory for the Lync 2013 installation. This post covers a green field deployment and is easily adjusted for a Lync 2010 to 2013 upgrade. Upgrades from OCS 2007 R2 are supported by Lync 2013, but earlier versions directly are not. If your running an earlier version of OCS/LCS, please check the details on TechNet.

BACKUP, BACKUP, BACKUP. Remember to take the correct precautions on your environment before applying schema updates. If a schema update fails, you could be looking at a restore. You have been warned. If you don’t know what your doing, call someone in now.

Mount the media and install the deployment wizard.
Lync 2013 FE Prep - 1 Start Install

Once the deployment wizard is running, you will need to select ‘Prepare Active Directory’.
Lync 2013 FE Prep - 2 Deployment Wizard

Now follow each step in turn, completing the action and then completing the verification. I have outlined the main steps here but please refer to the ‘in wizard’ instructions for prerequisites and verification steps, they contain all you need.
Lync 2013 FE Prep - 3 AD Prep

Next choose ‘Prepare Schema’, full details of the prerequisites for this step are included within the deployment wizard, therefore I will not repeat them here.

Lync 2013 FE Prep - 4 AD Prep Schema

Once complete, follow the guidance provided to verify replication of the schema partition.

Next choose ‘Prepare Current Forest’, full details of the prerequisites for this step are included within the deployment wizard, therefore I will not repeat them here.

In environments where Lync is being installed into a child domain within a forest, you may need to complete this stage on a forest root domain controller. For example, if you are installing Lync into the testdomain.testforest.local domain, and you have completed these stages on lyncfe01.testdomain.testforest.local, then the perpare forest stage should be run from a member server within the testforest.local domain.

Remember that to prepare the forest schema you will need to use an Enterprise Admin account.

Lync 2013 FE Prep - 5 AD Prep Forest

As always, review the logs and ensure all has completed successfully. Then verify replication of global catalog, instructions are provided within the wizard.

Lync 2013 FE Prep - 6 AD Prep Forest Logs

Lastly, we need to ‘Prepare Current Domain’ which will allow it to support Lync 2013 deployments.

Lync 2013 FE Prep - 7 AD Prep Domain

Lync 2013 FE Prep - 8 AD Prep Domain Log

Now all that scary schema work is out of the way, we need to add the Lync administrators into the relevant groups. There will be a range of groups that have been created, all OCS/Lync groups either start RTC or CS. At this stage, just add your main Lync administrators (their privileged accounts rather than their standard accounts) to the CSAdministrator group. Help desk staff can be configured later by adding them into the relevant groups.

Lync 2013 FE Prep - 9 AD Prep CSAdministrator

Lync 2013 FE Prep - 10 AD Prep CSAdministrator

Lync 2013 FE Prep - 11 AD Prep AD Groups

Lync 2013 FE Prep - 12 AD Prep Complete

Once we have completed the Lync Active Directory Preperation, your ready to move forward.

Management Tools

From the front screen of the deployment wizard, click the ‘Install Administrative Tools’ link. You can install these tools where you feel they are required. I personally like to install them on the first FE server within the pool, eg: lyncfe01.test.com and also a management terminal.

Topology

The key to moving your deployment forward now, is to define the inital topology. Here we will define the relationships with the file store, WAC servers and database servers we build in the earlier posts.

Define the SIP domain name
Lync 2013 FE Topology - 01 SIP Domain

Specify any additional SIP domain names you require
Lync 2013 FE Topology - 02 Additional SIP Domains

Define the name of your site
Lync 2013 FE Topology - 03 Define Site

Fill in the relevant location information
Lync 2013 FE Topology - 04 Site Details

Ensure you start the ‘New Front End Wizard’ next…
Lync 2013 FE Topology - 05 Site Summery

Lync 2013 FE Topology - 06 New Pool

Define the pool FQDN
Lync 2013 FE Topology - 07 Pool Type and FQDN

Define the pool member names, in our lab you should include all three.
Lync 2013 FE Topology - 08 Pool Members

Select the features you wish to enable. Others can be enabled later, if you are deploying this pool into an environment with Lync 2010 currently running, this example is a good starting point. Within the lab, you could also enable Call Admission Control (CAC) and Conferencing, Archiving and Monitoring now if you wish, but I will cover adding these in a later post.
Lync 2013 FE Topology - 09 Pool Features

We will collocate the mediation server, this reduces the total number of servers we need to deploy and ensures there are three servers running this role. Decisions here come down to sizing and design.
Lync 2013 FE Topology - 10 Collocated Roles

We will not deploy edge services at this stage.
Lync 2013 FE Topology - 11 Enable Edge

Configure the main backend SQL server
Lync 2013 FE Topology - 12 SQL Server Store

Configure its mirror
Lync 2013 FE Topology - 13 Mirror SQL Server Store

Define the DFS file store location
Lync 2013 FE Topology - 14 File Store

Specify the internal and external URLs for the web services as required.
Lync 2013 FE Topology - 15 Web Services URL

Define the WAC farm we configured earlier.
Lync 2013 FE Topology - 16 Office Web Apps

Review your topology and ensure its correct.
Lync 2013 FE Topology - 17 Overview

Now right click on your site, and select ‘Topology’, then ‘Publish’.
Lync 2013 FE Topology - 18 Choose Publish

Review the requirements to ensure you meet them all, then select next to start the publishing of your initial Lync topology. This will setup the servers configuration based on the server names etc supplied within the topology.
Lync 2013 FE Topology - 19 Publish Wizard

Choose which pool will host the Central Management Store (CMS), in a green field site, such as our lab, it will be this pool.
Lync 2013 FE Topology - 20 Select Central Management Store CMS Pool

We have no CMS currently and our SQL servers have only just been built, so the location for the files needs to be set to automatic or defined if required.
Lync 2013 FE Topology - 21 CMS Location

Review how the databases will now be created.
Lync 2013 FE Topology - 22 Create CMS Databases

A shared and writeable location needs to be defined, that both servers can access and have Read/Write access too. This will be used in the initial build of the mirror databases. You should ensure share and NTFS permissions are set to allow your account and the SQL service account access.
Lync 2013 FE Topology - 23 Create Mirror Databases

Review the settings for the creation of the SQL mirror databases.
Lync 2013 FE Topology - 24 Create Mirror Databases

Sit back for a few minutes and watch your new Lync topology being built.
Lync 2013 FE Topology - 25 Publish Topology

Review the completion summery page for issues. It appears we have 1 area with warning(s), any issues should be worked through and resolved at this stage.
Lync 2013 FE Topology - 26 Publish Topology

Whenever you get a warning or an error, you should click on the ‘View Logs’ link and look through the output. They are nested and very readable, so expand out to the detail and review the log entries. In this case we have a warning which states “Warning: Unable to access share permissions”, then goes on to say “This is expected if you are not an administrator on the file server, or if this is a Distributed File System (DFS) share.” In our case its a DFS share, so all is well.
Lync 2013 FE Topology - 27 Publish Topology Logs

References & Further Reading

Jeff Schertz: Lync Server 2013 Deployment – Part 1

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *