Complete Lync 2013 Installation Guide including – Pre Reqs, Enterprise Edition Pool, SQL Mirroring and Witness, Archiving/Monitoring, Persistent Chat, Edge Setup and XMPP integration PART 2 of 6

Following on from PART 1, This post will no go into detail about implementing and installing Lync 2013 onto your Frontend servers.

Firstly lets just confirm again that there are a few pre requisites which are required before the fronted services can be implemented. These pre reqs can be found in the part 1 of the guides.

Lync 2013 Frontend Specs

Microsoft recommend the following frontend infrastructure to support Lync 2013

32gb Ram
72gb Disk Space
At the time of writing this will be the minimum requirements and will have the ability to home 6600 users per server


Let move onto the installation.

Navigating back to your start menu again select the ‘Lync Deployment Wizard’


If you have followed part 1 when the deployment wizard opens you should see green ticks as per image below.

Now select ‘Install or Update Lync Server System’


The next step is key, and you should check all the PreReqs for the install are met before select Run

For this lab build i added RTCUniversalServerAdmins to my srv_lync account.,

Once your are happy select ‘Run’


Once you pressed run on the next dialog leave the default radio button pressed for Retrieve directly from the central management store

Select the ‘Next’ Button


On clicking next the wizard will then proceed to install the required modules to home the CMS database locally.

Once you get the dialog saying complete move onto step 2


Click Next to move through the wizard
Ensuring the Step 2 has successfully installed its time to move onto the certificate placements.

Select Step 3 Run


On the below certificate dialog if you have an internal CA then leave as default, else select the bottom option to prepare the request for later.

then select Next


Once you’ve requested your certificates from your CA import and enable them for Lync 2013.


Now lets start the services.


NOTE: For my lab I’ve also added a few users for testing purposes within AD. The Lab machines are using Windows 8 with win8lab1 running Lync2010 and winlab2 running Lync 2013.
If we have all our initial DNS entries correct for the front ends, which we set up for using DNS load balancing and automatic configuration using the service record we created in PART 1 of the PreReqs blog no further  changes are needed to be made to the Lync 2013 client for logging in as it should be automatic.

Onto Part 3 soon

Complete Lync 2013 Installation Guide including – Pre Reqs, Enterprise Edition Pool, SQL Mirroring and Witness, Archiving/Monitoring, Persistent Chat, Edge Setup and XMPP integration PART 1 of 6

This blog post will be made up of several parts covering all the main aspects of a greenfield Lync 2013 installation. The reason for the post is to help others who are not clear on the requirements and installation methods used within Lync 2013 plus also to raise awareness of the new features that are imbedded in the Lync 2013 build.

The blog parts will be made up of the follow posts

Pre Req’s upto Topology Publishing – Part 1

Front-end Installation and Certificate enablement – Part 2

Archiving and Monitoring installation – Part 3

Persistent Chat – Part 4

Edge Setup – Part 5

XMPP integration – Part 6

Please feel free to request additional areas as i would gladly add them to the build guide. Any comments or feedback is also welcome


Server Pre Reqs – Domain Name is northernlync.local

Domain Controller Server

Within my lab DC, I’m running DNS, AD services and my certificate authority. This is a Windows 2008r2 server running 2008r2 Domain and Forest attributes.

DNS Entries

Under my Forward look up zone, i’ve added the following entries for Lync 2013

Lync frontend servers 1 – lync2013fe01.northernlync.local = IP

Lync frontend servers 2- lync2013fe02.northernlync.local = IP

Lync Pool – lyncpool1.northernlync.local = IP & lyncpool1.northernlync.local = IP

Lync SQL Mirroring Server 01 – lync2013SQL01.northernlync.local = IP

Lync SQL Mirroring Server 02 – lync2013SQL02.northernlync.local = IP

Lync SQL Mirroring Witness – lync2013SQL03.northernlync.local = IP

Lync Web Access Server – lync2013wac01.northernlync.local = IP

Lync Persistent Chat Server – lync2013pchat.northernlync.local = IP

Updated DNS Entries I missed off – Thanks Andy for the headsup ! blog @legendarytechy

Lync Contol Panel access – For the purpose of the lab, im simply going to point this to the lync2013fe01.northernlync.local IP

Lyne Meet and Dialin for webaccess again Im simply going to point this to the lync2013fe01.northernlync.local IP

SRV Record


Users and Member Groups

For my installation i always use a recognisable named account to do my installations. In this lab install, i have used the following account throughout the whole process of the installation.

User account

name = srv_lync which is a member of = Domain Admins, Schema Admins, Enterprise Admins (All are required for the AD prep as part of the initial build of Lync 2013)

***Thats it for now for the Lync administrative tasks. At a later point we will need to circle back and add the CSAdministrator permission to src_lync and also users accounts into Active Directory


 Lync Frontend Server preparation.

As with Lync 2010 there are a number of pre reqs required on the actual servers for Lync, e.g.: dotnet3.5 etc. Below is a the installation guide for adding the required roles and features needed for a successful topology publish.

– Note: My Lync 2013 front ends are Windows 2012 running the latest updates. (Note: Lync 2013 requires a operating system of 64bit architecture)

Roles Required List

Your Front-ends will require the following to be installed
Web Server (IIS)

Roles additional 
Web Server (IIS), Role Services, Common Http Features Installed, Static, Default doc ,Https errors, Health and Diagnostics, Http logging, Logging Tools, Tracing, Performance, Static Content Compression ,Dynamics Content, Compression, Security, Request Filtering, Client Cert Mapping Authentication, Windows Authentication, Management Tools, IIS Mgt Console, IIS mgt Scripts and Tools, Application Development, ASP.NET 3.5, ASP.NET 4.5, .NET extensibility 3.5, .NET extensibility 4.5, ISAPI extensions, ISAPI Filters

Message Queuing, Message Queuing Services, Remote Server Administration Tools, Role Administration Tools, AD DS and AD LDS Tools, User Interfaces and Infrastructure, Desktop Experience, Windows Identity Foundation 3.5, .NET Framework 3.5, HTTP Activation, Non-HTTP Activation .NET Framework 4.5 (Should already be installed as part of win2012)

****NOTE: Anyone running the installation against windows 2012 without update will encounter an issue with trying to enable .net3.5 as part of the roles and features install. (At the time of writing there is a bug which doesn’t allow the install direct from the GUI. You have to run the below cmd line to install .net3.5.

dism.exe /online /enable-feature /featurename:NetFX3 /Source:D:\sources\sxs /all

– Source D being your DVD media!

Step 1

Guide to adding the roles required.

Select add new roles and features from the server manager wizard

Add Role1

Select Role-Based or Feature-based installation

Add Role1

Select the defaults of your frontend server in the server pool area of the wizard

Add Role3

As you can see Web Server IIS and .net4.5 is now installed

Add Role4 5

Add Role5

—- Now onto the Features list

Messaging Queue and all the other features listed above.

Add Role5 5

Add Role5 7

Now all our Roles and Features are installed its time to move onto the Lync frontend installation wizard.

Its also worth noting that as part of the SQL mirroring setup you will also require .net3.5 on the SQL servers as well.


Deployment Wizard – Defining your Topology

From the Lync 2013 installation media, navigate to Lync2013\Setup\amd64 then select Setup.exe (NOT Setup2.exe)

you will then be prompted with a screen like below, select the default path and press the install button

Deploy wzd install 5 9







Once this install is completes, then navigate to your start menu where you will find an option called ‘Lync Server Deployment Wizard’.

Select the option.

Deploy wzd install 6

Once the deployment wizard opens up, select the option Install Administrative tools as below screenshot

Deploy wzd install 6 1

You will see nothing happen apart from a green tick appear next to the selected item,

Once you get your green tick as above next to the admin tools, its time to go back to your Start menu again and select ‘Lync Server Topology Builder’

Topology 7

You will now be greeted by a few new dialog boxes for the topology

First dialog select ‘New Topology’

Then select OK

Topology 7 1

Before you start to configure your new topology you have to save the topology. this is incase you make an error and you then have the option to revert back to the previous topology build (you will be prompted to save your topology each time you enter the topology builder)

Name the SaveAs, then select Save

Topology 7 2

On the below screen enter your primary SIP domain name. In my lab case its nothernlync.local, if you are running a split brain domain you can add other SIP domain on the next screen

then select Next

Topology 7 3

Topology 7 4

Once you’ve added your SIP names etc its now time to Define your site details

Give your site a name and description, then select Next

Topology 7 5

And now add location details, then select Next

Topology 7 6

Now we’ve added all the required details for the topology, its now time to start defining details for the frontend topology elements

Leave the tick in the ‘Open Frontend Wizard option and select Finish

Topology 7 complete


Deployment Wizard – Defining your Frontends

Add your Lync 2013 Pool FQDN name into the dialog box.

In this guide i will be building the lab as enterprise edition setup, meaning i can add multiple frontend servers to my pool topology for resilience.

* Note – Enterprise Edition requires a separate SQL server, whereas Standard Edition runs SQL express within its only frontend server build.

** Note – Standard Edition can’t have a multiple servers in the pool BUT can be paired to another Lync 2013 pool for some resilience if required.

Please ensure you select the option which is right for your organisation.

8 definepool 8 1

Add the FQDN’s of your front ends then select add. Once you have finished select the Next button

8 definepool 8 2

Select the features you require. If your unsure, its better to deselect options then go back at a later date and add them as a separate exercise.

For the Lab, I’m going to select Conferencing, Archiving and Monitoring (Archiving and Monitoring as part of 3)

8 definepool 8 3

Also I’m going to Co-locate my mediation server onto the frontend for my lab as i have no requirement for voice apart from the demo purposes.

8 definepool 8 4

Next Dialog relates to Edge enablement. As part of our demo we are not going enable this for the time being as we will jump into edge as Part 5 of this guide.

8 definepool 8 5

Lets now go ahead and add the new information for SQL Store information. (My SQL has three new instances created LyncCore, LyncArcMon, LyncPChat)

Select New

8 definepool 8 6

Now add information for your first SQL server. (if you now doing SQL Mirroring, you will not be prompted for a second SQL server or SQL Witness)

8 definepool 8 7

For SQL Mirroring select New to add your second SQL server information

8 definepool 8 8

8 definepool 8 9

8 definepool 8 9 1

Now before committing your SQL setup information, this is a good chance to double check your details.

8 definepool 9

We need to now add the information for the Lync Share which holds the address book information etc. (You need to have writes to the share for the topology to completed successful)
As part of this lab, i have added the share to the first SQL Server

8 definepool 9 1

Enabling your Web Access Server. If you already have a WAC server in your organisation you don’t need to have a  separate one for Lync 2013, as you can utilise your existing WAC server.
For this lab demo i will add a WAC server for guide purposes.

8 definepool 9 3

8 definepool 9 4

Ok at the next dialog click Finish.


Deployment – Prepare Active Directory

So before we can publish our now defined topology, we need to update the AD Schema, Domain and Forest.
Again from the Lync deployment wizard select ‘Prepare Active Directory’ and then accept the Run options and Next options in order of them becoming  defaults

9 extra define top  AD setup1

9 extra define top  AD setup2

9 extra define top  AD setup4

9 extra define top  AD setup5

At this point select local domain.

9 extra define top  AD setup6

9 extra define top  AD setup9

Once your AD is prep’d, at this stage i like to add the CSadministrator role to my user account src_lync

9 extra define top  AD setup8

9 extra define top  AD setup10


Publishing the Topology

Ok onto the last step of Publishing the topology

select Lync Server from the topology pane on the left as right click and  select Publish topology

10 publish top











For your SQL Mirror you will need to select your file share for holding the mirroring information

10 publish top 5











 Ensure your Topology publishes without Errors. If you do have errors ensure that you resolve all errors and warnings before continuing on.

10 publish top 6


Thats it for Part 1,
You’ve completed your PreReq’s and also added information about your Lync environment plus published your topology.

I will upload ((Front-end installation and Certificate enablement – Part 2)) in the next couple of days


Iain Smith