Directory server script to check for outdated index versions
dn2rdn [-Z serverID] [-h] [-f] [-v] [-d debuglevel]
Checks the database index version, and if it's in a old format, then it will rebuild the indexes. The server instance needs to be stopped prior to running this script.
A summary of options is included below:
-Z Server Identifier
The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped.
-d Debug Level
Sets the debugging level.
-f
Force the upgrade.
-v
Display the version of the Directory Server.
-h
Display the usage.
dn2rdn
dn2rdn -Z instance3 -f
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
dn2rdn was written by the 389 Project.
Report bugs to https://fedorahosted.org/389/newticket.
Copyright © 2013 Red Hat, Inc.