Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 30, 2007

Replication Troubleshooting Toolkit


RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Troubleshoot AD Replication

Having an adequate toolkit for troubleshooting Active Directory (AD) replication is important. I recommend that you go to the Windows Server 2003 Service Pack 1 32-bit Support Tools Web site (http://www.microsoft.com/downloads/details.aspx?familyid=6ec50b78-8be1-4e81-b3be-4e7ac4f0912d&displaylang=en) and create a basic toolkit that contains the following Windows Server Support Tools. (Third-party vendors such as NetPro Computing and Quest Software also offer utilities that simplify the process of AD troubleshooting, including replication troubleshooting.)

  • Event Viewer: This tool might seem obvious, but I’ve seen several systems administrators skip right past the log when they’re having replication problems. Use the directory service log, the system log, and the DNS log if DNS is installed on your domain controller (DC). Event messages are considerably more helpful in Windows Server 2003 than in previous OSs, although the built-in links to Microsoft help are useful only occasionally.
  • DCDiag (http://technet2.microsoft.com/windowsserver/f/?en/library/f7396ad6-0baa-4e66-8d18-17f83c5e4e6c1033.mspx): You can often use this powerful testing program without any parameters. Use the /test:testname switch to specify individual tests. I recommend that you read about and understand all the available tests. Some important options and tests include the following:

/S:server—Specifies a remote DC to test.
/A—Tests all DCs in a site.
/E—Tests all DCs in the forest.
/test:DNS—This comprehensive set of seven DNS tests is new for Windows 2003 SP1. (For more information, see http://technet2.microsoft.com/windowsserver/en/library/5237db58-a1e8-40cd-ae8a-7f52848a90f21033.mspx?mfr=true for details.)
/CheckSecurityError—Detects security configurations that can cause replication to fail.

  • Repadmin (http://technet2.microsoft.com/windowsserver/f/?en/library/24d8a2dd-2596-46cb-9b0f-179f977d434a1033.mspx): Repadmin is like the kitchen sink of replication utilities—if you’ve heard of a new way to manage or troubleshoot replication, odds are that Microsoft has added the method to this tool. (Note that the /experthelp option displays 2_ pages of syntax.) You can use this tool immediately to help resolve replication problems, but mastery takes time and requires a solid understanding of the replication process. Some important Repadmin commands to know include the following:

/Showrepl—Shows the inbound replication partners for a DC for all directory partitions. The /RepsTo option shows you the DC’s outbound neighbors.
/ReplSummary—Shows the replication health of the entire forest.
/KCC—Forces the Knowledge Consistency Checker (KCC) to recalculate the replication topology, which is useful when you need the KCC to account for DC changes more quickly than it normally does.
/Queue—Shows tasks waiting in the replication queue.
/ShowObjMeta—Shows which DC originated updates to the attributes of an object you specify.
/Replicate—Forces replication of a naming context (directory partition).
/OldHelp—Lists old (deprecated) commands.
/ExpertHelp—Lists advanced commands.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
VMware and the Future of Virtualization

What's next for virtualization and business IT? Windows IT Pro senior editor Jeff James speaks with VMware President and CEO Diane Greene on the future of virtualization technology. ...

Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...


Active Directory (AD) Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

User Provisioning and Access Control

Managing Unix/Linux with Microsoft System Center Operations Manager 2007 Cross Platform Extensions Beta

Related Events Check out our list of Free Email Newsletters!

Active Directory (AD) eBooks Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

IT Connections
Dive into the new Microsoft platforms and products you implement and support with the experts from Microsoft, TechNet Magazine, Windows ITPro and industry gurus. There are 70+ sessions and interactive panels with networking opportunities.

Attention User Group Leaders...
Announcing the eNews Generator—a FREE HTML e-newsletter builder for user group leaders. Build your HTML and text e-newsletters in minutes and add Windows IT Pro & SQL Server Mag articles alongside your own message!.

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Get SQL Server 2008 at WinConnections
Don’t miss Microsoft Exchange and Windows Connections conferences, the premier events for Microsoft IT Professionals in Las Vegas, November 10-13. Every attendee will receive a copy of SQL Server 2008 Standard Edition with one CAL.



Interested in Email Encryption?
Read about the advantages of identity-based encryption in this free report.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing