Wednesday, October 14, 2015

Install and configure Lync server 2013 standard

Install and configure Lync server 2013 standard



1. Lab:

All virtual machines are created on Hyper-v:
  • Virtual Machine 1: Active Directory.
  • Virtual Machine 2: Lync server 2013
I use Windows Server 2012 R2 Standard Edition.

2. Prepare Lync Server 2013:

2.1. Hardware and Software Requirements:

Lync Server 2013 server roles and computers running Lync Server administrative tools require 64-bit hardware.
https://technet.microsoft.com/en-us/library/gg398835%28v=ocs.15%29.aspx

2.2. Installation account:

Creating on Active Directory a lync account for installation and configuration (Lyncadmin). The account must be an administrator on the server. We need to add the account to Enterprise Admins group and Schema Admins group on Active Directory.


2.3. Installation prerequisites:

In order to install Lync Server 2013, you will need some prerequisites in-place first:

Open PowerShell as an Administrator and run the following cmdlet:
 
Add-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, Telnet-Client, BITS, Desktop-Experience, Windows-Identity-Foundation -Source D:\sources\sxs




We need to reboot the server.

3. Installation Lync Server 2013:

Launch lync setup





4. Deployment Lync Server 2013:

On Lync Server Deployment Wizard and it will determine your deployment state.  When finished, click Prepare Active Directory


Click Run to prepare Schema on the active directory

Enter the domain FQDN

 Next step, click on Run to prepare current domain

back to the Deployment Wizard’s main screen and click Prepare first Standard Edition server.  Feel free to click “Next” through the process.

back to the Deployment Wizard, click on Install Administrative Tools.

Open DNS Manager on your Active Directory server and right-click on your domain, select Other New Records


Select Service Location (SRV)

Create Record:

  • Service:  _sipinternaltls
  • Protocol:  _tcp
  • Priority:  0
  • Weight:  0
  • Port number:  5061
  • Host: Lync server name FQDN

Next, we will create 3 additional A records.  Each one points to your Lync server.
Open DNS Manager on your Active Directory server and right-click on your domain, select New Host (A or AAAA)...
  • meet
  • dialin
  • admin 


Now, we are going to create a share folder "Share". We can create on local disk C: or another server must be on the domain.




Go to properties of the folder and give full access to these groups: 
  • RTCHS Universal Services
  • RTC Component Universal Services
  • RTC Universal Server Admins
  • RTC Universal Config Replicator

5. Publishing Lync Server 2013:

On Topology builder, select New Topology.  We will now begin defining our Lync Topology.

Save the new topology

Define the primary domain

Give a name for the lync site

Define the New Front End pool.  Since this is a Standard Installation, the FQDN will be the same as the Front-End server.  Select “Standard Edition.”

We will select the feature to associate with our Front-End pool:

  • Conferencing
  • Enterprise Voice
  • CAC (Call Admission Control)

Define your SQL Server store by accepting defaults

Define the file store.

Specify the external URL

We are going to leave the association of the office web apps server pool later

Right click on site and Edit Properties

Select the front end server to the central management server

Right click on the lync site and Publish Topology

6. Install Lync Server components:

On Lync Server 2013 - Deployment Wizard, click Install or Update Lync Server System

Click Run Step 1: Install Local Configuration Store

Back to Install or Update Lync Server System, click Run Step 2: Setup or Remove Lync Server Components

Back again to Install or Update Lync Server System, click Run Step 3: Requist, Install or Assign Certificates

This step required to send request Immediately to an online CA, in our case we will send it to Active Directory Certification Server. You need to install the certification server before running this step.

Click on Run

Default Certificate - Request

Select Send the requist immediately to an online certification authority

Select your CA via the drop down menu.  Click “Next”

Give a name for the certificate and check Make the certification's private key as exportable

Check the box for SIP Domain settings on Subject Alternative Names, click Next

Assign the Certificate to the Lync Server certificate usages

Now repeat the above steps for OAuthTokenIssuer.

Now we need to start all Lync Server Services. Install or Update Lync Server System, click Run Step 4: Start Services

Now all Lync Server Services are running

7. Lync Server 2013 Administration:

Before going to Lync Server Control Panel, we need to add the lync account to CSAdministrator group
In Active Directory, search for CSAdministrator group


Log off and login again with lync account

Open Lync Server Control Panel






We need to install SilverLight



We already have Domain Users in your Active Directory, click on Users –> Enable users 

Click Add

Search for the user

Assign the user to the pool.  Select which way you want the user’s SIP URI generated.  I selected Use the following format: <FirstName.LastName>@Domain and click Enable

8. Connecting to Lync Server:

Open Internet explorer with the user lync account, URL: https://dialin.domain

Sign in

Copy the meeting URL and open it in another IE window

No, the user is connecting, he can send the URL to others users so they sign in to the same meeting room.



No comments:

Post a Comment