How to move your mail infrastructure away from Lotus Notes

Wednesday, 28 January 2015

So your DC is Tombstoned





For the tombstoned DC server do this:

Open a command prompt on any DC and enter the following from a command prompt:

repadmin /replicate Server2.corp5.cmtsandbox.com server1.corp5.cmtsandbox.com DC=corp5,DC=cmtsandbox,DC=com

You should get this:

DsReplicaSync() failed with status 8614 (0x21a6):

The directory service cannot replicate with this server because the time since the last replication with this server has exceeded the tombstone lifetime.

Magic time:


1. Sign on to server2
2. Start the registry editor (regedit)
3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
4. Add the following dword (32) key (Allow Replication With Divergent and Corrupt Partner)
5. Press enter. Go back in and set the value to 1.

Best Practice - Enter the following:

Repadmin /removelingeringobjects server1 c67ea6e9-0b28-44aa-8620-71e9b5dc3c55 DC=corp5,DC=cmtsandbox,DC=com /advisory_mode

Repadmin /removelingeringobjects server2 0345ba41-8ab2-4f31-be2e-6a9f45d75e49 DC=corp5,DC=cmtsandbox,DC=com /advisory_mode


***(Repadmin /removelingeringobjects ServerWithLingeringObjects CleanServerGUID NamespaceContainingLingeringObject /advisory_mode)- Original command

This is how you get the GUID

repadmin /showrepl server1

Default-First-Site-Name\server1
DSA Options: IS_GC
Site Options: (none)
DSA object GUID: c67ea6e9-0b28-44aa-8620-71e9b5dc3c55
DSA invocationID: c67ea6e9-0b28-44aa-8620-71e9b5dc3c55


repadmin /showrepl server2

Default-First-Site-Name\server2
DSA Options: IS_GC
Site Options: (none)
DSA object GUID: 0345ba41-8ab2-4f31-be2e-6a9f45d75e49
DSA invocationID: 8e8249b4-faa8-45f7-87a3-46b2352939f2


If there is an error, assess, then rerun without /advisory_mode

Reboot if an error was found. If not continue:

repadmin /replicate server1.corp5.cmtsandbox.com server2.corp5.cmtsandbox.com DC=corp5,DC=cmtsandbox,DC=com

repadmin /replicate server2.corp5.cmtsandbox.com server1.corp5.cmtsandbox.com DC=corp5,DC=cmtsandbox,DC=com


You should now get:

Sync from server1.corp5.cmtsandbox.com to server2.corp5.cmtsandbox.com completed successfully.


Whoo hoo – Done.



0 comments :

Post a Comment

Thank you for taking the time to comment. Your opinion is important and of value and we appreciate the positive feedback! If you are "Negative Nancy" then please do us, and humanity, a favor, and piss off.

Total Pageviews

Google+ Followers

Pages

Blog Archive

Popular Posts

Recent Comments

Rays Twitter feed

Ads

Web sites come and go and information is lost and therefore some pages are archived. @rayd123 . Powered by Blogger.