Wednesday, October 14, 2015

Deploy Office Web Apps with Lync Server 2013

Deploy Office Web Apps with Lync Server 2013


1. Lab:

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

2. Add Office Web Apps to Lync:

In Lync Server 2013 Topology Builder, open Shared Components. Right click on Office Web Apps Server - New Office Web Apps Server...


Enter the  Office Web Apps Server name FQDN

Click OK

Open Lync Server 2013 - Standard Edition Front End Servers and click Edit properties...

Check Association pool with an Office Web Apps Server

Select the OWA Server. Click OK

Now we need to publish the topology, right click on the lync site and Publish Topology

3. Testing PowerPoint presentation with lync:

Sign in to a meeting, click on Presentation and choose PowerPoint

Download a PowerPoint File

Voilà! We can share a PowerPoint Presentation with other users in the meeting room



Install and configure Office Web Apps 2013

Install and configure Office Web Apps 2013


1. Lab:

All virtual machines are created on Hyper-v:

  • Virtual Machine 1: Active Directory.
  • Virtual Machine 2: Office Web Apps server 2013.
I use Windows Server 2012 R2 Standard Edition.

2. Prepare Office Web Apps Server:

To begin, open a PowerShell command running as an Administrator and execute the following commands to install the required roles and services for Office Web Apps.

Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices




3. Office Web Apps Installation

Open and run the Office Web Apps setup.exe media to launch the setup wizard.


When Setup finishes installing Office Web Apps Server, choose Close. It's better to reboot the server.

4. Configuring Office Web Apps:

4.1. Configuring Office Web Apps Server Certificate:

This step is importing for Office Web Apps Server.
Open console MMC and add the certificates menu: File - Add or Remove Snap-ins


Select Computer account

Select Local computer

Select Certificates - Add

Go to Personal folder

Right click All Tasks - Advanced  Operations - Create Custom Request

Click Next

Click Next

Select Web Server Template and Next

Click on Properties

In Subject name, choose Common name and enter the Office Web Apps Server name
In Alternative name, choose DNS and enter the Office Web Apps Server name

In General tab, Enter a Friendly name. We will use it in the next configuration step

In Private Key tab, check Make private key exportable

Specify the path to save the request file

Open the request file with Notepad and copy the code inside

Now, open the URL of the Certification server. Click on Request a certificate

Go to Advanced certificate request

Click on Submit a certificate request

Past the request code into the box and choose Web Server template

Download the certificate

Now the certificate is ready, we need to import it into the Office Web Apps Server

In MMC console, right click on personal folder All Tasks - Import...

Select the office web apps certificate

Click Next
 


4.2. Configuring Office Web Apps Server:

On the Office Web Apps server, execute the following PowerShell command to provision the farm:

New-OfficeWebAppsFarm -InternalUrl "https://SRVOFFICEWEBAPP.itgration.internal" -ExternalUrl "https://SRVOFFICEWEBAPP.itgration.internal"  -CertificateName "OfficeWebAppsCert" -AllowHttp

 

You can test the Office Web Apps configuration by navigating to this URL and verifying it displays a Web app Open Platform Interface (WOPI)-discovery XML file:

https://OWA_FQDN/hosting/discovery

In our case: https://SRVOFFICEWEBAPP.itgration.internal/hosting/discovery



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.