Home > An introduction to Microsoft Exchange System Attendant
Crash Course:
EMAIL THIS

An introduction to Microsoft Exchange System Attendant

04 Oct 2007 | SearchExchange.com

Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

The Microsoft Exchange System Attendant service is primarily a collection of subcomponents that work together to proxy Active Directory requests and to regulate internal Exchange Server functions. It is critical to Exchange Server's performance, since many Exchange-related services will not function without it.

In Exchange 2003, for example, you cannot mount the databases unless the Exchange System Attendant service is running. The Exchange information store is also dependent on the Exchange System Attendant service. Even in previous versions of Exchange Server, various Exchange-related services fail to start unless the Exchange System Attendant is running.
If you have any comments or questions about the information presented in this crash course, please email us.

In this tutorial, I provide an overview of how the Exchange System Attendant works and explain the purpose and functionality of each of its subcomponents.


TABLE OF CONTENTS

 Overview of the Microsoft Exchange System Attendant
 The DSAccess component
 The DSProxy component
 The Recipient Update Service
 The Mailbox Manager component
 The Server Monitor component
 The Offline Address Book Generator
 The Free/Busy component
 The Metabase Update Service

Overview of the Microsoft Exchange System Attendant

The Microsoft Exchange System Attendant service performs a wide variety of tasks. It is responsible for everything from facilitating Active Directory communications to enforcing retention policies and mailbox quotas.

As you might expect from such a diverse service, the Exchange System Attendant is based on a primary executable file that runs as a service and a number of subcomponents that allow the Exchange System Attendant to perform various tasks.

Exchange System Attendant's main executable file is the MAD.EXE file, located in the Exchange server's Program Files\Exchsrvr\Bin folder. But most of the subcomponents exist as .DLL files.

Exchange System Attendant is more than just a collection of subcomponents, though, since the service itself does have a task to perform.

Microsoft Windows servers make use of a built-in computer account that is used to assign various permissions at the machine level. In order for an Exchange 2003 server to have the necessary Active Directory permissions, its computer account must be a member of the Exchange Domain Servers global security group.

The Exchange System Attendant's job is to make sure that the computer account is indeed a member of this global security group.

Return to Top

DSAccess component

There are two internal Exchange System Attendant components used to help Exchange Server locate domain controllers.
Read more about DSAccess:
Exchange Admin 101: An introduction to DSAccess

How the DSAccess service works in Exchange and Active Directory

One is the DSAccess component (DSAccess.DLL), which is designed to prevent Exchange Server from flooding your domain controllers with excessive requests.

When an Exchange Server component, such as the Exchange store or the SMTP Transport Engine, needs to acquire recipient information from Active Directory, the query is routed through the DSAccess component. As such, the DSAccess component acts as a proxy for these Active Directory requests.

DSAccess retrieves the requested information, caches the result, and then passes the result back to the component that requested the information. The DSAccess cache helps to reduce the number of queries that Exchange has to make against the domain controllers.

Return to Top

DSProxy component

The other Active Directory-related component of the Exchange System Attendant is DSProxy (DSProxy.DLL).

While DSAccess proxies Active Directory requests coming from other Exchange Server components, DSProxy acts as a proxy for Active Directory queries coming from Microsoft Outlook clients.

When a client running Microsoft Outlook 2000 -- or a later version of Outlook -- performs an operation that requires an Active Directory query (such as a request to retrieve the Global Address List), the DSProxy component refers the client to the global catalog server so the client can communicate with it directly.
More on the DSProxy service:
How the DSProxy service works in Exchange and Active Directory
This helps take some of the burden off of the Exchange server.

If a client is running an older version of Outlook, the DSProxy component will act as a true proxy. Older versions of Outlook are incapable of communicating directly with a global catalog server, so DSProxy performs the operation on behalf of the client.

Return to Top

More information on the Recipient Update Service:
How to use the Recipient Update Service

Exchange Recipient Update Service and proxy addresses
Recipient Update Service

The Recipient Update Service (Abv_dg.DLL), which applies recipient polices to mail-enabled user objects, is actually a subcomponent of the Exchange System Attendant.

Return to Top

Mailbox Manager component

The Mailbox Manager's job is to enforce policies that help to control the size of an information store, including mailbox quotas and message retention policies.

Return to Top

Server Monitor component

Exchange Server maintains link state information so that it can make intelligent, dynamic routing decisions, rather than simply relying on static entries in a routing table. The Server Monitor component of Exchange System Attendant is primary used to keep Exchange Server's link state information up to date.

Exchange 2003 propagates link state information among the servers within the Exchange organization. This process ensures that every server in the organization has up-to-date information regarding which links are available. Exchange uses this link state information to calculate the optimal path to various destinations within the Exchange organization, while still taking into account things like link costs and hop counts.

The Server Monitor component also has a couple of other responsibilities that are not related to maintaining link state information. As the name implies, it is responsible for monitoring server resources using Windows Management Instrumentation (WMI). It is also responsible for managing message tracking logs (assuming that message tracking is enabled).

Return to Top

Offline Address Book Generator

The idea behind the Offline Address Book Generator (OABgen.DLL), another subcomponent of the Exchange System Attendant, is that mobile users sometimes need access to the address book, even when they are not connected to Exchange Server. Since offline users cannot retrieve the GAL through the usual means, they rely on the Offline Address Book (OAB).

The OABgen.DLL file is stored in an Exchange public folder subfolder called Offline Address Book. Exchange makes it possible to have multiple Offline Address Books. Each Offline Address Book contains two subfolders: OAB Version 2 and OAB Version 3a.

The actual address book information is stored as attachments to posts within these folders. These attachments can store a full OAB, or a subset of the additions and changes that have been made since the last full OAB was generated.

Return to Top

Free/Busy component

Most of Exchange System Attendant's functions discussed so far have had to do with low-level Exchange Server management and message routing. Although it seems a little out of place, the Exchange System Attendant is also involved in publishing free/busy information.

Exchange Server allows users to plan meetings based around the schedules of other meeting attendees. In order to be able to tell when a meeting attendee is free, Exchange needs to be able to read free/busy data from that attendee's calendar.

Since users don't generally have access to other users' mailboxes, the free/busy data is stored in a public folder instead of a user's mailbox. Like the Offline Address Book Generator, the Free/Busy component (Madfb.DLL) is stored in a subfolder of the system public folder named SCHEDULE+ FREE BUSY.

When a user creates an appointment in Outlook Web Access (OWA), the Exchange store sends the corresponding free/busy information to the Exchange System Attendant mailbox. The Madfb.DLL file extracts the free/busy data from these messages and publishes it in the SCHEDULE+ FREE BUSY folder.

Return to Top

Related information:

Troubleshooting Exchange System Attendant service problems

Tutorial: How Exchange performs Active Directory LDAP queries

How to manage recipients and distribution lists -- in 15 minutes

More Exchange Server and Active Directory resources
Metabase Update Service

In order to really understand what the Metabase Update Service (Ds2mb.DLL) component does, you have to understand a little bit about the Internet Information Services (IIS) metabase.

The IIS metabase is a file that stores IIS configuration information. This configuration file is one of the core components of IIS, and IIS cannot function without it. Given that Exchange Server depends on IIS, Exchange is also dependent on the IIS metabase.

In Windows Server 2003, the IIS metabase exists in the form of an XML file named Metabase.XML. There is also a corresponding schema file named MBSchema.XML.

In Windows 2000 Server, the IIS metabase is stored in a binary file named Metabase.BIN. In both operating systems, the IIS metabase is located in the System Root\System32\inetsrv folder.

Exchange Server has its own configuration information. Some Exchange configuration information related to SMTP virtual servers, the HTTP configuration for OWA, and a few other Exchange components, are stored in Active Directory, but are needed by IIS.

This is where the Metabase Update Service comes into play. This service replicates protocol-related Exchange Server configuration information from the Active Directory to the IIS metabase.

Return to Top

ABOUT THE AUTHOR:   
Brien M. Posey
Brien M. Posey, MCSE
Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Exchange Server, and has previously received Microsoft's MVP award for Windows Server and Internet Information Server (IIS). Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at www.brienposey.com.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Microsoft Exchange Server and Active Directory
Changing email address formats in Exchange Server 2003
Restore contacts from an Exchange public folder
An introduction to the DSAccess service in Exchange Server 2007
Exchange users receiving email addressed to legacy users
Mailbox viewing problems after migrating to Exchange 2007
Installing Exchange Server 2003 and a domain controller on the same hardware
Top 10 Microsoft Exchange Server tips of 2008
Deployment tool errors during a migration from Exchange 5.5 to Exchange 2003
Can't create mailboxes after virtualizing Microsoft Exchange Server
Tools to bulk modify Active Directory users in Exchange Server 2003
Microsoft Exchange Server and Active Directory Research

Microsoft Exchange Server Information Store
Recovering an Exchange Server 2003 store on a disaster recovery box
Third-party tool moves Outlook attachments to Microsoft SharePoint
Migrating .PST files to an Exchange Server information store
Microsoft Exchange information store service stops responding
Tools that support Boolean searches of Exchange mailbox data and .PSTs
Defragment Exchange information store database files
How to find your Exchange Server store size limit
How can I run multiple mail stores and SMTP domains on one Exchange server?
Exchange Server information store issues FAQs
NEO Pro

Exchange Server Administration Tips
Fixing DPM 2007 inconsistent replica errors in Exchange Server
Using Mobile Device Manager 2008 server roles in Exchange 2007
An introduction to the DSAccess service in Exchange Server 2007
Exchange Performance Monitor tracks domain controller communication
Exchange Server 2007 SP2 reinstates built-in backup capabilities
Three Performance Monitors counters to use in Exchange Server 2007
Scheduling multiple Performance Monitor alerts in Exchange Server 2007
Which ActiveSync authentication method is best for your mobile device?
Configure Performance Monitor alerts for Exchange Server 2007
Disable ActiveSync in bulk with Exchange Management Shell commands

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
User Principal Name  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary




E-mail Administration Tips - Active Directory, Mail Protocols, MOM
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts