Troubleshooting Active Directory Availability |
The Importance of Ensuring Availability of Active Directory Dependencies, Components and ObjectsAs an Administrator, ensuring the availability and reliability of the Windows Server 2000 or Windows Server 2003 Active Directory directory service is extremely important if you are running Active Directory within your environment. Performance problems and poor availability leads to users being unable to perform their tasks or duties within the organization. For instance, when a DNS server fails, it is transparent that Active Directory would be negatively affected. In order for a domain controller to replicate with other domain controllers within a domain, the domain controller has to be able to resolve host names and service locator (SRV) records. Therefore, if the DNS server used by the domain controller fails, the domain controller itself would not be able to remain operational for long. Active Directory clients would initially be able to use cached DNS records, but after these records become invalid, clients will not be able to find or connect to any domain controllers. This in turn leads to clients being unable to renew their Kerberos session tickets, which in turn makes it impossible for them to connect to any member servers. From this short discussion, you can easily conclude that ensuring the availability of the DNS server is vitally important. It is recommended to have backup DNS servers within your environment. You should also avoid the situation that Microsoft refers to as the island effect. The island effect occurs when the domain controller which is the DNS server with Active Directory integrated zones, is pointed at its own self for name resolution. In Active Directory, replication partners are located by the domain controller by performing a DNS lookup. When IP addresses are changed, the domain controller would be unable to update DNS as it would not be able to locate its replication partners, simply because it would not be able to replicate. The domain controller should typically only point to its own self as a secondary DNS server, and only if the secondary entry is to be used for a short time span. You should configure each domain controller's primary DNS server as another domain controller. This configuration is performed through the TCP/IP properties of a domain controller. Authentication is also impacted when domain controllers fail. This is because the Kerberos tickets times out when the domain controller fails, and the client basically has to query DNS for another domain controller to authenticate again. In a site that only has one domain controller, the client is forced to perform authentication over the WAN. Based on the speed of the site link, the performance of authentication could be negatively affected. In Active Directory, the Global Catalog contains a copy of each object in Active Directory. While Domain Local group membership and Global group membership is not stored in the Global Catalog, Universal group membership is stored in the Global Catalog. If the particular domain controller on which the Global Catalog fails, users will not be able to log on to the domain if this domain controller cannot be accessed. In Windows Server 2003, you can however enable Universal group membership caching. This is a new Windows Server 2003 Active Directory feature that enables domain controllers to cache Universal group membership information, and in turn authenticate users when the domain controller hosting the Global Catalog is unavailable. It is good practice to enable Universal group membership caching for every site that does not contain a Global Catalog server. As an Administrator, you should monitor information on Active Directory by checking the Event Viewer logs and by monitoring performance counters. These are also typically the initial steps associated with troubleshooting the performance and availability of Active Directory. The Event Viewer i the tool used to monitor and check the directory service log. It is the directory service log that can be used to examine and analyze a vast quantity of information, including errors, alerts and warnings which can be used to determine whether the directory service is operating as should be. This makes Event Viewer an attractive tool to troubleshoot issues which relate to the functioning of Active Directory. You can also collect and analyze Active Directory performance statistics to pinpoint any likely bottlenecks in your Active Directory configuration. You can use the System Monitor Tool included in the Performance console to set up counters to monitor Active Directory performance statistics. The remainder of this Article focuses on the methods and utilities which can be used to troubleshoot Active Directory availability. Troubleshooting the Directory Service Log and System MonitorBecause the Directory Service log contains information, warnings and errors generated by Active Directory, and it is typically used to troubleshoot Active Directory problems, you would need to sort out any issues relating to the Directory Service log as a matter of urgency. The same can be said of System Monitor issues, because it used to monitor the activities of NT Directory Services (NTDS) performance object. This is the performance object used to monitor Active Directory. A few techniques for troubleshooting the issues associated with System Monitor and the directory service log are listed below.
How to set logging levels for additional informationWith Active Directory, the default logging level value is zero (0), which is basically the lowest logging level that can be set. Information is typically logged in Event Viewer's application log. Other values that can be specified or the logging level are 1, 2, 3, 4, and 5. A logging level of 0 just about ensures that critical errors are logged. Information that could prove essential for troubleshooting Active Directory problems is not logged. You can however set individual logging levels for numerous components and elements of Active Directory, to assist in troubleshooting. Because a logging level of 4 or 5 for an Active Directory element typically fills the application log swiftly, you should consider raising the logging level to this level only when you need to examine additional information when troubleshooting Active Directory. System performance is also negatively impacted when the logging levels of Active Directory elements are set high. You can set individual logging levels by editing settings in the Registry, in the Diagnostics Registry subkey: The settings included in the Diagnostics Registry subkey are listed below:
How to use the Ntdsutil command-line utility to ensure, and troubleshoot Active Directory availabilityYou can use the repair options in the Ntdsutil command-line utility to ensure Active Directory availability, and when you need to troubleshoot Active Directory availability. The various repair options of the Ntdsutil utility are detailed below:
How to use the integrity command
How to use the semantic database analysis command Before running the semantic database analysis command option of the Ntdsutil command-line utility, it is recommended to perform a full backup of system state data. To run the semantic database analysis command,
How to use the recover command
blog comments powered by Disqus |
Discuss Troubleshooting Active Directory Availability in the forums.

