Adding the Distribution Function to Your Directory
150
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
You can create the root entry in two ways:
•
Import the same LDIF file into each database using the
ldif2db
command-line
utility.
This LDIF file should contain the root entry as well as data that you want to
distribute across the databases. Only the data determined by the distribution
function to be appropriate for each database will be imported.
•
Create an LDIF file that contains the root entry. You can do this by exporting
the root entry (for example,
o=example.com
) in LDIF format using the
ldapsearch
command-line utility.
Then, import the LDIF file into each database using the
ldif2db
command-line
utility. If you have three databases for a single suffix, you need to import the
suffix entry three times.
When a subtree search is performed above a suffix that is distributed among
several databases, the search will be performed on all databases. This means that
the shared suffix entry that you create on each database (in the example,
o=example.com
) can be returned multiple times.
Adding the Distribution Function to Your Directory
To declare the distribution function to your directory, your need to add multiple
databases to a single suffix and then declare the distribution function in the suffix.
These procedures assume you have already created a suffix and associated it with a
single database. For the procedure on creating a new suffix and database, refer to
Chapter 2, “Creating Directory Entries,” in the Netscape Directory Server
Administrator’s Guide.
NOTE
You need to add all of the databases required for your distribution
algorithm before you deploy entry distribution. You cannot add
more databases later without changing the algorithm.
Whenever you install new distribution functions, be sure to restart
the Directory Server. Otherwise, the new libraries will not get
loaded properly.
Содержание NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Страница 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Страница 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 26: ...Types of Directory Server Plug Ins 26 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 38: ...Compiling a Directory Server Plug In 38 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 54: ...An Example Pre Operation Plug In 54 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 90: ...Processing an LDAP Abandon Operation 90 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 110: ...Using SASL with an LDAP Client 110 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 122: ...Specifying Start and Close Functions 122 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 214: ...Summary of Data Types and Structures 214 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 554: ...Functions for Registering Additional Plug Ins 554 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 596: ...Parameters for the Virtual Attribute Service 596 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...