programming4us
 
Technology
 

Administration of Microsoft Lync Server 2010 : Troubleshooting (part 1)

8/17/2013 10:53:44 AM

Troubleshooting a Lync Server installation might become necessary in the event that users are unable to sign in or features seem to not work correctly. This section discusses the key components to check when issues arise. Common troubleshooting tools and tips are also provided, which should resolve many issues.

Certificates

Incorrectly issued certificates were a common issue in Office Communications Server deployments, but these issues should mostly be mitigated with the new Lync Server wizards. The option to manually request and modify the certificate still exists, which might lead to some problems.

Follow the following guidelines to rule out any certificate issues:

  • Subject and subject alternative names— Ensure that the required subject name and subject alternative names have been entered for each role. The guidance for each role varies, so verify the names required when deploying a new server. Always use the certificate wizard suggested names if possible. Wildcard certificates are still technically unsupported for most scenarios.

  • Key bit length— The certificate bit length must be 1024, 2048, or 4096 to be supported by Lync Server 2010.

  • Template— The template used to issue the certificate should be based on the web server template. If the Lync Server 2010 certificate wizard is used, the correct template will automatically be applied.

  • Private key— The server certificate must have the private key associated to be used by Lync Server 2010. In situations where certificates are exported or copied between servers, export the private key with the certificate.

  • Certificate chain— The server must be able to verify each certificate up to a Trusted Root Certification Authority. Additionally, because the server is presenting the certificate to clients, it must contain each intermediate certificate in the certificate chain.

  • Certificate store— All certificates used by a server must be located in the Personal section of the local computer certificate store. A common mistake is to place certificates in the Personal section of the user account certificate store.

  • Certificate trust— Be sure the clients and servers communicating with the server all contain a copy of the top-level certificate authority of the chain in their Trusted Root Certification Authority local computer store. When the certification authority is integrated with Active Directory this is generally not an issue, but when using an offline or nonintegrated certificate authority it might be necessary to install root certificates on clients and servers.

DNS Records

Successful operation of Lync servers is heavily dependent on correctly configuring DNS. All necessary DNS records should exist and resolve to the correct locations. Verify that all servers have a host record configured in DNS. Separate web components URLs and simple URLs are not automatically entered and must be manually created by an administrator.

Use the following sample nslookup sequence within a command prompt to check the host record of the pool:

nslookup
set type=a
lyncdirpool1.companyabc.com

A successful query returns a name and IP address. Verify that the IP returned matches the IP addresses assigned to the servers or load balancer and that no extra, or surprise, IP addresses are returned.

To verify the SRV record required for automatic client sign-in internally, the syntax is slightly different. The following is another sample nslookup sequence:

nslookup
set type=srv
_sipinternaltls._tcp.companyabc.com

A successful query returns a priority, weight, port, and server hostname. Verify that the server name matches the pool name and the correct port is returned.

Logs

A good source of information in troubleshooting any server issue are the event logs. Lync Server 2010 creates a dedicated event log for informational activities, warnings, and errors within the standard Windows Server Event Viewer console. To view this event log, use the following steps:

1.
Click Start.

2.
Type eventvwr.msc and click OK to open the Event Viewer Microsoft Management Console.

3.
Expand the Applications and Services Logs folder.

4.
Click the Lync Server log.

5.
Examine the log for warning or error events, which might provide additional insight into any issues.

Lync Server Management Shell

The Lync Server 2010 Management Shell provides several cmdlets, which are used to test various functions of a server. A useful cmdlet for verifying the overall health of a server is Test-CSComputer Server, which verifies that all services are running, the local computer group membership is correctly populated with the necessary Lync Server Active Directory groups, and the required Windows Firewall ports have been opened. The Test-CSComputer cmdlet must run from the local computer and uses the following syntax:

Test-CSComputer –Report "C:\Test-CSComputer Results.xml"

After running the cmdlet, open the generated XML file to view a detailed analysis of each check.

Synthetic Transactions

A new feature in Lync Server 2010 is the introduction of synthetic transactions, which are a set of PowerShell cmdlets used to simulate actions taken by servers or users in the environment. These synthetic transactions enable an administrator to conduct realistic tests against a service. In the case of a Director, the most useful synthetic transaction is the Test-CSRegistration cmdlet, which simulates a user signing in to the specified server.

The Test-CSRegistration cmdlet requires providing a target server, user credential, and SIP address. A registrar port can optionally be included. The user credential parameter’s username and password must be collected by an authentication dialog and saved to a variable as in the following command:

$Credential = Get-Credential "COMPANYABC\tom"

After the credentials are collected, the cmdlet can be run with the user credential variable previously saved.

Test-CSRegistration –TargetFQDN lyncpool1.companyabc.com –UserCredential
 $Credential –UserSipAddress "sip:tom@companyabc.com" –RegistrarPort 5061
–Verbose

Listing 1. Test-CSRegistration Example
TargetFQDN    : lyncpool1.companyabc.com
Result        : Success
Latency       : 00:00:10.9506726
Error         :
Diagnosis     :

As seen in the output, the registration test was successful.

Telnet

Telnet is a simple method of checking whether a specific TCP port is available from a client machine. From a machine that is having trouble contacting a server, use the following steps to verify connectivity to the Registrar service:

1.
Open a command prompt.

2.
Type the following command:

  telnet <Director pool FQDN> 5061

If the window goes blank and only a flashing cursor is seen, it means the connection was successful and the port can be contacted without issue. If the connection fails, an error is returned. Check that the services are running on the Director and that no firewalls are blocking the traffic.

Tip

The Telnet client is not installed by default in Windows Vista, Windows 7, Windows Server 2008, or Windows Server 2008 R2. On a desktop operating system, it must be installed using the Turn Windows Features on or off option found in Programs and Features. On a server operating system, it can be installed through the Features section of Server Manager.

 
Others
 
- 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
- Sharepoint 2013 : Enforce Custom Validation on a List or 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