Step by Step Installing Lync Server 2013 Standard Edition Front End on Windows 2012 – Part 1

Below are the step by step instructions to install Lync Server 2013 Standard Edition Front End on Windows Server 2012. Here is an outline of what we will do:

  1. Prepare Servers
  2. Install Lync Server 2013
  3. Prepare Active Directory
  4. Prepare First Server
  5. Configure DNS
  6. Build Topology
  7. Install Lync Server System
  8. Add & Enable AD Users
  9. Login to Lync 2013

Prepare Environment

Some prerequisites for you Lync system:

  • You will need 1 AD Server O/S and 1 Lync Server O/S
    • Lync requires 64bit O/S
  • This guide is Using Windows Server 2012 64bit
    • but Windows Server 2008 R2 SP1 should work fine as well.
  • Make Sure you have the below role running on your AD Server
    • AD-DS (Directory Services)
    • DNS
    • AD-CS (Certificate Authority)

 

tip1 Tip: I suggest 2GB and 40GB hard drive for AD server and 4GB and 80GB for Lync Front End server for some quick guidance for a lab system.

 

Prepare Your Front End Server

  • Server Requirements
    • Front End server must be joined to domain
    • FE must have UI installed
  • Install Silverlight (will save time later)
  • Front End Must have these Features
    • Roles
      • Web Server (IIS)
    • Features
      • 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 Features
        • .NET Framework 3.5
        • HTTP Activation (Important!)
        • Non-HTTP Activation
      • .NET Framework 4.5 (all options)
    • Roles
      • 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

Install using Windows Server 2012 “Add Roles and Features Wizard”

FE-Install-Features-Roles-RoleServices

Reboot Front End and login as Domain Administrator.

tip1 Tip: You can also install these prerequisites using Powershell scripts:
http://www.ehloworld.com/1697
http://y0av.wordpress.com/2012/07/31/lync-2013-prerequisites/

 

Install Lync Server 2013

Insert CD and Run Setup.exe. You will be prompted to install Visual C++, click “Yes” (below)

install-c

You can accept default location and click Install (below)

install-core

Accept Terms and click “Ok” to install.

license agreement

When install is complete (3minute wait time) you will have below apps on your server and the Lync Server Deployment Wizard (below) will appear.

apps after initial install

  • Lync Server Manager
  • Lync Server Deployment Wizard
  • Lync Server Logging (Note: Logging tool is missing from Lync 2013 Preview)

 

Caution Note: Microsoft Lync Server 2013 has a new centralized logging mechanism. This is the reason for the logging tool not being installed with Lync Server 2013 Preview. Jens Trier Rassmussen has a complete article on this subject athttp://bit.ly/S3DL4Q. Also, Randy Wintle has written a Powershell UI for this new central logging at http://bit.ly/Pbbp8v.

deployment-wizard

 

Prepare Active Directory

Click “Prepare Active Directory”. (As noted in prerequisites, you will need AD DS and AD LDS Tools Feature installed on your Front End to complete this step.)

deploy wizard prepare ad

  • Step 1: Prepare Schema. (takes 1minute, and you may need to wait a couple minutes before this and step 2)
  • Step 2: Verify Replication of Schema is not necessary if this is a Lab and there is only one AD server—you can safely keep moving to step 3.
  • Step 3: Prepare Forest | Next | select Local Domain  | Next (5sec)
  • Step 4: just keep moving
  • Step 5: Prepare Domain | Next (5sec)
  • Step 6: just keep moving
  • Step 7 below

prepare ad

 

Add Lync Administrative User To Admin Group

Add the Administrator to CSAdministrator  group (shownbelow)

  • CSAdministrator

NOTE: the user running setup needs to be Administrator of the Lync FE local machine.

add-lyncadmin-to-these-groups

Prepare First Standard Edition Server

Now lets go back to the Deployment Wizard and click “Prepare first Standard Edition server”.

deployment-wizard-prepare-first-server

You will see the below “Prepare single Standard Edition Server” wizard window and you can just click “Next”. During this process the below will be installed:

  • SQL Server 2008 Express Edition will be installed
  • RTC databases will be created and populated
  • Lync Server installation files will be put in place
  • Etc

(Note: as noted in prereqs, Windows Identity Foundation 3.5 must be installed for this process to complete successfully)

Prepare-first-standard-edition-server

(Time: on new AD with no users, 6-10 minutes to Prepare first Server)

Configure DNS Records

Lets open DNS Manager on AD server. Right click on your domain (in our case lab.local) under Forward Lookup Zones, click “Other New Records…” and scroll down to “Service Location (SRV)” and click Create Record.

dns step one

Will will add a DNS SRV record pointing at our Lync FE Server FQDN (FE01.lab.local in our case)

  • Service = _sipinternaltls
  • Protocol = _tcp
  • Port number = 5061
  • Host Offering the service =  fqdn of Lync Std. FE server or Pool. (In our case FE01.lab.local)

DNS-srv-record

Note: a DNS A record should already be pointing to Lync Front End Server (FE01.lab.local)

We will also create 3 DNS A Records. Right click, “New Host (A or AAAA)…” Add a DNS A record for

  • meet
  • dialin
  • admin

as shown below

DNS-A-record

Repeat this for meet and admin DNS A Records.

Now lets go back to the Deployment Wizard and click “Install Administrative Tools”.

Deployment Wizard - Install Admin Tools

This takes just a second to run.

Build and Publish Topology

Next we will go to Start and run “Lync Server Topology Builder” (below).

start-topology-builder

Select New Topology (as shown below) and then give the topology some name (just any old name like “mylab.tbxml”)

new-topology

Now we will be define this topology.

Primary SIP domain: lab.local | Next

Create-a-new-topology-PRIMARY-DOMAIN

  • Specify additional supported domains: {nothing/none} | Next

create new topology-specify additional supported domains

  • Define the First site
    • Name: LabSite1
    • Description: Lab Site (not important, just something)

create new topology-define the first site

  • Specify site details
    • City
    • State
    • Country

Click “Finish”

topology-defined

Next we will define a new Front End pool. click Next

define new pool

Define Front End Pool

  • FQDN: FE01.lab.local
    • Note: if this is a Standard Edition, this FQDN will be exactly the same FQDN as your FE server  (FE01.lab.local in our case)
  • Standard Edition Server

define-front-end-pool-fqdn

Next we will select Features for this Front End Pool

Check these features:

  • Conferencing
  • Enterprise Voice
  • CAC

 

tip1 Tip: What works best for me is to NOT define ARCHIIVE and MONITOR servers till you are ready to actually install them. I suggest to NOT select Archiving and Monitoring now. We will do that after we have actually installed the SQL server and are ready to define those roles in topology builder.

define new front end pool select features

 

  • Select Collocated server roles
    • collocate Mediation Server: check

collocated roles

  • Associate server roles with this front End pool
    • Enable an Edge pool…: unchecked

Define SQL store

define new pool-define the SQL Server store

Define the file store: default, next (NOTE: You will need to manually create this network share and give rights to everyone. This wizard will not automatically create it for you)

file share

Let create the Lync file store share right now so we don’t forget.  You can create this folder where ever you want but for this lab we will create a folder called “Share” in C:\ of the Lync Server. Next go into the properties of the folder and give full access permissions to these groups:

  • RTCHS Universal Services
  • RTC Component Universal Services
  • RTC Universal Server Admins
  • RTC Universal Config Replicator

Click on the “Sharing” tab, click on “Share”.

share

In the “File Sharing” Wizard click the dropdown beside “Add” and select “Find People…” and in “Enter the object names to select” type RTC. Now press the CTRL key and select the above groups. Next you will need to change each group to “Read/Write” and click “Share” to finish the sharing Wizard.

share2

Specify the web services URL: Since this is a lab we can let the External Base URL the default.

define new pool-specify the web services URL

Specify where your Office Web App server is. (you probably don’t have one yet, just point to OWA.lab.local)

define owa

Now you are finished with the wizard.

topology

Edit properties of topology

Right click on “Lync Server 2013 (Preview) and then “Edit Properties”

topology-edit-properties

Scroll down to “Administrative access URL” (as shown below) and define the admin url ashttps://admin.lab.local and select Front End Server (FE01.lab.local in our lab)

edit-properties-off-topology-2

 

Publish Topology

Action | Publish | Next | Next

topology-publishing-wizard-complete

When finished you can “Click Here to open to-do list”. Since we are really good Winking smile we’ve already done these items. (if you took a shortcut, backup to see detailed step above)

Next-steps-after-topology-published

Install Lync Server System

Deployment Wizard | Install or Update Lync Server System

deployment-wizard-instll or update lync server system

Now we will install some Lync Server System components, put Certs in place and Start Services:

  1. Step1 Install RtcLocal database
  2. Step2 Install Speechfiles, etc.
  3. Setup Certs
  4. Start Lync Services

install or update lync server system

 

  • Step1 Install Local Configuration Store (will install RtcLocal)
    • Run
    • Retrieve Directly from the CMS…
    • Next (5 minutes on new lab system)
  • Step2 Setup Lync Server components (will install Speechfiles, etc)
    • Run |
    • Next (15 minutes on new lab systems)
    • (NOTE: if you designated the archive/monitoring server, this will fail because SQL for those stores is not there yet.)
  • Step3 Request Certs (Note: if this is a lab setup, and you have parallel installed AD and Lync FE OS’s, remember the FE needs to have “gpudate /force” run or be rebooted after you stand up the AD CA so the CA is authoritative)

Run, select “Default Certificate” then click “Request”

cert wizard

Certificate Request: Next

Delayed or Immediate Request? Send the request immediately to an online cert authority

Choose a Certificate Authority (CA): Select a CA from the list

select a ca

Certification Authority Account: Next

Specify Alternative Certificate Template: Next

Name and Security Settings: some name

name and security settings

Organization Information: fill in Org and Org Unit

Geographical Information: fill in

Subject Name/Subject Alternative Names: Next

SIP Domain Setting on SAN: Select SIP Domain (example: lab.local) | Next

fe-cert-sip-domain-name

Configure Additional SAN: Next

Certificate Request Summary: Next

Executing Commands: Completed: Next

Online Certificate Request Status: Finish

Certificate Assignment: Next

Certificate Assignment Summary: Next

Executing Commands: Finish

Select “Default certificate” and click Assign certs

assing-certs

Now repeat the Certificate Wizard steps for the OAuthTokenIsuer.

Step 4: Start Services

After services are started you can open the Services to verify all the Lync Services are running.

lync services running

Goto Start | run Lync Control Panel

start-lync-control-panel

you will be asked to type in Administrator credentials. If this is new server you will also be asked to install Silverlight.

lscp

 

Add and Enable AD Users

Next, we will move to our AD server and add several users to Active Directory (I suggest for your first test users to NOT use the Administrator, but 3 other users). In our case I added:

Now back to Lync Server Control Panel. Click on User | Enable Users. Now click the “Add” button and Add the 3 users.

enable ad users

Click “Enable” and if you get no errors, you should have 3 Lync users ready to login. Let’s open Lync 2013 and login!

lync2013

Wow you have installed Lync Server 2013!

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s