DESKTOP

Windows Server 2008 : Troubleshooting Replication (part 2) - Forcing Replication with repadmin

2/15/2014 1:44:48 AM

Forcing Replication with repadmin

repadmin has a few primary commands you can use to force replication as shown in the following table.

Tip

If you are having problems with replication and cannot force replication, check DNS. One important check is to ensure that DNS has created SRV records. You can stop and restart the netlogon service to re-create SRV records with the net stop netlogon and net start netlogon commands.


repadmin Replication CommandsComments
Synchronize a DC with all partners.
C:\> repadmin /syncall

Synchronizes a specified DC with all replication partners. This should generate callback messages indicating replication is in progress, replication has completed, and that syncall finished.
Force replicate with a specific DC.
repadmin /replicate target-DC
source-DC domain-DN
C:\> repadmin /replicate dc2
dc1 dc=pearson,dc=pub

Triggers immediate replication of the specified directory partition to the destination DC from the source DC. This performs the same actions as selecting Replicate Now, as shown in Figure 2. You can access this by clicking Start, Administrative Tools, AD Sites and Services. Additionally, it works the same way if the DCs are in different sites, as shown in Figure 3.
Recalculate replication topology.
repadmin /kcc target-DC
C:\> repadmin /kcc dc1

Forces the knowledge consistency checker (KCC) to recalculate the replication topology and re-create replication connections if needed. The KCC runs every 15 minutes by default. The example forces the KCC to run on the domain controller dc1.

Note

You can run this for each DC in your domain from a single DC. It doesn’t need to be run locally.


Figure 2. Forcing replication with another DC in the same site

Tip

repadmin has a rich set of commands that you can use to monitor and troubleshoot replication. This chapter doesn’t attempt to show them all. However, if you want to dig deeper, check out the TechNet web page: http://technet.microsoft.com/library/cc770963.aspx.


Figure 3. Forcing replication with another DC in a different site
Other  
  •  Windows Server 2008 and Windows Vista : Group Policy Preferences: Control Panel Settings (part 2)
  •  Windows Server 2008 and Windows Vista : Group Policy Preferences: Control Panel Settings (part 1)
  •  Windows Server 2008 and Windows Vista : Group Policy Preferences: Windows Settings (part 2)
  •  Windows Server 2008 and Windows Vista : Group Policy Preferences: Windows Settings (part 1)
  •  Windows Server 2008 and Windows Vista : Management and Support of Group Policy Preferences
  •  Windows 7 : ADDING UAC SUPPORT TO YOUR APPLICATION (part 4)
  •  Windows 7 : ADDING UAC SUPPORT TO YOUR APPLICATION (part 3) - Executing as a Separate Process - Creating the Secondary Project , Configuring the Secondary Project
  •  Windows 7 : ADDING UAC SUPPORT TO YOUR APPLICATION (part 2) - Creating a Manifest - Compiling the Manifest into the Application
  •  Windows 7 : ADDING UAC SUPPORT TO YOUR APPLICATION (part 1) - Creating a Manifest - Creating the Application Code
  •  Parallels Desktop 9 For Mac - The Best Of Both Worlds
  •  
    Top 10
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS