2011-2013ForgeRock ASrebuild-index1OpenDJrebuild-indexrebuild index after configuration changerebuild-indexoptionsDescriptionThis utility can be used to rebuild index data within a backend based
on the Berkeley DB Java Edition.OptionsThe following options are supported.Base DN of a backend supporting indexing. Rebuild is performed on
indexes within the scope of the given base DN.Indicates that indexes do not need rebuilding because they are known
to be empty and forcefully marks them as valid. This is an
advanced option which must only be used in cases where a degraded index is
known to be empty and does not therefore need rebuilding. This
situation typically arises when an index is created for an attribute which
has just been added to the schema.Names of index(es) to rebuild. For an attribute index this is
simply an attribute name. At least one index must be specified for
rebuild. Cannot be used with the
or options.Rebuild all indexes, including any DN2ID, DN2URI, VLV and
extensible indexes. Cannot be used with the
or options.Rebuild all degraded indexes, including any DN2ID, DN2URI, VLV and
extensible indexes. Cannot be used with the
or options.Path to temporary directory for index scratch files during index
rebuilding.Default value: import-tmpTask Backend Connection OptionsMaximum length of time (in milliseconds) that can be taken to
establish a connection. Use '0' to specify no time out.Default value: 30000DN to use to bind to the serverDefault value: cn=Directory ManagerDirectory server hostname or IP addressDefault value: localhost.localdomainBind password file Certificate key store pathNickname of certificate for SSL client authenticationSASL bind optionsDirectory server administration port numberDefault value: 4444Certificate trust store pathCertificate trust store PINCertificate key store PIN fileCertificate trust store PIN filePassword to use to bind to the serverUse to have the command prompt for the
password, rather than enter the password on the command line.Certificate key store PINTrust all server SSL certificatesTask Scheduling OptionsEmail address of a recipient to be notified when the task
completes. This option may be specified more than once.ID of a task upon which this task depends. A task will not start
execution until all its dependencies have completed execution.Email address of a recipient to be notified if an error occurs
when this task executes. This option may be specified more than
once.Action this task will take should one if its dependent tasks fail.
The value must be one of PROCESS, CANCEL, DISABLE. If not specified
defaults to CANCEL.Indicates the task is recurring and will be scheduled according
to the value argument expressed in crontab(5) compatible time/date
pattern.Indicates the date/time at which this operation will start when
scheduled as a server task expressed in YYYYMMDDhhmmssZ format for UTC
time or YYYYMMDDhhmmss for local time. A value of '0' will cause the
task to be scheduled for immediate execution. When this option is
specified the operation will be scheduled to start at the specified
time after which this utility will exit immediately.Utility Input/Output OptionsNo properties file will be used to get default command line
argument valuesPath to the file containing default property values used for
command line argumentsGeneral OptionsDisplay version informationDisplay usage informationExit Codes0The command completed successfully.1An error occurred while parsing the command-line arguments.ExamplesThe following example schedules a task to start immediately that
rebuilds the cn (common name) index.$ rebuild-index -p 4444 -h opendj.example.com -D "cn=Directory Manager"
-w password -b dc=example,dc=com -i cn -t 0
Rebuild Index task 20110607160349596 scheduled to start Jun 7, 2011 4:03:49 PM