Thursday, July 22, 2010

Active Directory Performance

Active Directory Performance

The System Monitor object NTDS is useful for monitoring domain controller performance.
The below counters in the Performance Monitor tool show replication traffic information.

  • DRA Inbound Bytes Total/sec
  • DRA Outbound Bytes Total/sec
  • DRA Inbound Bytes Not Compressed - Replicated uncompressed bytes that are probably from a Directory Services Agent (another controller sending data) in the same site.
  • DRA Inbound Bytes Compressed (Before Compression) - Replicated bytes received (as though in uncompressed form).
  • DRA Inbound Bytes Not Compressed (After Compression) - Replicated bytes received (as in compressed form).
  • DRA Inbound Bytes Total The sum of the DRA Inbound Bytes Not Compressed plus the DRA Inbound Bytes Not Compressed (After Compression).
  • DRA Outbound Bytes Not Compressed - Replicated uncompressed bytes that are being sent to another domain controller in the same site.

Active Directory Replication Monitor

The Active Directory Replication Monitor is used to monitor Active Directory database replication between domain controllers.
The Active Directory Replication Monitor is run by selecting "Start", "Run", and typing "replmon" on the command line.
 You can add monitored servers to its monitor list. Replication can be forced by right clicking on a partition, then selecting "Synchronize this Directory Partition with All Servers".

Some of the following functions can be done with Active Directory Replication Monitor.:

  • Manually make two domain controllers replicate Active Directory database information between each other.
  • View replication partner information.
  • View unreplicated objects, list object metadata, and find out why a replication attempt may have failed.
  • Log and monitor the domain or forest replication state and statistics.
  • Change replication time intervals.
  • Setup the system response to exceeding replication thresholds. The system response may be to log the event or send an e-mail.

Network Monitor

This tool can be used to observe replication data and help with diagnosis of any replication problems. TCP port 25 is monitored to observe replication using mail transfers. When RPC is used for replication, which is the normal method, the following entry in the registry may be modified to a particular port number to cause RPC traffic to use the same port:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters\TCP/IP Port

Active Directory Queries

LDAP queries are used by Active Directory to find objects and the query is passed from domain controller to domain controller until the object is found. Active directory objects must be in the current tree for an LDAP query to find the object.
Adding more global catalog servers will make searching the forest faster, but more network bandwidth will be required for replication between global catalog servers.

No comments:

Post a Comment