+ All Categories
Transcript
Page 1: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Lync Server 2010 Troubleshooting

Ståle Hansen

Solution Architect @AteaAS

MVP Lync

Page 2: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

About Me

• Been working at Atea Norway since 2006

• Focus - Microsoft Unified Communication

• CoAuthored LyncLab.org with MVP Tommy Clarke

• Blog http://msunified.net

• Twitter @StaleHansen

January 16, 2012 NIC 2012

Page 3: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

January 16, 2012 NIC 2012

#NIC2012 #Lync

Page 4: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Troubleshooting

• Understand the symptoms

• Narrow the scope

• Select appropriate tools

• Collect and analyze data

January 16, 2012 NIC 2012

Page 5: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Understand the symptoms

January 16, 2012 NIC 2012

Page 6: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Understand the symptoms Understand the technology

January 16, 2012 NIC 2012

Page 7: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Understand the symptoms Understand the technology

How does Lync SIP work?

January 16, 2012 NIC 2012

Page 8: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Session Initiated Protocol

• Session Description Protocol (SDP)

• Real-Media Transport Protocol (RTP)

• Real-Media Transport Change Protocol (RTCP)

January 16, 2012 NIC 2012

Page 9: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Content of Invite

• From:………Tag

• To:………Tag

• CallID: • Is always unique, can sort using CallID

• Contact: • Show actual source

• Via: • Every SIP client adds his FQND

• Client, Front End, Edge

9

Page 10: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Symptoms?

• P2P Media connectivity failures

• One way audio

January 16, 2012 NIC 2012

Page 11: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Understand the symptoms Understand the technology

How does Lync Edge work?

January 16, 2012 NIC 2012

Page 12: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Interactive Connectivity Establishment (ICE) Protocol

January 16, 2012 NIC 2012

Page 13: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

RTP in NAT environement

• ICE is the methodology can be used to discover the optimal means of connectivity

• Use TURN as a last resort only

• Preferring other mechanisms

• STUN

• Direct connectivity

13

Page 14: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Why is this interesting?

January 16, 2012 NIC 2012

Page 15: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Two Scenarios:

• You hear a delay before you can establish internal Lync calls

• Users between two subnets can not Lync eachother

January 16, 2012 NIC 2012

Page 16: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Understand the symptoms

Closing note

January 16, 2012 NIC 2012

Page 17: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Troubleshooting

Understand the symptoms

• Narrow the scope

• Select appropriate tools

• Collect and analyze data

January 16, 2012 NIC 2012

Page 18: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Narrow the scope

January 16, 2012 NIC 2012

Page 19: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

19

Failed Calls

Dropped Calls

One Way Audio

Echo Noise Low

Volume Delayed Audio

Broken Up Audio

Distorted Audio

Network Core

Performance

Call Reliability

Audio Quality

Voice Quality Issues

Gateways Devices

Page 20: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Lync Phone Edition

x24

IP

Lync Client Meeting Client

Lync Lync

Mediation Server

PSTN

PBX/ PSTN

UC Gateway

Lync Edge

Internet

Page 21: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Know when you have a Windows Server problem

• Event Viewer

• Secruity logs

• Process Monitor

• Task Manager

• Resource Monitor

• Performance Monitor

• NetStat

21

Page 22: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Troubleshooting

Understand the symptoms

Narrow the scope

• Select appropriate tools

• Collect and analyze data

January 16, 2012 NIC 2012

Page 23: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Select appropriate tools

January 16, 2012 NIC 2012

Page 24: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Lync Phone

IP

Lync Client Lync Meeting Client

Lync Lync

Mediation Server

PSTN

PBX/ PSTN

UC Gateway

Lync Edge

Internet

A/V Tuning wizard

Audio Test Service

Logs

Logging Tool

RouteHelper

Synthetic Transactions

SCOM

Snooper

(QoE) Monitoring Server

Page 25: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Don’t forget the Lync Server Best Practices Analyser

January 16, 2012 NIC 2012

Page 26: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Troubleshooting

Understand the symptoms

Narrow the scope

Select appropriate tools

• Collect and analyze data

January 16, 2012 NIC 2012

Page 27: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Collect and analyze data

January 16, 2012 NIC 2012

Page 28: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Snooper

• Part of the Lync Server Resource Kit tools

• Shows sip messages from Lync 2010 debug logs captured with Lync Logging Tool

28

Page 29: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Log PowerShell activity

29

Page 30: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Synthetic Transactions

• Simulates end-to-end transactions as if performed by actual users

• Get available test cmdlets • Get-Command Test-Cs* | Format-Table –Property Name,Definition

–Auto

• Some test cmdlets needs users with credentials • Use New-CsHealthMonitoringConfiguration to store test users for a

spesific pool • New-CsHealthMonitoringConfiguration –Identity -TargetFqdn pool01.lynclab.org –FirstTestUserSipUri "sip:[email protected]" -SecondTestUserSipUri "sip:[email protected]"

• Then you only need to specify TargetFqdn when running the cmdlets • Test-CsPresence -TargetFqdn pool01.lynclab.org

30

Page 31: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Tool – Topology Validator

Purpose – Provides Administrators a way to

Provide a quick check on the state of the Environment.

Location – Lync Resource Kit Tools

Page 32: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Tool – Topology Validator

Purpose – Provides Administrators a way to

Provide a quick check on the state of the Environment.

Location – Lync Resource Kit Tools

Page 33: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Troubleshooting

Understand the symptoms

Narrow the scope

Select appropriate tools

Collect and analyze data

January 16, 2012 NIC 2012

Page 34: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Test one configuration modification at a time

January 16, 2012 NIC 2012

Page 35: Lync Server 2010 Troubleshooting - Ståle Hansen · Lync Server 2010 Troubleshooting ... Lync Phone IP Lync Lync ... Lync Mediation Server PSTN PBX/ PSTN UC Gateway Lync Edge Internet

Questions?

January 16, 2012 NIC 2012


Top Related