1DB2INDEX(8)                 System Manager's Manual                DB2INDEX(8)
2
3
4

NAME

6       db2index - Directory Server script for indexing attributes
7

SYNOPSIS

9       db2index   [-Z   serverID]   [-n   backend  |  {-s  includeSuffix}*  -t
10       attribute[:indextypes[:matchingrules]] -T vlvTag] [-v] [-h]
11

DESCRIPTION

13       Reindexes the database index  files.   The  Directory  Server  must  be
14       stopped prior to running this script.
15

OPTIONS

17       A summary of options is included below:
18
19       -Z Server Identifier
20              The  server  ID  of  the Directory Server instance.  If there is
21              only one instance on the system, this option can be skipped.
22
23       -n Backend Name
24              The name of the LDBM database to reindex.  Example: userRoot
25
26       -s includeSuffix
27              Specifies suffixes to be included or the subtrees to be included
28
29       -t attributeName[:indextypes[:matchingrules]]
30              The attribute to index.  Optionally you can specify a comma sep‐
31              arated  list  of  index  types:  eq,  sub, pres, and approx.  An
32              optional matching rule OID can also be set.
33
34       -T vlvTag
35              This is the name of the vlv index entry under cn=config.
36
37       -v     Display version
38
39       -h
40              Display the usage.
41

EXAMPLE

43       db2index  -n  userRoot  -t  uid:eq,sub:1.3.6.1.4.1.42.2.27.9.4.76.1  -t
44       cn:eq,pres
45
46       db2index -Z instance2 -s 'dc=example,dc=com' -t uid:eq:pres:sub -t sn
47
48       db2index -Z instance3
49

DIAGNOSTICS

51       Exit  status  is  zero if no errors occur.  Errors result in a non-zero
52       exit status and a diagnostic message being written to standard error.
53

AUTHOR

55       db2index was written by the 389 Project.
56

REPORTING BUGS

58       Report bugs to https://pagure.io/389-ds-base/new_issue
59
61       Copyright © 2017 Red Hat, Inc.
62
63
64
65                                March 31, 2017                     DB2INDEX(8)
Impressum