Red Hat 8.1 Configuration And Command Reference page 88

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

Advertisement

88
Chapter 2. Core Server Configuration Reference
nsArchiveDir
T his attribute gives the location of the directory to which to write the backup.
Parameter
Entry DN
Valid Values
Default Value
Syntax
Example
nsDatabaseT ypes
T his attribute gives the kind of database being archived. Setting the database types signals what kind of
backup plug-in the Directory Server should use to archive the database.
Parameter
Entry DN
Valid Values
Default Value
Syntax
Example
2.3.15.6. cn=index
Directory attributes can be indexed though the command line by creating a special task entry which
defines the parameters of the task and initiates the task. As soon as the task is complete, the task entry
is removed from the directory.
T he cn=index entry is a container entry for index task operations. T he cn=index entry itself has no
attributes, but each of the task entries within this entry, such as cn=task_ID, cn=index, cn=tasks,
cn=config, uses the following attributes to define the backup task.
An index task entry under cn=index can create a standard index by identifying the attribute to be
indexed and the type of index to create, both defined in the
Alternatively, the index task can be used to generate virtual list view (VLV) indexes for an attribute using
the
nsIndexVLVAttribute
attribute. T his is the same as running the vlvindex script.
For example:
dn: cn=example presence index, cn=index, cn=tasks, cn=config
objectclass: extensibleObject
cn: example presence index
nsIndexAttribute: "cn:pres"
dn: cn=example VLV index, cn=index, cn=tasks, cn=config
objectclass: extensibleObject
cn: example VLV index
nsIndexVLVAttribute: "by MCC ou=people,dc=example,dc=com"
As the index operation runs, the task entry will contain all of the server-generated task attributes listed in
Section 2.3.15.1, "T ask Invocation Attributes for Entries under
nsIndexAttribute
T his attribute gives the name of the attribute to index and the types of indexes to apply. T he format of
the attribute value is the attribute name and a comma-separated list of index types, enclosed in double
quotation marks. For example:
nsIndexAttribute: attribute:index1,index2
Parameter
Entry DN
Valid Values
Default Value
Description
cn=task_name, cn=restore, cn=tasks, cn=config
Any local directory location
Case-exact string
nsArchiveDir: /export/backups
Description
cn=task_name, cn=restore, cn=tasks, cn=config
ldbm database
ldbm database
Case-exact string
nsDatabaseT ype: ldbm database
nsIndexAttribute
attribute.
cn=tasks".
Description
cn=task_name, cn=index, cn=tasks, cn=config
Any attribute
T he index type, which can be pres (presence),
eq (equality), approx (approximate), and sub
(substring)

Advertisement

Table of Contents
loading

Table of Contents