DB2INDEX(8) System Manager's Manual DB2INDEX(8)NAME
db2index - Directory Server script for indexing attributes
SYNOPSIS
db2index [-Z serverID] [-n backend | {-s includeSuffix}* -t attribute[:indextypes[:matchingrules]] -T vlvTag] [-h]
DESCRIPTION
Reindexes the database index files. The Directory Server must be stopped prior to running this script.
OPTIONS
A summary of options is included below:
-Z Server Identifier
The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped.
-n Backend Name
The name of the LDBM database to reindex. Example: userRoot
-s includeSuffix
Specifies suffixes to be included or the subtrees to be included
-t attributeName[:indextypes[:matchingrules]]
The attribute to index. Optionally you can specify a comma separated list of index types: eq, sub, pres, and approx. An optional
matching rule OID can also be set.
-T vlvTag
This is the name of the vlv index entry under cn=config.
-h
Display the usage.
EXAMPLE
db2index -n userRoot -t uid:eq,sub:1.3.6.1.4.1.42.2.27.9.4.76.1 -t cn:eq,pres
db2index -Z instance2 -s 'dc=example,dc=com' -t uid:eq:pres:sub -t sn
db2index -Z instance3
DIAGNOSTICS
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
AUTHOR
db2index was written by the 389 Project.
REPORTING BUGS
Report bugs to http://bugzilla.redhat.com.
COPYRIGHT
Copyright (C) 2013 Red Hat, Inc.
Mar 5, 2013 DB2INDEX(8)
Check Out this Related Man Page
DN2RDN(8) System Manager's Manual DN2RDN(8)NAME
dn2rdn - Directory Server script to check for outdated index versions
SYNOPSIS
dn2rdn [-Z serverID] [-h] [-f] [-v] [-d debuglevel]
DESCRIPTION
Checks the database index version, and if it's in a old format, then it will rebuild the indexes. The server instance needs to be stopped
prior to running this script.
OPTIONS
A summary of options is included below:
-Z Server Identifier
The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped.
-d Debug Level
Sets the debugging level.
-f
Force the upgrade.
-v
Display the version of the Directory Server.
-h
Display the usage.
EXAMPLE
dn2rdn
dn2rdn -Z instance3 -f
DIAGNOSTICS
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
AUTHOR
dn2rdn was written by the 389 Project.
REPORTING BUGS
Report bugs to http://bugzilla.redhat.com.
COPYRIGHT
Copyright (C) 2013 Red Hat, Inc.
Mar 5, 2013 DN2RDN(8)
Hello Team,
I have script which gives below output.
Server clustServer11 is in a STARTED state
Server clustServer12 is in a STOPPED state
Server clustServer21 is in a STOPPED state
I would like to prepare script which will grep stop word from the above output and send an email alert. (5 Replies)
I need to install a tomcat6 with multiple instances like instance1,instance2 and instance3 in a server.
I came to know that for that we need to install tomcat6,apache2.0,mod_jk1.2 and jre with tools.jar installed.And we need to create multiple instances with same web.xml and difference... (0 Replies)
Hi all,
I have a problem when I try to create a Directory Server on Directory Service Control Center - DSCC.
The log shows the following:
Creating Directory Server test1:389. Server Logs:
couldn't set locale correctly
couldn't set locale correctly
Directory '/var/ds/' already exists... (1 Reply)