programming4us
 
Technology
 

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

8/17/2013 10:54:58 AM

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
 
Video tutorials
- How To Install Windows 8 On VMware Workstation 9

- How To Install Windows 8

- How To Install Windows Server 2012

- How To Disable Windows 8 Metro UI

- How To Change Account Picture In Windows 8

- How To Unlock Administrator Account in Windows 8

- How To Restart, Log Off And Shutdown Windows 8

- How To Login To Skype Using A Microsoft Account

- How To Enable Aero Glass Effect In Windows 8

- How To Disable Windows Update in Windows 8

- How To Disable Windows 8 Metro UI

- How To Add Widgets To Windows 8 Lock Screen
programming4us programming4us
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
 
Top 10
 
- How To Unlock An Account From Active Directory (Windows Server 2008)
- How To Install A deviantArt Theme In Windows 7
- How To Install Windows Server 2012 On VirtualBox
- How To Fix Skype High CPU And Memory Usage In Windows 8
- Add 270 Additional Cleaning Options To CCleaner With CCEnhancer
- FPPT Provides More Than 2000 Free And Attractive PowerPoint Templates
- Setup Free Media Server To Stream Videos To DLNA Compatible TV, Xbox 360 & PS3 (Play Station 3)
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013