Tuesday, April 28, 2015

How to Install Microsoft Lync Server 2013 Monitoring Role on Standard Edition Front End

In Previous posts we have installed Microsoft Lync Server 2013 Standard Edition Front End on Windows Server 2008 R2
How to Install Microsoft Lync 2013 On Windows Server 2008 R2 (Part-1)

How to Install Microsoft Lync 2013 On Windows Server 2008 R2 (Part-2)

How to Install Microsoft Lync 2013 On Windows Server 2008 R2 (Part-3)

In This step we are going to install monitoring role using SQL server 2008 R2.

Lets Prepare our Lync Server 2013 Front End Standard for Monitoring Role. We need to enable message queuing. Open Server Manager. Click Features and Click Add Features. Check Message Queuing Services - Message Queuing Service and Directory Service Integration. Click Next

Click Install

Click Close.

After Installing Message Queuing services we need to install SQL server 2008 R2. Monitoring Role Require Full SQL server 2008 R2. (SQL Express Will not work)
Mount SQL server 2008 R2 DVD and run Setup.exe

Click New Installation or add features to an existing installation

Click ok,
Enter your license Key and Click Next
Accept License Terms and Click Next
Click Install to Setup Support Files

Click Next

Select SQL Server Feature Installation and Click Next

Following are SQL features we need. Select and Click Next

  • Database Engine Services
  • Reporting Services
  • SQL Server Books Online
  • Management Tools – Basic
  • Management Tools – Complete

Check Named Instance
Named the Instance MONITOR and Click Next

Click Next for Disk Space Requirements Page.
SQL should run as System Account
Click Next

Database Configuration

Install Reporting Service as Native Mode
Click Next | Next | Next | Install
Installation will take some time. Click Close

After Installation test SQL server Reporting Service by running "Reporting Services Configuration Manager" from start menu.

Click Connect.

You will See stop Button, Means its running. Click Exit.

Now We have to associate monitoring store with Front End Pool and Publish Topology.
Open Lync Topology builder, Open Standard Edition Front End then right click and click edit properties.

Next we want to add a Monitoring role to this topology by going to General, scrolling down to and selecting “Monitoring (CDR and QoE metrics)” and then click New. We will type input our Front End as the FQDN (as shown), select “Named Instance” and give it the name “MONITOR” (we will later install a SQL instance with this name) and click OK, Ok.

Now Click Action | Topology | Publish

Publishing Topology is completed.

Now go to start and open the Lync Server Management Shell and run the following command

Install-CsDatabase –LocalDatabases

You may see a warning Message "SQL server Agent Start mode was detected as manual, It must be auto to ensure that jobs are executed" Open Services.msc and change the SQL server Agent Service start mode to automatic. 

Run the Lync Deployment Wizard again and click “Deploy Monitor Reports”

Specify Monitoring Database and click Next

Specify credentials to access monitor SQL database. I am using Domain Admin. Click Next

Specify Read Only Group. Click Next

I have faced Following Error

The Operation has timed out "an error occurred when deploying monitoring reports. for details see the log"
Then I just Re-Run the Wizard and the task has been completed. :)

When the reports will be deployed it will prompt a URL for reports. Copy and paste into Internet Explorer. It will prompt you for Domain Admin Credentials.

We have successfully installed Lync 2013 Monitoring Role
Cheers :)

Next We will Configure Lync Server 2013 Persistent Chat Server.

Tuesday, April 21, 2015

How to Install Microsoft Lync 2013 On Windows Server 2008 R2 (Part-3)

(Previous Posts)
How to Install Microsoft Lync 2013 On Windows Server 2008 R2 (Part-2)
How to Install Microsoft Lync 2013 On Windows Server 2008 R2 (Part-1)

As we have done 2 Steps in (Part-2) till Setup or Remove Lync Server Components

  • Step 3 Request Certs
Click Run for Request, Install or Assign Certificate
Select Default Certificate and Click Request

Click Next

Select Send a request immediately to and online certification authority and click Next

It will detect Automatically the CA in our environment. Click Next

Click Next

Click Next

Assign a friendly name and Select Bit length as 2048 and Check the box “mark the certificate’s private key as exportable“. Click Next.

Organization Information: fill in Org and Org Unit
Geographical Information: fill in

Under Configured SIP domains, select MYDOMAIN.LOCAL. Click Next.

If you have any additional SAN names, you can add it here. Click Next

Click Next

Click Next and Click View Certificate Details. Click Finish

Click Next to Assign Certificate

Review the Certificate assignment Summary and Click Next.
Click finish to assign the certificate. 
Now repeat the Certificate Wizard steps for the OAuthTokenIsuer

Click Run to start the services and click Next

Now we have to verify lync services are running or not. Open Services.msc and verify that all lync Services are running. 

Check for Windows and Lync Updates, Download and Update all.
On The Front End Server Open Lync Control Panel to view and enable lync access to users.

This will ask you for Administrator Credentials. 

Now we have to add and enable Active Directory users for Lync Server. In Lync Server Control Panel Click on users and Then Click on Enable Users. 

Now we will add AD users to Lync. Click Add. 

Now download lync 2013 client which is part of Office 365 ProPlus Preview, you can download it from http://technet.microsoft.com/en-US/evalcenter/hh973391 and install on Client Machines. Try to login. 

User is Logged In to Lync.

That's it for now.  
Cheers :) 

NEXT -->> How to Install Microsoft Lync Server 2013 Monitoring Role on Standard Edition Front End