Using The Configfile Parameter To Configure The Directory Server - Red Hat DIRECTORY SERVER 8.0 Installation Manual

Hide thumbs Also See for DIRECTORY SERVER 8.0:
Table of Contents

Advertisement

Chapter 6. Advanced Setup and Configuration
Option
--logfile name
Table 6.1. setup-ds-admin Options
6.3.4. Using the ConfigFile Parameter to Configure the Directory
Server
The ConfigFile parameter in the .inf is an extremely useful tool to configure the directory from the
time it is set up. The ConfigFile parameter specified an LDIF file to import into the directory. Since
the ConfigFile parameter can be used multiple times, it is a good idea to have multiple LDIF files so
that the individual entries are easy to manage.
The ConfigFile parameter is set in the [slapd] section of the .inf.
For example, to configure a new Directory Server instance as a supplier in replication, ConfigFile
can be used to create the replication manager, replica, and replication agreement entries:
[slapd]
...
ConfigFile = repluser.ldif
ConfigFile = changelog.ldif
ConfigFile = replica.ldif
ConfigFile = replagreement.ldif
...
The LDIF file contains the entry information. For example, the replica.ldif contains the
information to configure the new Directory Server instance as a supplier:
dn: cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config
changetype: add
objectclass: top
objectclass: nsds5replica
objectclass: extensibleObject
cn: replica
nsds5replicaroot: dc=example,dc=com
nsds5replicaid: 7
nsds5replicatype: 3
72
Alternate Options
-l
Description
supplied
during
setup. Use
appropriate
caution
and
protection
with this
file.
This parameter
specifies a log file
to which to write the
output. If this is not
set, then the setup
information is written to
a temporary file.
Example
-l /export/
example2007.log
For no log file, set the
file name to /dev/
null:
-l /dev/null

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 8.0 and is the answer not in the manual?

Questions and answers

Table of Contents