•
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
Optio
Parameter
n
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. The
are allowed.
Syntax
Shell script:
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}
userRoot
dc=example,dc=com
indicates that multiple occurrences
Chapter 8
Command-Line Scripts
Shell Scripts
:
:
263
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 and is the answer not in the manual?
Questions and answers