Information Technology Reference
In-Depth Information
as an alternate DNS server. You create folders to hold temporary copies of the database, stop the
Active Directory service, and then compact the database with one of the folders you created as
the destination. First, you make a copy of the original database in case a problem occurs with
compaction, and then you must delete the Active Directory log files and copy the compacted
database to replace the original database.
1. Log on to ServerXX as Administrator, if necessary.
2. Open the Properties dialog box of the Local Area Connection. In the Internet Protocol set-
tings, change the Alternate DNS Server setting to the address of your RODC, which should
be 192.168.100.1XX. This step is done as a precaution. Because DNS doesn't respond to
DNS queries while Active Directory is stopped, ServerXX might need to contact a DNS
server if you have to log on after Active Directory is stopped. This can happen, for example,
if your screen saver comes on and requires a password to access the desktop. Close any open
dialog boxes.
3. Create two folders in the root of the C drive: tempAD and backupAD .
4. Open Server Manager. Click to expand the Roles node, if necessary and click Active Directory
Domain Services . In the System Services section in the right pane, click Active Directory Domain
Services and click Stop .
5. When prompted, click Stop Dependent Services .
6. Open a command prompt window, and type the following commands, pressing Enter after
each one: ntdsutil , activate instance ntds , files , and compact to c:\tempAD .
7. The Defragmentation Status display shows the progress of compaction. When you see a mes-
sage stating that you need to copy the new file over the old file and delete the log files, type
quit and press Enter , and then type quit and press Enter again.
8. To copy the original database file to the backup folder you created, type copy c:\windows\
ntds\ntds.dit c:\backupAD and press Enter .
9. To delete the log files, type del c:\windows\ntds\*.log and press Enter .
10. To copy the compacted database over the original database, type copy c:\tempAD\ntds.dit
c:\windows\ntds\ntds.dit and press Enter . Type y and press Enter to confirm the copy.
11. Next, to verify the integrity of the new database, type the following commands, pressing Enter
after each one: ntdsutil , activate instance ntds , files , and integrity . Assuming the integrity check was
successful, type quit and press Enter . If it wasn't successful, copy the backup from C:\backupAD
to C:\Windows\Ntds, and attempt the compaction process again, starting with Step 6.
12. To check the semantic database integrity (which is recommended), type semantic database
analysis and press Enter , and then type go fixup and press Enter . Type quit and press Enter ,
and then type quit and press Enter again.
13. To restart Active Directory, in Server Manager, click Active Directory Domain Services in the
System Services section and click Start . You can verify a successful startup by checking the
most recent events in the event log. Shortly after the service starts, a new event with ID 1000
should be created, indicating a successful Active Directory start. (If the event doesn't appear,
click Refresh Events .)
14. Close all open windows, and stay logged on to ServerXX for the next activity.
Active Directory Monitoring
Monitoring Active Directory mainly involves monitoring the performance of the server on which
AD DS is running. However, you can also measure several Active Directory-specific performance
points. This section discusses general server-monitoring tools, with a focus on Active Directory
performance. You also review some tools designed to monitor certain aspects of Active Directory.
If the AD DS server is performing well, AD DS performance is likely to follow suit. Server
performance depends on having enough resources to handle tasks required of the system.
 
Search WWH ::




Custom Search