Server User Manual

Chapter 7. Command-Line Scripts
294
7.3.19. vlvindex (Creates Virtual List View Indexes)
To run the vlvindex script, the server must be stopped. The vlvindex script creates virtual list
view (VLV) indexes, known in the Directory Server Console as browsing indexes. VLV indexes
introduce flexibility in the way search results are viewed. VLV indexes can organize search results
alphabetically or in reverse alphabetical order, making it easy to scroll through the list of results. VLV
index configuration must already exist prior to running this script.
Syntax
vlvindex [ -d debugLevel ] [[ -n backendInstance ] | [ -s suffix ]] [ -T vlvTag ]
Options
Either the -n or the -s option must be specified.
Option Description
-d debugLevel Specifies the debug level to use during
index creation. Debug levels are defined in
Section 2.3.1.44, “nsslapd-errorlog-level (Error
Log Level)”
-n backendInstance Gives the name of the database containing the
entries to index.
-s suffix Gives the name of the suffix containing the
entries to index.
-T vlvTag VLV index identifier to use to create VLV indexes.
The Console can specify VLV index identifier for
each database supporting the directory tree, as
described in the Directory Server Administrator's
Guide. Define additional VLV tags by creating
them in LDIF and adding them to Directory
Server's configuration, as described in the Red
Hat Directory Server Administrator's Guide. Red
Hat recommends using the DN of the entry for
which to accelerate the search sorting.
Table 7.17. vlvindex Options
7.4. Perl Scripts
This section describes the following Perl scripts:
Section 7.4.1, “bak2db.pl (Restores a Database from Backup)”
Section 7.4.2, “cl-dump.pl (Dumps and Decodes the Changelog)”
Section 7.4.3, “db2bak.pl (Creates a Backup of a Database)”
Section 7.4.4, “db2index.pl (Creates and Generates Indexes)”
Section 7.4.5, “db2ldif.pl (Exports Database Contents to LDIF)”
Section 7.4.6, “fixup-memberof.pl (Regenerate memberOf Attributes)”