Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Exchange Admin 101: An introduction to DSAccess
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Exchange Admin 101: An introduction to DSAccess


Brien M. Posey
03.07.2006
Rating: -4.75- (out of 5)


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


Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize.


When Microsoft began using Active Directory as a repository for Exchange-related data in Exchange 2000 (and now Exchange 2003), it had to set up some rules of engagement. Specifically, Exchange Server needed to communicate with Active Directory in a way that wouldn't create excessive network traffic or overwhelm domain controllers with too many LDAP requests.

To circumvent these issues, Microsoft created a component called DSAccess to act as an intermediary that could regulate traffic flow between Exchange Server and Active Directory.

DSAccess

DSAccess is an API used by all Exchange Server components to query Active Directory and acquire configuration and recipient information. Some of the many Microsoft Exchange components that depend on DSAccess are the Exchange System Attendant, Message Transfer Agent and Exchange information store.

DSAccess is a generic name assigned to a group of DLLs -- DSAccess.dll, Dscmgs.dll, and Dscperf.dll -- that are collectively known as DSAccess, or the DSAccess cache.

The DSAccess cache is actually made up of two separate caches:

  • The configuration cache

    The configuration cache is used to store information pertaining to configuration data, including store and routing objects. It is set to 5 MB by default.

    When the system boots, DSAccess initiates a discovery process designed to identify the Active Directory topology (primarily related to the site structure), the domain controllers, and which domain controllers act as global catalog servers.

    DSAccess repeats this discovery process every 15 minutes to check for configuration changes and verify that the known domain controllers are still available. Whenever Exchange Server needs to access a domain controller or a global catalog server, it consults the DSAccess cache to determine which server is the best fit for the job.

  • The user object cache

    By default, Exchange Server sets aside 140 MB for the user object cache, which obviously stores user data. Objects within this cache are flushed when the cache fills up or when the object's TTL expires. The default TTL for user objects is five minutes.

    The user object cache is designed to prevent excessive LDAP queries. When Exchange Server needs to know something about a user, it checks the DSAccess cache first to see if the information is already stored there. If the information is cached, then Exchange uses the cached copy instead of issuing an LDAP query. If the required information is not cached, Exchange has to retrieves the necessary information from the domain controller via an LDAP query and stores the results in the DSACache.

About the author: 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 http://www.brienposey.com.


Do you have comments on this tip? Let us know.
Related information from SearchExchange.com:

  • Tip: A deeper look at how DSAccess works
  • 15 tips in 15 minutes: Managing recipients and distribution lists
  • Reference Center: Exchange and Active Directory tips and resources



    Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.




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



    RELATED CONTENT
    Microsoft Exchange Server and Active Directory
    Remove Exchange 2003 objects from AD to install Exchange 2010
    How DSAccess service improves Exchange Server 2007 reliability
    Restoring user accounts and mailbox links in 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
    Microsoft Exchange Server and Active Directory Research

    Microsoft Exchange Server 2003
    Remove Exchange 2003 objects from AD to install Exchange 2010
    Leapfrogging from Exchange 2003 to Exchange 2010
    Top 5 Exchange ActiveSync tips
    Exchange Mailbag: POP3 settings and Outlook issues
    Migrating to Exchange 2007 with correct permissions
    Problems receiving email from outside a Exchange Server 2003 domain
    Exchange admins: Is it time to rethink your email address policy?
    Exchange Server 2003 collects email from only specific POP3 domains
    Changing email address formats in Exchange Server 2003
    Should you remove .STM files from Exchange Server 2003?
    Microsoft Exchange Server 2003 Research

    Exchange Server Administration Tips
    Remove Exchange 2003 objects from AD to install Exchange 2010
    Don'ts for optimal Exchange 2007 mailbox server efficiency
    Is your Exchange 2007 hub transport server healthy?
    Avoid Outlook 2007 performance issues during repairs
    Developing an Exchange 2007 server role DR plan
    How DSAccess service improves Exchange Server 2007 reliability
    An introduction to the Exchange Remote Connectivity Analyzer tool
    Monitor Exchange 2007 with disk- and RPC-related counters
    DPM 2007 replica inconsistencies in Exchange databases
    Track Exchange 2007 mailbox server health using database counters

    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

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
    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