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

EXCHANGE ADMIN 101 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
    Exchange Admin 101 Tips
    Manage Exchange 2007 public folders with the Exchange Management Shell
    Exchange Admin 101: Exchange 2003 and Exchange 2007 admin privileges
    Exchange Admin 101: Server roles in Exchange Server 2007
    Exchange Admin 101: An introduction to RAID for Exchange Server
    Exchange Admin 101: Exchange Server replication and synchronization
    Exchange Admin 101: Exchange Server communication ports
    Exchange Admin 101: Meet MOM
    Exchange Admin 101: An introduction to Exchange clustering
    Exchange Admin 101: Configuring OMA and ActiveSync
    Exchange Admin 101: Email attachment blocking

    Microsoft Exchange Server and Active Directory
    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
    Email sent to a PDA doesn't get saved in Exchange Server mailbox
    How to verify Exchange Server email forwarding
    Remove Exchange 2007 public folder stores from a Mailbox Server role
    A network connection problem or an offline server prevented delivery of the message
    Create Exchange user and mailbox accounts on a Windows 2000 PDC
    Error 1053: Exchange System Attendant service could not start
    Microsoft Exchange Server and Active Directory Research

    Microsoft Exchange 2000 Server
    How to move Exchange 2000 to new server hardware
    Error 1053: Exchange System Attendant service could not start
    Solve server problems with the Exchange Troubleshooting Assistant tool
    Move mailboxes to Exchange 2007 after Windows upgrade
    Third-party tools that modify NDRs for oversized email
    IP address changes for an Exchange 2000 recovery server
    Exchange Server 2003 tips and tricks -- 7 tips in 7 minutes
    How to enable Exchange Server public folder logging
    Deciphering an 0xc103798a Exchange Server setup error code
    Exchange Server error message: 'A non-delivery report with a status code of 5.4.0 was generated for recipient'
    Microsoft Exchange 2000 Server Research

    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 enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and 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