Usage
Here are a few sample commands:
•
To reindex all the database index files:
$ db2index
•
To reindex
and
cn
$ db2index -n userRoot -t cn -t givenname
•
To reindex
in the database where the root suffix is
cn
$ db2index -s "dc=example,dc=com" -t cn
Options
Option
Parameter
backendInstance
-n
includeSuffix
-s
attributeName
-t
vlvAttribute
-T
dsml2db (Import DSML document contents into
database)
Imports the contents of the DSML version 1.0 document into the database. To run
this script, the server must be stopped.
Syntax
Shell script (UNIX):
Batch file (Windows):
in the database instance
givenname
Description
Instance to be reindexed.
Suffixes to be included or the subtrees to be included if -n
has been used.
Name(s) of the attributes to be reindexed.
Name(s) of the VLV attributes to be reindexed.
dsml2db -n backendInstance | {-s includeSuffix}* [{-x
excludeSuffix}*] {-i dsmlFile}
dsml2db -n backendInstance | {-s includeSuffix}* [{-x
excludeSuffix}*] {-i dsmlFile}
Shell and Batch Scripts
:
userRoot
dc=example,dc=com
Chapter 8
Command-Line Scripts
:
255