// // Leave a Comment

[Guide] Step by Step Guide to install Microsoft Lync Server 2010 Enterprise Server


Finally I have completed Enterprise Deployment guide for microsoft Lync. This will help for new Lync users to deploy lync enterprise edition…
Software for Lync Server 2010:-
All server roles of Lync Server 2010 require one of the following operating systems:
  • The 64-bit edition of Windows Server 2008 R2 (Standard, Enterprise or Datacenter).
OR
  • The 64-bit edition of Windows Server 2008 SP2 (Standard, Enterprise, or Datacenter).
  1. Install all pre-requisites:-
Install all below pre-requisites on Lync machine (via Windows PowerShell Modules)
#Import-Module ServerManager
#Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Http-Redirect,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Mgmt-Console,Web-Scripting-Tools –Restart
Above command will install all the features required for Lync (such as IIS, .Net) and reboot the machine.
2. Installation of MS Lync 2010
Extract downloaded Lync ISO file & go to setup->amd64 & run setup.exe
It will check the availability of Microsoft Visual C++ 2008 redistributable on the system. If it’s not installed, it’ll give you option to install the application. Click Yes to install it.
Choose the installation location.
Accept the license agreement and click “ok”.
  1. Topology Builder Installation -
Topology Builder (TB): It is must to install Topology Builder before you can deploy a Lync Server. Topology Builder helps you to define sites and servers in the setup.
Define a topology (xml file gets created).
Topology Builder validates the topology.
Publish the topology after successful validation.
Publishing it puts it into the Communications Server central management store (which is created if it does not already exist).
Click “Install Topology Builder” to install the TB. After installation of TB, it’ll look like following in the deployment wizard.
  1. Preparing Active Directory
To prepare Active Directory Domain Services (AD DS) for your Microsoft Lync Server 2010 deployment, perform below steps:
  • Prep Schema
  • Forest Prep
  • Domain Prep
On deploy wizard main screen, click “Prepare Active Directory” and “Run” the schema prep.
On the Schema Prep wizard, click “Next” and “Finish”. This will extend the Active Directory schema for the use of Microsoft Lync Server 2010. You need to be an enterprise admin to perform this operation.
It’s time for Current forest prep after you are done with schema prep.

From Active Directory Preparation wizard, “Run” the prepare forest operation (Above picture). Click “Finish” when the forest prep is done
After forest prep is successful, run domain prep for all the concerned domains in Active Directory.
Before moving further the domain Administrator account (domain admins) used throughout this process should be added as a member to the domain security groups CsAdministrator and RTCUniversalServerAdmins.
This user account should then logoff and back on to the Windows Server where Lync is being installed to update the security profile.
Create a share for Lync Server:
It will be used during Lync Server 2010 installation. Everyone should have “Read & Execute” permission. Administrators should have “Full Control”.
Share name for this purpose in this article is “Lync”. Which I have created on “edge.company.local” server.
Defining topology with the help of Topology Builder
Open the Topology Builder from Windows start menu.
Provide a name to the topology. E.g, “Pune.tbxml”.
  1. On the Specify additional supported domains page, enter the names of additional domains, if any, and then click Next.
  1. On the Define the first site page, enter a name and a description for the first site, and then click Next.
  1. On the Specify site details page, enter the location information for the site, and then click Next.
Now define Front End Pool,
On the Define the Front End pool FQDN page, enter a fully qualified domain name (FQDN) for the pool you are creating, click Enterprise Edition
Front End Pool, and then click Next.
On the Define the computers in this pool page, enter a computer FQDN for the first Front End Server in the pool, and then click Add. Repeat this step for any additional computers (upto ten) that you want to add to the pool, and then click Next. (in our case its “lync.company.local”) our front end server.


On the Select features page, select the check boxes for the features that you want on this Front End pool
On the Select collocated server roles page, you can choose between collocating the A/V Conferencing service and the Mediation Server on the Front End Server or to deploy one or both as stand-alone servers.Associate server roles with this Front End pool page allows you to define and associate server roles
With the Front End pool
On the Define the SQL store page, do one of the following,
SQl Server name – Chennai.company.local & In my case sql server instance is default.
On the Define the file share page, do one of the following,
File server – edge.company.local
Share name – lync
Specify gateway if applicable. In my case gateway is (192.168.100.110) my asterisk box. I haven’t specified it & finish the setup.
Back at the main Topology Builder window select Edit Properties on the Lync Server 2010 root-level object. Highlight the Simple URLs section and enter the desired Administrative Access URL. (Additional for Phone Access URLs and Meeting URLs are already configured.)
Also highlight the Central Management Server section and select the new Front-End server from the drop-down menu if it is not already selected.

Now publish Lync topology,
By now Backend SQL instance will have databases e.g Lis,rtc ,rtcab, XDS etc. Also, the
Shared folder (i.e. Lync server c:\Lync)
DNS Records:
Create following three hostnames on “company. Local” Domain Controller
Dialin.company.local
Meet. company.local
Admin. company.local
Pool. company.local
All three hostnames should point to the IP Address of the enterprise edition server

Done.
Installation of Microsoft Lync Server 2010 binaries
On the Lync Server 2010 page, next to Step1: Install Local Configuration Store, click Run
On the Local Server Configuration page, ensure that the Retrieve configuration automatically from the Central Management Store option is selected, and then click Next
Run “setup or remove Lync Server components” wizard.
Certificate for Lync Server
You can either user certificates from the internal Certification Authority (CA), or you can get the certificates from the public CA. Since this certificate will be used only for the internal purpose, it makes sense to get the certificate from internal CA.
  1. On the Certificate Wizard page, click Request.
On the Certificate Request page, click next
On the Choose a certificate Authority (CA) page, select the Select a CA from the list detected in your environment option
On the Name and Security Settings page, specify a Friendly Name
On the Subject Name / Subject Alternate Names page, review the subject alternative names that will be added, and then click Next
On the SIP Domain setting page, select the SIP Domain, and then click Next
Reboot the server. And, that’s all as far as installation of Lync Server 2010 is concerned.
Don’t forget to create the corresponding SRV record to enable auto configuration at the clients end
Test Enterprise deployment,
Open Lync Control Panel & click on enable users for Lync Server
Click on Add,
Enter Username & Click on Find,

For user “Santosh” I have enabled Enterprise voice & assigned extension number 2000.
Now open Lync Client & enter user credentials to login to the Lync,