Vlvindex (creates virtual list view indexes), Syntax, Options – Red Hat 8.1 User Manual

Page 219: Perl scripts, Bak2db.pl (restores a database from backup), For information on the equivalent perl script, see, Backup)

Advertising
background image

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.

Table 7.17. vlvindex Options

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.

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)”
Section 7.4.10, “migrate-ds-admin.pl”
Section 7.4.7, “ldif2db.pl (Import)”
Section 7.4.8, “logconv.pl (Log Converter)”
Section 7.4.11, “ns-accountstatus.pl (Establishes Account Status)”
Section 7.4.12, “ns-activate.pl (Activates an Entry or Group of Entries)”
Section 7.4.13, “ns-inactivate.pl (Inactivates an Entry or Group of Entries)”
Section 7.4.14, “ns-newpwpolicy.pl (Adds Attributes for Fine-Grained Password Policy)”
Section 7.4.16, “remove-ds.pl”
Section 7.4.17, “repl-monitor.pl (Monitors Replication Status)”
Section 7.4.18, “schema-reload.pl (Reload Schema Files Dynamically)”
Section 7.4.19, “setup-ds.pl”
Section 7.4.20, “setup-ds-admin.pl”
Section 7.4.21, “verify-db.pl (Check for Corrupt Databases)”

7.4 .1. bak2db.pl (Restores a Database from Backup)

Restores a database from a backup.

Red Hat Directory Server 8.1 Configuration and Command Reference

219

Advertising