Exchange Troubleshooting and Reporting Basics

Download Report

Transcript Exchange Troubleshooting and Reporting Basics

November 2 nd 2012

Chalk & Talk Online Exchange Troubleshooting and Rporting basics (tools and how-to)

Mihai Bobu Support Engineer Microsoft France

Content

Objective:  Know tools to troubleshoot and provide reporting and how to use them with Exchange What you will find:      General presentation When to use what Tools and techniques for different kind of issues Practical examples Q&A

4

5

6

7

8

9

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

10

ISSUE:

TROUBLESHOOTING:

11

TROUBLESHOOTING:

12

TROUBLESHOOTING:

13

TROUBLESHOOTING:

14

SOLUTION:

15

ISSUE:

16

TROUBLESHOOTING:

17

SOLUTION:

18

20

21

22

Microsoft.Exchange.RpcClientAccess.Service.exe.config

23

24

25

UserA UserA 26

UserA 27 UserA

28

29

ISSUE:

30

TROUBLESHOOTING:

31

TROUBLESHOOTING:

400 400 RequestLength 32

EXPLANATION: RESOLUTION:

http://support.microsoft.com/kb/2491354 http://support.microsoft.com/kb/2020943 33

ISSUE:

34

TROUBLESHOOTING:

 403.4

35 80 403 4 443

EXPLANATION: SOLUTION:

36

ISSUE:

37

TROUBLESHOOTING:

38

TROUBLESHOOTING: EXPLANATION:

39

ISSUE:

40

TROUBLESHOOTING:

41

EXPLANATION: SOLUTION:

42

ISSUE:

43

TROUBLESHOOTING:

44

ANALYSIS:

45

ANALYSIS: Error:HttpLayerFailure

46

ANALYSIS:

Connection_Dropped MSExchangeSyncAppPool 47

SOLUTION:

48

ISSUE:

49

TROUBLESHOOTING:

http://blogs.technet.com/b/exchange/archive/2012/01/31/a script-to-troubleshoot-issues-with-exchange-activesync.aspx

50

TROUBLESHOOTING: SOLUTION:

51

http://blogs.technet.com/b/exchange/archive/2012/01/31/a script-to-troubleshoot-issues-with-exchange-activesync.aspx

52

http://blogs.technet.com/b/exchange/archive/2012/0 3/07/introducing-log-parser-studio.aspx

53

54

Transport Troubleshooting

56

57

58

M

59

Get-ExchangeServer | where {$_.isHubTransportServer -eq $true -or $_.isMailboxServer -eq $true} | Get-MessageTrackingLog -MessageId “id”…

60

61

62

63

64

cscript ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking\MSGTRKxx.LOG" 1 all cscript ProcessTrackingLog.vbs "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking" 0 all yesterday http://blogs.technet.com/b/exchange/archive/2011/10/21/updated-process-tracking-log-ptl-tool-for-use-with-exchange-2007-and-exchange-2010.aspx

http://blogs.technet.com/b/exchange/archive/2008/02/07/process-tracking-log-tool-for-exchange-server-2007.aspx

66

ISSUE:

67

TROUBLESHOOTING:

68

ANALYSIS:

69

EXPLANATION:

MaxAcknowledgementDelay TarpitInterval

70

SOLUTION:

71

ISSUE:

72

TROUBLESHOOTING:

73

ANALYSIS:

www.hscripts.com/tools/HDNT/dns record.php

74

ANALYSIS:

75

ANALYSIS and EXPLANATION:

Actually, these attempts never get to the server NIC

76

SOLUTION:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;929852 77

ISSUE:

78

TROUBLESHOOTING: ANALYSIS:

79

EXPLANATION:

http://support.microsoft.com/kb/916299 80

FURTHER TROUBLESHOOTING:

81

SOLUTION:

82

ISSUE:

83

SOLUTION: Retry-Queue -Identity "server_name\Unreachable" -Resubmit $true

84

ISSUE:

85

TO DOs:

86

TROUBLESHOOTING:

87

ANALYSIS:

88

89

90

ANALYSIS:

91

ANALYSIS:

92

EXPLANATION:

93

Mailbox Troubleshooting

95

http://support.microsoft.com/kb/259851/EN-US 98

?

99

PTL

100

Get-Mailbox -ResultSize Unlimited | Get-MailboxFolderStatistics -folderscope Outbox | Sort-Object Foldersize -Descending | select-object identity,name,foldertype,itemsinfolder,@{Name="FolderSize MB";expression={$_.folderSize.toMB()}} | export-csv OutboxItems.csv

101

Get-LogonStatistics | select-object username,Windows2000account,identity,messagingoperationcount,otheroperationcount,p rogressoperationcount,streamoperationcount,tableoperationcount,totaloperationcount | where {$_.totaloperationcount -gt 1000} | sort-object totaloperationcount -descending| ft 102

*** *** ***

###

*** ###

  account causing the flood mail storm    blank machine account of a HUB reference to the user account 103

Get-ExchangeServer | where {$_.IsHubTransportServer -eq "true"} | Get-Queue | where {$_.Deliverytype -eq “MapiDelivery”} | Select-Object Identity, NextHopDomain, Status, MessageCount | ft -auto Get-ExchangeServer | where {$_.IsHubTransportServer -eq "true"} | Get-Message -resultsize unlimited | Select-Object Identity,Subject,status,LastError,RetryCount,queue,size | sort-object -property size -descending | ft -auto 104

PTL

105

106

107

http://technet.microsoft.com/en-us/library/ee424432.aspx

108

ISSUE:

109

TROUBLESHOOTING:

110

TROUBLESHOOTING:

111

SOLUTION:

112

Q & A

http://www.microsoft.com/downloads/details.aspx?familyid=9A49C22E-E0C7-4B7C-ACEF-729D48AF7BC9&displaylang=en 114

115

116

117

Error when running ExMon: “Unknown StartTrace error (183)” Solution:

“Exchange Event Trace” “Exchange Event Trace”

118