Solved

active directory log files

Posted on 2008-06-10
3
5,473 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
ID: 21753933
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
ID: 21753934
*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
ID: 21755656
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In-place Upgrading Dirsync to Azure AD Connect
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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