Solved

active directory log files

Posted on 2008-06-10
3
5,463 Views
Last Modified: 2008-06-11
i have a client that is dc promo a server and wants to know what fiels are kept in the app logs that are beeing out on the c: and if he shoudl place these on a different drive. can i et some help on teh answer for this thanks guys
0
Comment
Question by:zenworksb
3 Comments
 
LVL 6

Expert Comment

by:evanmcnally
Comment Utility
If you are asking if it is OK to put the Active Directory files on the C: drive in the default location of C:\Windows\NTDS\ , then the answer is normally yes.  Windows diables write caching on the hard disk where the AD files are located, and this could theoretically cause some slow down, but in real life it seems to have no noticable effect.  The vast majority of Windows domain controllers have AD located in the default location, and also Sysvol in the dafult location.  Both of these together almost never get larger than a few hundre megabytes.
0
 
LVL 1

Accepted Solution

by:
SowelaIT earned 500 total points
Comment Utility
*Pulled from: http://www.tech-faq.com/maintain-active-directory.shtml


Active Directory Database and Log Files
The ESE uses transaction and log files to ensure the integrity of the active directory database. Active Directory includes the following files:
    * Ntds.dit is the Active Directory database which stores the entire active directory objects on the domain controller. The .dit extension refers to the directory information tree. The default location is the %systemroot%\Ntds folder. Active Directory records each and every transaction log files that are associated with the Ntds.dit file.
    * Edb*.log is the transaction log file. Each transaction file is 10 megabytes (MB). When Edb.log file is full, active directory renames it to Edbnnnnn.log, where nnnnn is an increasing number starts from 1.
    * Edb.chk is a checkpoint file which is use by database engine to track the data which is not yet written to the active directory database file. The checkpoint file act as a pointer that maintains the status between memory and database file on disk. It indicates the starting point in the log file from which the information must be recovered if a failure occurs.
    * Res1.log and Res2.log: These are reserved transaction log files. The amount of disk space that is reserved on a drive or folder for this log is 20 MB. This reserved disk space provides a sufficient space to shut down if all the other disk space is being used.


Personally - if you have a spare hard drive to put the log files and database on then by all means do so.  The chance of both hard drives failing is a lot less than if you put everything onto one hard drive.  Also, depending on the types of hard drives and controllers, you can actually increase the speed of the domain controller because you will be writing data to two different hard drive and not having to wait until one write process is finished.  Also, if your Ntds.dit file becomes corrupt due to bad sectors on the hard drive, there will be less of a chance that the log files which you can restore from will be damaged as well.
On the flip side, I have installed and managed many domains where everything is on one hard drive and only encountered around two separate errors that this setup would have helped me with.
0
 
LVL 48

Expert Comment

by:Jay_Jay70
Comment Utility
if you ever find that you fill up your C drive, then you can always move the DB to another partition using ntdsutil, but i agree with above, just leave in on C, this is the most common and usually a perfectly ok way of configuring it
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now