Chitika

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.