Novell Home

Timestamping Obits for Easy Cleanup

Novell Cool Solutions: Feature
By Brett Williams

Digg This - Slashdot This

Posted: 3 Feb 2003
 

New versions of DSREPAIR.NLM introduced an obituary timestamp switch, DSREPAIR -OT. When a local database repair is run this will re-timestamp all obituaries on that server.

The -OT switch should only be used in obituary cases where obituaries have stopped processing, even after rectifying a communication issue with another server in the obituary process. You must go through and identify what server(s) is not communicating, may be down, has been removed from the tree, or if there is are any communication issues on the network.

However, if there is a server that has obits that should be progressing and are not, you can follow this procedure to timestamp them. This will kick off the clean up process and fix them without the need for Novell Technical Services to dial in and forcefully remove.

SOLUTION: Time stamping All Obituaries on a server:

Load DSREPAIR -OT at the console prompt.
Run a Repair Local Database in the advanced options menu.
Choose: Check Local References = Yes
Run the repair
At the system console force the DS background process off using DSTRACE:

set dstrace=on 
set dstrace=+obit 
set dstrace=+j 
set dstrace=*f

Time stamping One Obituary on a server:

First you need the Entry ID (EID) for the obituary object that needs time stamping. You can find this by running DSREPAIR -A | Advanced Options | Check External References. This will produce an External Reference Check report.

Read the DSREPAIR.LOG and look for the obituary you want to time stamp in the External Reference Check report. The example below is a user delete obituary.

Found obituary at value CTS : 3A84CBF0 R=0005 E=0009, EID: 000184E1, DN: CN=user1.OU=users.O=novell.T=test_tree Value mts = 10-02-2001 15:04:48 R = 0005 E =0009, Type = 0001 DEAD, Flags = 0000

Found obituary at value CTS : 3A84CBF0 R=0005 E=000E, EID: 000184E1, DN: user1.OU=users.O=novell.T=test_tree Value mts = 10-02-2001 15:04:48 R = 0005 E =000E, Type = 0006 BACKLINK, Flags = 0000 Backlink: Type = 00000001 DEAD, RemoteID = FFFFFFFF, ServerID = 00008833, CN=nwserver1.OU=servers.O=novell.T=test_tree

Found obituary at value CTS : 3A84CBF0 R=0005 E=000F, EID: 000184E1, DN: CN=user1.OU=users.O=novell.T=test_tree Value mts = 10-02-2001 15:04:48 R = 0005 E =000F, Type = 0006 BACKLINK, Flags = 0000 Backlink: Type = 00000001 DEAD, RemoteID = FFFFFFFF, ServerID = 0000876F, CN=nwserver2.OU=servers.O=novell.T=test_tree

The above object EID is 000184E1.
Load DSREPAIR -OT at the console prompt.
From the Available Options menu choose Single Object Repair.
When prompted, enter the object's EID, for example 184E1.
DSREPAIR will time stamp the object.
At the system console force the DS background process off using DSTRACE:

set dstrace=on 
set dstrace=+obit 
set dstrace=+j 
set dstrace=*f 

The obituary should now process.

It should be noted that this will not always fix all obituaries that are not processing. There are some obituaries that will not process and you will require assistance from Novell Technical Services.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell