Professional Documents
Culture Documents
2
Hamza Hassen
Hamza Hassen joined Microsoft as a support engineer
on the Exchange Admin team in April 2001. Before
joining Microsoft, Hamza held different positions.
These include instructor, support engineer,
consultant, and junior programmer. Hamza has a
bachelor’s degree in physics from Addis Ababa
University in Ethiopia.
3
Objectives
This Support WebCast discusses how to collect
and analyze data to troubleshoot the Cancelable
RPC dialog box. The presenters will discuss
various reasons that the Microsoft Outlook
"retrieving data" message may appear and how
to use the Microsoft Exchange Best Practices
Analyzer (ExBPA), the Performance Monitor
Wizard, Network Monitor traces, and other tools
to troubleshoot this issue.
4
Agenda
The basics of MAPI connectivity to Microsoft
Exchange Server
History of the remote procedure call (RPC) dialog
box
Common causes
Tools to use to collect data
How to analyze the data
5
How MAPI clients access Active Directory®
Exchange
server Global
Reference of the
catalog
Logon: contact name of one of
Exchange server the global
catalogs Uses the global catalog for all
queries to the directory during
that session
8
Outlook 2000 SP2 and later versions (2)
Successful connection to the GC
Available server
Global
Uses GC1 Catalog 1
Outlook 2002
9
Outlook 2000 SP2 and later versions (3)
Failed connection to the GC
Server not
available
Exchange
server Global
Requests Catalog 1
another global
catalog
Response:
GC2
Logon: contacts GC1 which is
stored in the registry
Stores global
catalog name
in the user's Uses GC2 for all queries to the
Outlook 2002 Global
profile directory during that session
Catalog 2 10
Finding the global catalogs
Site 1
Site 2
GC 2
GC 3
GC 1
Exchange
server
Outlook 2002 11
History of RPC dialog box
Introduced in Outlook 2002
Not intended as an error message, but to
improve the user experience
Generally indicates that the client is taking an
unusually long time (more than 5 seconds) to
contact or to receive information from the
Exchange server or global catalog server
Outlook 2002 message
Outlook is retrieving data from the Microsoft Exchange
Server server_name.
Outlook 2003 message
Outlook is trying to retrieve data from the Microsoft
Exchange Server <servername>.
12
How do we see them?
Most cases take one of these forms
RPC messages (Outlook 2003 and Outlook
2002)
13
Common causes
Exchange server performance problems
Disk, CPU, or memory bottleneck
Access control list (ACL) conversion problem:
Event ID 9551
Event ID 9552
Missing msExchMasterAccountSID: Event ID
9548
Associated external account right missing on
disabled account
Knowledge Base (KB) article: “How to troubleshoot
public folder performance issues that are related to
ACL conversions in Exchange 2000 and in
Exchange 2003”
http://support.microsoft.com/default.aspx?kbid=328880 14
Common causes (2)
15
Common causes (3)
Exchange server performance problems
(continued)
Faulty hardware
Running online maintenance and backup
during peak hours
Too many cached restrictions, back links, and
searches being put on an individual folder
KB article: “Accessing information store folders may
become slow in Exchange”
http://support.microsoft.com/default.aspx?kbid=216076
KB article: “Clients build new restricted views when
you change item-level permissions”
http://support.microsoft.com/default.aspx?kbid=328355
16
Common causes (4)
Exchange server performance problems
(continued)
Third-party server software and COM- add ins
Antivirus, handheld devices, unified messaging,
replication software
Client or add-in problems
Enabling Instant Messaging
Planner options
Incorrect Calendar settings
Incorrect RPC Binding order
Outlook add-ins
17
Common causes (5)
Network issues
Incorrect placement of routers or firewalls
between Exchange and global catalog
Incorrectly configured or faulty hardware
Issues related to Active Directory
performance and other issues
Misconfigured DSAccess
Misconfigured global catalogs
Domain controller (DC)/global catalog
replication
18
Where to start?
Ask questions about the problem
Levels affected
Organization, site, server, local clients, remote clients?
Frequency
How frequent: monthly, weekly, multiple times per
week, daily, multiple times per day?
Is it more frequent in the morning?
What is the client doing when this problem occurs?
Is it always the same users?
19
Where to start? (2)
Ask questions about the problem
21
Common tools (2)
Exchange Server Best Practices Analyzer Tool
The Exchange Server Best Practices Analyzer
programmatically collects settings and values
from data repositories such as Active
Directory, the registry, the metabase, and
Performance Monitor.
After the data is collected, a set of
comprehensive ‘best practice’ rules are
applied to the topology.
Administrators who run this tool receive a
detailed report of the recommended changes
that can be made to the environment to
achieve better performance, scalability, and
uptime. 22
Common tools (2)
Exchange Server Best Practices Analyzer Tool
23
Common tools (3)
Network Monitor
24
Common tools (4)
Microsoft Product Support Reporting Tools
26
Common tools (6)
Performance Monitor Wizard
27
Common tools (7)
Microsoft Exchange User Monitor Tool
28
Analyzing data
ExBPA
ExBPA performs a proactive health check on the
Exchange environment to make sure that the
configuration and the deployment are correct.
Some errors will be clear and marked by the
ExBPA rule set. You may have to manually look
for other errors.
By default, ExBPA does not detect topology
configuration errors, but it collects enough
information for you to find these errors.
ExBPA collects detailed information about a
deployment and looks for well-known
misconfiguration issues or other problems. You
can use this information to help diagnose and
correct the problem. 29
Analyzing data (2)
ExBPA
30
MPSReports
What are we looking for?
Event IDs 700 - 704: Online maintenance events
Exchange Server online maintenance should complete
at least one time a week.
KB article: “Understanding performance and scalability
characteristics of Exchange 2000 MDB online
maintenance”
http://support.microsoft.com/default.aspx?kbid=271222
Event ID 1221: Online defragmentation event
If white space is excessive, run offline defragmentation
using eseutil /d to avoid backing up unnecessary
white space and save valuable time.
KB article: “Cannot determine free space available in
Exchange database”
http://support.microsoft.com/default.aspx?kbid=186291
31
MPSReports (2)
What are we looking for?
32
MPSReports (3)
Any evidence of known issues?
Events 9 and 11: Disk subsystem errors
These events indicate hardware problems with
either the controller or, more likely, a device
that is attached to the controller in question.
KB article: “How to troubleshoot Event 9 and
Event 11 error messages”
http://support.microsoft.com/default.aspx?
kbid=154690
If you are troubleshooting a DC replication
problem that will eventually become an
Exchange problem, use the MPSReports
version created for domain controllers. 33
MPSReports (4)
Evidence of known issues, continued
37
What to monitor
Counter Expected value
LogicalDisk*\Average Disk
<40 ms (Database drives)
sec/Read
LogicalDisk\Average Disk
<40 ms (Database drives)
sec/Write
MSExchangeIS\RPC Requests <30
MSExchangeIS\RPC Averaged
<50 ms
Latency
• You can also use PhysicalDisk. Just make sure that you
know what disks are used by databases.
• Troubleshooting Microsoft Exchange Server performance
http://www.microsoft.com/technet/prodtechnol/exchange/g
uides/TrblshtE2k3Perf/4b012bda-8711-4617-9239-f3527d
e884a3.mspx
38
Performance – Disk I/O
Database drives, EDB and STM – random
I/O
Access to both files is random, so keeping
them on separate volumes does not provide
significant performance gains.
We recommend RAID-0+1 or RAID-10 for
high reliability with best read/write
performance.
Public folder data can also be stored on
RAID-5, because this data is typically written
one time and read many times.
39
Performance – Disk I/O (2)
Transaction logs – sequential I/O
Writes to transaction logs are always
sequential.
Reliability is very important. If an outage
occurs, only the transaction logs make
recovery of databases possible.
We recommend RAID-0+1 or RAID 10.
RAID-1 is also acceptable.
Every set of transaction logs should be on a
separate drive. This provides a significant
improvement in performance and fault
tolerance.
40
Performance – Disk I/O (3)
SMTP queue – sequential I/O
The Simple Mail Transfer Protocol (SMTP)
queue stores messages until they are written
to the database or delivered to another
server.
Duration of storage is very short, so
performance takes precedence over capacity
and reliability.
We recommend RAID-1. RAID-0 gives better
performance, but a trade-off is potential mail
loss.
KB article: “How to change the Exchange
2000 SMTP Mailroot directory location”
http://support.microsoft.com/default.aspx?kbid=3182
30
41
Performance – Disk I/O (4)
Temp disk and page file disk
We recommend that you use RAID-1 for the
system partition. This includes Exchange
binaries.
The page file can be above RAID-1 or even a
single volume. On a high-use server, we
recommend that you put the page file on a
separate volume.
Always format the file system as NTFS and
select the default block size of 4 kilobytes
(KB).
It is a good idea to change the global
environment variable TEMP to a separate
drive. This TEMP drive is used for all RTF-
HTML conversion. 42
The good…
43
…and the bad
45
Performance – Processor
What are we looking for?
47
Performance – Processor (3)
What are we looking for, continued
48
Performance – Memory
What are we looking for?
Make sure that you have the /3GB switch in Boot.ini file
(collect with MPS Reports) for Exchange running on
Microsoft Windows® 2000 Server Advanced Edition.
Use the /3gb /userva3030 switch for Exchange running
on any version of Microsoft Windows Server™ 2003.
Memory \Available mbytes counter
Potential problem if available memory is less than 50 megabytes
(MB)
Memory\pages/sec counter
Indicates the rate at which pages are read from or written to disk
to resolve hard page faults
Should be lower than 1,000 at all times
50
Performance – Network
What are we looking for?
MSExchangeIS\RPC Requests counter
Shows how many MAPI RPC requests are being
serviced by the Exchange store
The Exchange store can service only 100 requests at
a time
MSExchangeIS\RPC Operations/sec counter
Shows the rate at which the Exchange store is
servicing user requests
The key to using these two counters is relatively
simple
If RPC requests are low and RPC operations/sec
(outstanding requests) is zero, the performance
problem is occurring before Exchange processing
occurs 51
Performance – Network (2)
Example of an Exchange problem
52
Performance – Network (3)
Example of an Exchange problem
53
Performance – Network (4)
What are we looking for?
56
Best practices
Outlook and Exchange
How to troubleshoot the RPC Cancel Request
dialog box in Outlook 2003 or in Outlook 2002
http://support.microsoft.com/default.aspx?kbid=839862
Description of the support process for issues that
are related to the "Outlook is retrieving data"
message in Outlook 2002 and Outlook 2003
http://support.microsoft.com/default.aspx?kbid=892764
You receive an "Outlook is retrieving data"
message repeatedly in Outlook 2003
http://support.microsoft.com/default.aspx?kbid=824118
How to troubleshoot public folder performance
issues that are related to ACL conversions in
Exchange 2000 and in Exchange 2003
http://support.microsoft.com/default.aspx?kbid=328880 57
Best practices (2)
Outlook and Exchange
OL2002: You receive the "Cancelable RPC"
dialog box when you use the meeting planner
options
http://support.microsoft.com/default.aspx?kbid=324374
How to troubleshoot missing and duplicate
appointments in Outlook
http://support.microsoft.com/default.aspx?kbid=890436
How to change the Cancel Request dialog box
behavior in Outlook 2002
http://support.microsoft.com/default.aspx?kbid=293650
How to change the behavior of the Cancel
Request dialog box in Outlook 2003
http://support.microsoft.com/default.aspx?kbid=833007
58
Best Practices (3)
Outlook and Exchange
Outlook meeting requests: Essential do’s
and don’ts
http://office.microsoft.com/en-us/assistance
/HA011276781033.aspx
http://office.microsoft.com/training/training.aspx
?AssetID=RC011659751033
Evaluating with regards to hardware
http://www.microsoft.com/technet/prodtechnol/exchange
/EXBPA/a59de247-8f05-419d-a4ea-fc4973788863.mspx
Recommended mailbox size limits and disk
sizing
http://blogs.technet.com/exchange/search.aspx?q=
%22nicole+allen%22&p=1
59
Best practices (3)
Outlook and Exchange
60
Questions
61
Thank you for joining us for today’s event.