Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Scott Schnoll Principal Technical Writer Exchange Server Product Group Microsoft Corporation
Agenda
Troubleshoot Methodology Exchange Troubleshooting Tools Diagnostic Logging in Exchange Area-specific Troubleshooting
Setup Performance Transport
Troubleshooting Methodology
Troubleshooting Methodology
Knowledge
How components work How components interact How components depend on other
Monitoring
Start with a baseline Without one, you have no comparisons With one, you can spot problems
Tools
Built-in tools Operating system tools Advanced tools Notification, corrective action, trend analysis
elements
Troubleshooting
Best Practices Analyzer Database Troubleshooter Mail Flow Troubleshooter Performance Troubleshooter
Monitoring
Message Tracking Queue Viewer Routing Log Viewer Performance Monitor
General Cmdlets
Test-SystemHealth Test-ServiceHealth
CI and CR Cmdlets
Test-ExchangeSearch Test-ReplicationHealth
Transport Logs
Message Tracking Logs Protocol Logs (SMTP) Agent Logs Connectivity Logs Routing Logs Pipeline Tracing Logs
General Logs
Event Logs Certificate Logs
Low
Using wildcards
Asterisks are only for EventSource part of syntax Get-EventLogLevel MSExchangeIS\9000*\* Get-EventLogLevel MSExchangeIS\9000 Private\*
The value for Watermark can be mapped to an install task in a *.PS1 file in <SystemDrive>\ExchangeSetupLogs If a Watermark is present, note for which role, then run the following to resume and complete installation:
Setup.com /roles:<RoleWithWatermark>
MSExchangeIS\RPC Requests
MSExchange ADAccess Domain Controllers\Long running LDAP operations/Min MSExchange Database\Version buckets allocated (Information Store instance) MSExchangeTransport Queues\Largest Delivery Queue Length MSExchange Database ==> Instances\Log Bytes Write/sec
50
1,800
200 512,000
Percentage of elapsed time spent in garbage collection since last garbage collection cycle
10 %
Troubleshooting Tools
ExTRA: Exchange Troubleshooting Assistant
Internal/External DSN received Issues with Queue (size, status)
Message Tracking
Lost Messages
ExTRA Basics
A sibling tool to the Microsoft Exchange Server Best Practices Analyzer (ExBPA) Union of troubleshooting tools and other related functionality
ExPTA: Exchange Performance Troubleshooting Analyzer ExDRA: Exchange Disaster Recovery Analyzer ExMFA: Exchange Mail Flow Analyzer
ExTRA Prerequisites
ExTRA 1.1 (Downlevel version)
.NET Framework version 1.1 IIS Common Files (to allow remote metabase access)
Symptom-Based Analysis
Symptom-Based Analysis
Choose the right symptom
Symptom Choose this when you see: Troubleshooting includes
NDR
Inbound
Outbound Queue Mailbox Submission
EdgeSync
Configuration check Network Test (DNS, Firewall) Active Directory Application Mode (ADAM)
checks
Message Tracking
Message Tracking tool in the Exchange Management Console Toolbox Based on ExTRA Constructs cmdlet filters used by GetMessageTrackingLog Basic server-to-server tracking PowerShell scripts can relate events together to track messages end-to-end
Sender Address
Get-MessageTrackingLog -Sender nino@hypervlabs.com
MSExchangeTransportLogSearch service on
server performs search and server-side filtering FAIL event for every NDR the server generates
RecipientStatus field displays reason FAIL occurred
Common scenarios defined that enable correct components/tags Filtering reduces the number of events logged in trace session, but must know sender or recipient before reproduction of issue
Pipeline Tracing
Used to capture copies of messages before/after agent execution Configuration (both parameters mandatory)
PipelineTracingPath: <path> PipelineTracingSenderAddress: SMTP address
Warning: one or more copies of every message matching PipelineTracingSenderAddress will be saved in PipelineTracingPath
Entire message content logged to disk, so set appropriate ACL on folder specified in PipelineTracingPath
\RulesTracking
Disable:
Set-TransportServer EXHUB1 PipelineTracingEnabled:$False
Key Takeaways
Knowledge of how components interact and depend on one another is critical to success of troubleshooting Exchange Server 2007 includes built-in instrumentation that provides rich diagnostic information for troubleshooting purposes A variety of tools from Windows Server and Exchange Server can provide workflow steps around the troubleshooting process
Resources
Troubleshooting OWA 2007 Publishing Rules on ISA Server 2006 Troubleshooting Outlook RPC dialog boxes Configuration tips and common troubleshooting steps for multiple forest deployment of Autodiscover service
Want To Be An Expert?
Get in depth and up to date technical resources from TechNet
Leverage the variety of Webcasts and Virtual Labs available Be part of the Exchange Product Dialogue Join the Exchange Community
http://technet.microsoft.com/exchange/
Track Resources
Exchange Team Blog (You Had Me at EHLO) http://msexchangeteam.com Exchange Server TechCenter http://technet.microsoft.com/exchange Exchange Newsgroups microsoft.public.exchange* Exchange Forums http://forums.microsoft.com/TechNet/default.aspx?ForumGroupID=235&SiteID= 17
2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.