The information in this article applies to:
SUMMARYExchange Server's bulk export feature can be used to generate a list of deleted (tombstoned) objects in the directory service database. MORE INFORMATIONTo generate a list of tombstoned objects in a directory database:
Background InformationWhen an Exchange Server directory object is deleted, it is not immediately purged from the directory database. Instead it is "tombstoned" by adding an attribute called Is-Deleted to the object. This attribute hides the object from administrative view.Tombstoning provides a simple and effective means for replicating object deletions to all Exchange Server computers in an organization. Although a tombstoned object is invisible, the object continues to replicate normally. By default, each server scans its own directory database every 12 hours, looking for objects which have been tombstoned for more than 30 days. Any such objects are purged. Complete removal of an object from all servers in an organization depends on the tombstoned version of the object replicating to all servers within the tombstone lifetime (30 days). If a server in the organization does not participate in replication during the entire tombstone lifetime, that server never gets word that it should have deleted the object. The object is thus "orphaned." For additional information about orphaned objects, click the article numbers below to view the articles in the Microsoft Knowledge Base: Q152614 XADM: Removing Objects Whose Tombstone Expired Before DirRep Q183739 XADM: Identifying and Removing Large Numbers of Orphaned Objects Changing Tombstone DefaultsThe tombstone lifetime and the garbage collection interval can be changed in the Exchange Server Administrator program through the properties of the DS Site Configuration object. The tombstone lifetime and garbage collection interval are site-wide settings.Reducing the tombstone life increases the chance that a deleted object will become orphaned. Extending the tombstone lifetime means that deleted objects persist in the directory for a longer period of time, and this may result in some increase in the overall size of the directory database. Shortening the garbage collection interval increases the load on the server, seldom with any practical benefit. Lengthening the garbage collection interval makes the list of objects to be purged longer, and thus may cause an even bigger peak in server load. In general, do not change these intervals for performance tuning reasons, but only to deal with specific exceptional conditions. How to Tell How Soon an Object Will Be PurgedAdd a column header called When-Changed to your .csv file to view the time when the object was first tombstoned.The When-Changed attribute is formatted as YYMMDDHHMMSSZ and is based on Greenwich mean time, not local time. If a tombstoned object has a When-Changed time of 990801033025Z, that means it was deleted on August 1, 1999, and is scheduled to be purged at the end of the month. Tombstones and New Objects with the Same NameIn most cases, when a new object is created in the Exchange Server directory, it is assigned an Object-Version attribute of 1. Each subsequent change made to the object causes the Object-Version to increment by 1. During replication, an incoming copy of an object replaces the existing copy if the incoming one has a greater Object-Version number. (If Object-Version numbers are equal, the When-Changed attribute breaks the tie.)You can view the Object-Version number for an existing object by running the Exchange Server Administrator program in raw mode. WARNING: Using the raw mode of the Exchange Server Administrator program (admin /r) incorrectly can cause serious problems that may require you to reinstall Microsoft Windows NT Server and/or Microsoft Exchange Server. Microsoft cannot guarantee that problems resulting from the incorrect use of raw mode can be solved. Use raw mode at your own risk.
c:\exchsrvr\bin\admin /r When an object is created that has the same Distinguished Name as a tombstoned object, the new Object-Version number is not 1 but rather the Object-Version number from the tombstoned object plus 1. The reason for this is to ensure that during replication, the new object will replace the tombstoned object. No other attributes of the previous object are inherited by a new object with the same name. Object-Versions and OrphansThe standard way to remove an orphan is to re-create an object with the same distinguished name, and then to delete it again. For this to work, the newly created object must have an Object-Version number higher than that of the orphan.If a tombstone has expired, and a new object of the same name is created, its Object-Version number will be 1, not the previous Object-Version number plus 1. Therefore, you must increase the Object-Version number of the new object manually until it is greater than that of the orphan. An easy way to increase the Object-Version number is to repeatedly make an innocuous change to the object (such as altering an optional field) until the Object-Version number is high enough. Sometimes, the difference in Object-Version numbers is very large, and bulk import can be used to automate increasing the Object-Version number, as follows:
Additional query words:
Keywords : exc5 exc55 |
Last Reviewed: October 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |