< Day Day Up > |
The relationship that Exchange Server 2003 has with Active Directory is complex and often misunderstood. Because the directory is no longer local, special services were written for Exchange to access and process information in AD. Understanding how these systems work is critical for understanding how Exchange interacts with AD. Understanding DSAccessDSAccess is one of the most critical services for Exchange Server 2003. DSAccess, via the dsacccess.dll file, is used to discover current Active Directory topology and direct Exchange to various AD components . DSAccess dynamically produces a list of published AD domain controllers and Global Catalog servers and directs Exchange resources to the appropriate AD resources. In addition to simple referrals from Exchange to AD, DSAccess intelligently detects Global Catalog and domain controller failures, and directs Exchange to fail over systems dynamically, reducing the potential for downtime caused by a failed Global Catalog server. DSAccess also caches LDAP queries made from Exchange to AD, speeding up query response time in the process. DSAccess polls the Active Directory every 15 minutes to identify changes to site structure, DC placement, or other structural changes to Active Directory. By making effective use of LDAP searches and Global Catalog port queries, domain controller and Global Catalog server suitability is determined. Through this mechanism, a single point of contact for the Active Directory is chosen , which is known as the Configuration Domain Controller. Determining the DSAccess RolesDSAccess identifies AD servers as belonging to one of four groups:
The roles that have been identified by DSAccess can be viewed in the Directory Access tab of Exchange Server properties in Exchange System Manager, as illustrated in Figure 8.7. In addition, manual overrides can be performed in this dialog box as necessary. Figure 8.7. Directory access groups.
NOTE DSAccess went through a complete overhaul in Exchange 2000 Service Pack 2. In addition to integrating new GC promotion safeguards, DSAccess was also optimized to enable Exchange to more easily act as a front-end server in a DMZ environment. Specifically, the reliance on the RPC protocol was eliminated, making it easier to lock down this type of environment. Understanding DSProxyDSProxy is a component of Exchange that parses Active Directory and creates an address book for downlevel Outlook (pre “Outlook 2000 SR2) clients. These clients assume that Exchange uses its own directory, as opposed to directly using the Active Directory by itself, as Outlook 2000 SR2-and-greater clients do. The DSProxy service provides these higher-level clients with a referral to an Active Directory Global Catalog server, which they then use without accessing the Exchange servers directly. The newer Outlook clients do not refresh this information unless a server failure has occurred or the client is restarted. NOTE DSProxy uses NSPI instead of LDAP for address list lookups, because NSPI is a more efficient interface for that type of lookup. Only Global Catalog servers support NSPI, so they are necessary for all client address list lookups. Outlining the Role of the CategorizerThe SMTP Categorizer is a component of Exchange that is used to submit mail messages to their proper destination. When a mail message is sent, the Categorizer queries the DSAccess component to locate an Active Directory server list, which is then directly queried for information that can be used to deliver the message. Although the Categorizer in Exchange gets a list of all Global Catalog servers from DSAccess, it normally opens only a single LDAP connection to a GC server to send mail, unless a large number of messages are queued for delivery. TIP Problems with the Categorizer are often the cause of DNS or AD lookup issues. When troubleshooting mail-flow problems, use message tracking in Exchange Server 2003 to follow the course of a message. If the message stops at the Categorizer, it is often wise to start troubleshooting the issue from a directory access perspective. |
< Day Day Up > |