Novell Home

Weekly Health Check for NDS

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 18 Aug 1999
 

Here's a very useful checklist outlining ten basic NDS maintenance and prevention checks you should do each week for every NetWare 4.1x file server. This list has become part of many people's regular routine. We present it here in checklist format for your convenience.

From time to time the TIDS are updated, so you may want to check the Knowledgebase version of this TID for Support's most current version.

Important Note: Step 10, Repair local DS database, should be performed after business hours and only when errors occur during checks 1-9.

 

Operation

Explanation

1

DS versions (DSRepair)

The DS.NLM should be the same version on every NetWare 4.1x file server in the tree. Performing a time synchronization check within DSRepair will report the DS.NLM version for each NetWare 4.x file server in the tree.

2

Time synchronization (DSRepair)

Time synchronization is critical for Directory Service functions. This operation can be performed from the "Available Options" menu of DSRepair.

3

Server-to-server synchronization (DSTRACE)

A server must have a replica to display any Directory Services trace information. From the file server console prompt, type:

SET DSTRACE=ON (this activates the trace screen for Directory Services transactions)
SET DSTRACE=*H (this initiates synchronization between file servers)

The Directory Services trace screen can be viewed by selecting Directory Services from the list of Current Screens made available by pressing the two keys <ctrl> <esc> simultaneously. If there are not any errors, there will be a line displaying "All processed = YES." This message will be displayed for each partition contained on this server.

If the information is more than can fit on a single screen, use the following commands:

SET TTF=ON (sends dstrace screen to SYS:SYSTEM\DSTRACE.DBG file)
SET DSTRACE=*R (resets the file to 0 bytes)
SET TTF=OFF (once NDS has completed synchronizing all partitions)

You can then map a drive to your server's SYS:SYSTEM directory and bring the DSTRACE.DBG file up in a text editor. Search for "-6" (this will show any NDS errors during synchronization, such as -625), or "YES" (this will show successful synchronization for a partition).

4

Replica synchronization (DSRepair)

A server must have a replica for this operation to display replica synchronization status. In DSRepair from the "Available Options" menu select "Report synchronization status".

5

External references (DSRepair)

In DSRepair from the "Available Options" menu select "Advanced options menu", then select "Check external references". This option will display external references and obituaries and will show you the states of all servers in the back link list for the obits.

6

Replica state (DSRepair)

In DSRepair from the "Available Options" menu select "Advanced options menu", then select "Replica and partition operations", and verify the replica state is ON.

7

Remote server IDs (DSRepair)

In DSRepair from the "Available Options" menu select "Advanced options menu", then select "View remote server ID list". Press <enter> and this should bring up the "Remote Server ID Options" menu; select "Verify all remote server IDs". This option executes authentication from server to server using the remote server's ID. This option verifies this server's ID on the other servers.

8

Replica ring (DSRepair)

Run DSRepair on the server holding the MASTER replica of each partition and also on one of the servers holding a Read/Write replica to check for replica ring mismatches. From the "Available Options" menu select "Advanced options menu", then select "Replica and partition operations", select "View replica ring", and verify that the servers holding replicas of that partition are correct.

9

Schema (DSTRACE)

A server must have a replica to display any Directory Services trace information. From the file server console prompt, type

SET DSTRACE=ON (this activates the trace screen for Directory Services transactions)
SET DSTRACE=+SCHEMA (this will display schema information)
SET DSTRACE=*SS (this initiates schema synchronization)

The Directory Services trace screen can be viewed by selecting Directory Services from the list of Current Screens made available by pressing the two keys <ctrl> <esc> simultaneously. Check for the message "SCHEMA: All Processed = YES"

10

Repair local database (DSRepair)--

IMPORTANT:This step should be performed after business hours and only when errors occur during checks 1-9.

This option will lock the Directory Services database. Authentication cannot occur to this server with Directory Services locked, i.e., users will not be able to login to this server during this operation. For this reason, this operation should be performed after business hours.

Note: DSTRACE if left operating in some cases will increase utilization. After completion of all DSTRACE checks enter the following DSTRACE commands:

Set DSTRACE=nodebug
Set DSTRACE=+min
Set DSTRACE=off

This will minimize filters and turn DSTRACE off.


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

© 2014 Novell