IT tutorials
 
Technology
 

Administration of Microsoft Lync Server 2010 : Troubleshooting (part 2) - Lync Server Logging Tool

8/17/2013 10:54:58 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Time

A key component of any service running successfully in Lync Server 2010 is the computer time. Verify that the clocks on the Lync Server 2010 servers are correctly set and have the appropriate time zones configured. If the clocks between a server and client are off by more than five minutes, authentication will begin to fail, which might prevent users from logging on successfully.

Services

Basic troubleshooting always begins with making sure the Lync Server services are all running. When services are in a stopped state, users will see many issues such as being unable to sign in or connect to the server. Verify that the following services are configured to start automatically and are running. Verification of the services can be done either through the traditional Services MMC or through the Lync Server Management Shell.

To verify the services are running, open the Lync Server Management Shell and run the Get-CsWindowsService cmdlet. This cmdlet returns both the service status and how many active connections exist, which can be valuable information when draining a server for maintenance.

PS C:\> Get-CsWindowsService
Status Name             Activity Level
Running MASTER
Running REPLICA
Running RTCSRV          Incoming requests per second=0
Running RTCCAA          Concurrent Calls=0
Running RTCCAS          Concurrent Conferences=0
Running RTCRGS          Current Active Calls=0
Running RTCPDAUTH
Running RTCPDPCORE      Active Client Connections=0
Running RTCCPS          Total Parked Calls=0
Running RTCATS          Current Active Calls=0
Running RTCIMMCU        Active Conferences=0
Running RTCDATAMCU      Active Conferences=0
Running RTCAVMCU        Number of Conferences=0
Running RTCASMCU        Active Conferences=0
Running RTCMEDSRV       Current Outbound Calls=0
Running RTCMEETINGMCU   Active Conferences=0
Running FTA

The following command quickly identifies nonrunning services by skipping the activity check:

Get-CsWindowsService –ExcludeActivityLevel | Where-Object {$_.Status –ne "Running"}


					  

Lync Server Logging Tool

When all else fails and the problem cannot be diagnosed, perform a diagnostic trace of the server traffic. Included with the installation of any Lync Server role is the Lync Server Logging Tool. This application can be found within the Start menu under the Microsoft Lync Server 2010 program group. This tool is valuable when troubleshooting Lync Server problems because it provides insight into what is happening at the protocol level.

The most common type of tracing done with this tool is to capture the SIP traffic between servers or clients to determine a potential problem. Other traditional types of tracing tools, such as Wireshark, are unable to analyze the Lync Server SIP traffic because it is encrypted using TLS security. When running the logging tool locally on a server, it is able to decrypt the TLS security so that all the SIP messaging becomes readable. Running the Lync Server Logging Tool does not disrupt the server traffic and can be done while users are actively using the system.

To get started, open the Lync Server Logging Tool (see Figure 1).

Figure 1. Lync Server Logging Tool

To capture the SIP traffic, perform the following steps:

1.
Check the box labeled SIP Stack.

2.
Click Start Logging.

3.
Reproduce the issue that is driving the troubleshooting.

4.
Click Stop Logging when the issue has been experienced again.

At this point, an administrator has two options. The first is to click View Log Files to display the logs in text format. This can be difficult to read and troubleshoot because SIP conversations include many lines. For a better experience, first install the Lync Server 2010 Resource Kit Tools. The Snooper tool provides a much cleaner view of a SIP conversation.

1.
After the Resource Kit Tools are installed, click the Analyze Log Files button.

2.
Verify that the SIP Stack is still selected and click Analyze.

3.
Snooper should open automatically and display the conversation. Click the Messages tab to view the SIP conversation.

A message-by-message view of the conversation is located on the left side. Clicking any of the lines change the view in the right-side pane to display the entire SIP message selected. Error messages are highlighted in red for easy identification. A search bar, where keywords such as a username or phone number are entered, is located at the top of the window. After entering a search string and pressing Enter, the view is filtered to only display messages with that string. This kind of filtering can be useful when searching for problems with a single user because it removes all the other traffic through the server.

Figure 2 displays a sample SIP trace using the Snooper tool.

Figure 2. Snooper SIP Trace

Note

The example traces a SIP conversation, but the Lync Server Logging Tool is capable of tracing every component of the product. When opening the tool, all the different components are displayed and can be selected. Many of the names are tough to decipher, and most only need to be traced when requested by a Microsoft support professional. In many cases, tracing the SIP Stack determines the main issue.

 
Others
 
- Administration of Microsoft Lync Server 2010 : Troubleshooting (part 1)
- Administration of Microsoft Lync Server 2010 : Configuring Quality of Service
- Administration of Microsoft Lync Server 2010 : Management Tasks
- Windows 8 : Maintaining Data Access and Availability - Managing Offline Files (part 3) - Configuring Disk Usage Limits for Offline Files
- Windows 8 : Maintaining Data Access and Availability - Managing Offline Files (part 2) - Managing Offline File Synchronization
- Windows 8 : Maintaining Data Access and Availability - Managing Offline Files (part 1) - Making Files or Folders Available Offline
- Windows 8 : Maintaining Data Access and Availability - Configuring File Explorer Options
- Sharepoint 2013 : Rename a List or Document Library or Change Its Description, Change the Versioning Settings for a List or Document Library
- Sharepoint 2013 : Branching in Surveys
- Sharepoint 2013 : Change or Remove a Column in a List or Document Library, Change the Order of Columns in a List or Document Library
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us