Step-By-Step: Deploying Lync Server 2013 Monitoring


Recently, significant changes have come to the Microsoft Lync Server 2013 surveillance infrastructure. Starting with the removal of the monitoring server role that is directly integrate on the frontends.

Lync Server 2013 allows you to monitor two different types of data: the data for registration of the details of the calls (CDR) and quality of experience (QoE) data.

In Microsoft Lync Server 2013, monitoring is used to collect usage information and data quality of experience (QoE) on communication sessions in which your users are involved.

 

A session is a generic term that covers the connection of a user to:

  • A conference
  • A modality of conference (such as the audio/video or application sharing)
  • Another user via a conversation of equals (such as instant messaging or an audio call).

The Reporting SQL Server service must be installed on the new servers SQL Server 2012 for use by the Monitoring Lync services.

Based on the model user Lync, the CDR database to a growth of 31.5 KB per user per day, and the QoE database to a growth of 28 KB per user and per day.

The following sizing formula can be used to calculate the space occupied by these databases:

Database size = (growth of the DB per user and per day) * (number of total users) * (number of days).

Example for 1000 users:
 

  • DB size = (59.5) * (1000) * (60) = 35 700 000 KB.

The duration of retention of the information in the database is by default of 60 days, but this is modifiable in the admin console.

During a communication session, all of the clients collect and transmit information about the quality. The server collect this information as well as the details of the calls and store them in the monitoring server database.
 

Lync_Monitor_1_thumb

It is necessary to rely on a SQL Server with the Reporting service installed to host the databases for the monitoring service, and view reports. Microsoft Lync Server 2013 supports the following databases as the main store of data analysis
 

  • Microsoft SQL Server 2008 R2 Enterprise Edition
  • Microsoft SQL Server 2008 R2 Standard Edition
  • Microsoft SQL Server 2012 Enterprise Edition
  • Microsoft SQL Server 2012 Standard Edition

During the installation process, the following two databases are automatically installed:
 

  • LcsCDR : Call Detail Records
  • QoEMetrics : Quality of Experience Data

The collection of the CDR process is as follows:
 

  • The front-end servers servers relay all the SIP flows;
  • The agents evaluate the following SIP messages:These data are then sent to the LcsCDR database for the collection;
    • Records
    • Response codes
    • Diagnostic codes
    • Conferences events

The QoE collection process is as follows:
 

  • All of the customers collection data QoE (Quality of Experience);
  • At the end of session, each client shall transmit these QoE information;
  • The session information are centralized in the QoEMetrics database;

The article will be broken down into 4 stages: 

  1. Reporting service on the SQL 2008R2 server configuration
  2. The SQL Server with Lync pool Association
  3. Installation of surveillance reports
  4. Configuration of the monitoring service
     

Step 1: Reporting service on the SQL 2008R2 server configuration

The reporting service configuration is done via the Reporting Services Configuration Manager
 

  1. Log on to the server/instance that has the reporting service: 
     

    Microsoft_Lync_Monitor_2_thumb

     
  2. Start the service if necessary:
     
    Microsoft_Lync_Monitor_3_thumb

     
  3. Set the desired service account:
     
    Microsoft_Lync_Monitor_4_thumb

     
  4. Define the name of the desired virtual directory and select Apply:
     
    Microsoft_Lync_Monitor_5_thumb

     
  5. Create a new database:

     
    Microsoft_Lync_Monitor_6_thumb

     
    Microsoft_Lync_Monitor_7_thumb

     
    Microsoft_Lync_Monitor_8_thumb

     
    Microsoft_Lync_Monitor_9_thumb

     
    Microsoft_Lync_Monitor_10_thumb

     
    Microsoft_Lync_Monitor_11_thumb

     
    Microsoft_Lync_Monitor_12_thumb

     

  6. Set the URL to access the Report Manager and select Apply
     
    Microsoft_Lync_Monitor_13_thumb
     
    Microsoft_Lync_Monitor_14_thumb
     
    Microsoft_Lync_Monitor_15_thumb
     

Step 2: Associate the SQL monitoring with the pool store

  1. Select the pool on which want you to enable monitoring

     
    Microsoft_Lync_Monitor_16_thumb

     

  2. Right click on the pool and select properties, add the name and instance of your SQL Reporting Server

     
    Microsoft_Lync_Monitor_17_thumb

     

  3. Click ok to confirm, you can now validate the associations to pool information:
     

    Microsoft_Lync_Monitor_18_thumb
     

  • It's time to publish the topology, right-click Publish, select the advanced option before to do following:

     
    Microsoft_Lync_Monitor_19_thumb
     

  • Use the default values of the time SQL Server for the creation of databases and do ok:
     

    Microsoft_Lync_Monitor_20_thumb
     

  • The topology and the creation of databases is underway:
     
    Microsoft_Lync_Monitor_21_thumb
     
    Microsoft_Lync_Monitor_22_thumb
     

  • Click to open the list of tasks:
     
    Microsoft_Lync_Monitor_23_thumb
     

Step 3: Installation of surveillance reports

You can install the reports of surveillance from the wizard to install Microsoft Lync Server 2013.
 

  1. In the deployment wizard interface, select Deploy Surveillance Reports

     
    Microsoft_Lync_Monitor_24_thumb
     

  2. Select the SQL server and Reporting Services instance:
     
    Microsoft_Lync_Monitor_25_thumb
     

  • Specify the used account that will have permissions to SSRSS:
     
    Microsoft_Lync_Monitor_26_thumb
     

  • Specify a group that may have access to the monitoring reports:
     
    Microsoft_Lync_Monitor_27_thumb
     

  • Once completed, the following monitoring reports will be published:
     
    Microsoft_Lync_Monitor_28_thumb
     

Step 4: Configuration of the role and the parameters of records

You can enable logging of the details of the calls and data from the quality of the experience directly at the level of the control panel Lync or in PowerShell.

From within the Control Panel:
 

  1. Navigate to the tab entitled Recording of the details of the calls, enable the options and specify the retention time of the desired information

     
    Microsoft_Lync_Monitor_29_thumb
     

  2. In the Quality of experience data tab, enable the options and specify the time of conservation of data.

     
    Microsoft_Lync_Monitor_30_thumb
     

  3. Via PowerShell:

    – Enable the activation of the call detail recording.

    Set-CsCdrConfiguration -EnableCDR $true -EnablePurging $true -KeepCallDetailForDays 80 -KeepErrorReportForDays 60

    – Verification:
     
    Get-CsCdrConfiguration
     
    Microsoft_Lync_Monitor_31_thumb
     

    – Enable the activation of the quality of the experience database

    .

    Set-CsQoEConfiguration -EnableQoE $true

    – Verification :
     
    Get-CsQoEConfiguration
     
    Microsoft_Lync_Monitor_32_thumb

Comments (0)

Skip to main content