Solved

active directory log files

Posted on 2008-06-10
3
5,469 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

863 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

29 Experts available now in Live!

Get 1:1 Help Now