ndsrepair issues when using ndsd -ndb

  • 3149887
  • 19-Feb-2008
  • 03-Jan-2017

Environment

Novell eDirectory 8.8 for Solaris
Novell eDirectory 8.8 for Linux
Novell eDirectory 8.8 for HP-UX
Novell eDirectory 8.8 for AIX

Situation

For various reasons there may be a requirement to start the eDirectory engine without starting the directory agent
This is performed using "/etc/init.d/ndsd start -ndb" or"rcndsd start -ndb"
If a database repair is run while the directory agent is closed the repair will fail IF/WHEN a temporary database is required during the repair. A temporary database is required when using the ndsrepair swicth "-u yes" or if a problem is encountered by repair where the fix requires the use of temporary files, e.g. a block error.

Resolution

ndsrepair will fail to execute the following operations in -ndb mode as theyrequire to create a temporary DIB set:

  • ndsrepair -R -u yes
  • ndsrepair -R -l yes -u yes
  • ndsrepair -U

Local database repair without usage of temporary DIB will still be running in-ndb mode which can be used to fix problems. In cases where DS agent cannot bebrought up at all then repair also cannot do anything as operations of repairneed agent to be running.

In cases where ndsd cores when starting then even ndsrepair won't work,as server won't be running. (This behavior has been the same for repairon Netware)

Additional Information

NOTE:  If running eDirectory on Linux systemd distributions such as SLES 12 or RHEL 7, refer to TID 7018431 for additional information.

At present there is no -ndb mode for eDirectory 8.8.1 for Linux/Solaris yet - For details and workaround See Novell TID#3586091

Change Log

3 Jan 2017 - mgould - add link to systemd TID