Saturday, January 10, 2009

Novell eDirectory Health Checks -2

Server to Server Synchronisation Check

Server to server synchronisation status check ensures that the servers within a given replica ring are communicating correctly. However it does not guarantee that replicas are synchronised, a partition continuity check discussed later is required to verify this.

For Solaris or Linux execute the following commands:

su root

> /var/nds/ndstrace.log (this is the file where the information is saved)

set ndstrace = on

set ndstrace = nodebug

set ndstrace = +sklk (Enables synchronisation messages)

set ndstrace = +sync (Enables inbound synchronisation)

set ndstrace = *h (This initiates a synchronisation heartbeat)

set ndstrace = off (Give enough time to record synchronisation information)

To gather information to check server to server synchronisation use grep on ndstrace.log

grep “All processed = YES” /var/nds/ndstrace.log | wc -l (Will output those servers that are synchronising)

grep “All processed = NO” /var/nds/ndstrace.log | wc -l (Will output those servers that are not synchronising)

NB If you get any “All processed = NO” then investigate further!

Logout of server when finished.

No comments: