Adding Multiple Databases To A Single Suffix; Using The Console; From The Command-Line - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Adding Multiple Databases to a Single Suffix

The following procedures describe adding multiple databases to a suffix using the
Console and the command-line.

Using the Console

In the Directory Server Console, select the Configuration tab.
1.
Expand the Data tree, and select the suffix to which you want to add another
2.
database.
From the Object menu, select New Database. You can also right click the suffix
3.
and select New Database from the menu.
The Create New Database dialog box appears.
Enter the name of the new database in the "Database Name" field.
4.
In the "Create database in" field, enter the path to the location where the data
5.
for your new database will be stored.
You can also click Browse to locate the path on your local machine.
Click OK to save your changes.
6.
A warning message displays telling you to declare a distribution function in
the suffix. The next procedure describes how to declare the function in a suffix.

From the Command-Line

Use the
ldapmodify
directory configuration file. The database configuration information is stored in the
cn=ldbm database,cn=plugins,cn=config
For example, to add a new database to the server
the configuration file by performing an
ldapmodify -a -h example1 -p 389 -D "cn=directory manager" -w
secret
The
utility binds to the server and prepares it to add an entry to the
ldapmodify
configuration file.
Next, you create the entry for the new database as follows:
dn: cn=Data2,cn=ldbm database,cn=plugins,cn=config
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: ou=people,dc=example,dc=com
command-line utility to add another database to your
ldapmodify
Chapter 12
Adding the Distribution Function to Your Directory
entry.
, you add a new entry to
example1
as follows:
Using the Custom Distribution Logic
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents