Red Hat 8.1 Configuration And Command Reference page 222

Directory server; configuring and managing with command-line utilities
Hide thumbs Also See for 8.1:
Table of Contents

Advertisement

222
Chapter 7. Command-Line Scripts
Syntax
db2index.pl [ -v ] -D rootdn { -w password | -w - | -j filename } -n backendInstance [ -t
attributeName(:indextypes(:mathingrules)) ] [ -T vlvAttributeName ]
Options
T he script db2index.pl creates an entry in the directory that launches this dynamic task. T he entry is
generated based upon the values provided for each option.
T able 7.21. db2index.pl Options
Option
-D rootdn
-j filename
-n backendInstance
-t attributeName{:indextypes(:mathingrules)}
-T vlvAttributeName
-v
-w password
-w -
7.4 .5. db2ldif.pl (Exports Database Contents to LDIF)
Exports the contents of the database to LDIF. T his script creates an entry in the directory that launches
this dynamic task. T he entry is generated based upon the values provided for each option. Ellipses
indicate that multiple occurrences are allowed.
Syntax
db2ldif.pl [ -v ] -D rootdn { -w password | -w - | -j filename } { -n backendInstance | -s
includeSuffix ... } [ -x excludeSuffix ... ] [ -a outputFile ] [ -N ] [ -r ] [ -C ] [ -u ] [ -U ] [ -m ] [ -E ] [ -1
] [ M ]
Options
T o run this script, the server must be running, and either the -n or -s option is required.
Description
Gives the user DN with root permissions, such
as Directory Manager.
T he name of the file containing the password.
Gives the instance to be indexed. If the instance
is not specified, the script reindexes all instances.
Gives the name of the attribute to be indexed. If
omitted, all the indexes defined for the specified
instance are generated. Optionally, this can
include the index type (eq, pres, sub, approx)
and a matching rule OID.
Gives the names of the VLV attributes to be
reindexed. T he name is the VLV index object's
common name in cn=config.
Verbose mode.
Gives the password associated with the user DN.
Prompts for the password associated with the
user DN.

Advertisement

Table of Contents
loading

Table of Contents