Exit Print View

Sun OpenDS Standard Edition 2.2 Deployment Planning Guide

Get PDF Book Print View

Document Information


1.  Overview of Sun OpenDS Standard Edition

2.  Overview of the Directory Server

3.  Overview of the Proxy Server

4.  Building Blocks of the Proxy Server

Overview of the Proxy Server

Network Groups


Workflow Element

Load Balancing Using the Proxy

Proportional Load Balancing

Failover Load Balancing

Saturation Load Balancing

Data Distribution Using the Proxy

Numeric Distribution

Lexico Distribution

DN Pattern Distribution

Global Index Catalog

5.  Example Deployments Using the Directory Server

6.  Example Deployments Using the Proxy Server

7.  Simple Proxy Deployments Using the Command Line Interface

8.  Deploying Advanced Proxy Architectures

Global Index Catalog

A global index catalog can be used with a distribution deployment. The global index catalog maps the entries to the distribution partition in which the data is held. When Sun OpenDS Standard Edition proxy receives a request from the client, the distribution looks up the attribute entry in the global index catalog, and forwards the client request to the correct partition. This diminishes the need for broadcasts. Moreover, if a modify DN request is made, the global index catalog will ensure that the entry is always found.

A global index catalog maps the entries based on specific attributes, such as employee number or telephone number. The value of the attribute to be indexed must be unique across all the entries. You cannot use a global index to map entries based on country, for example, as that information is not unique.

A global index catalog can include several global indexes. Each global index maps a different attribute. For example, you can have one global index catalog called GI-catalog, which includes a global index mapping the entries based on the telephone number and one mapping the entries based on the employee number. This means that you can forward client requests to the right partition using either the telephone number or the employee number.

Global indexes catalogs and global index are created and configured using the gicadm command. For more information see Configuring the Global Index in Sun OpenDS Standard Edition 2.2 Administration Guide and gicadm in Sun OpenDS Standard Edition 2.2 Command-Line Usage Guide.

The global indexes can be populated with data from LDIF files. The data from one LDIF file can be split into partitions using the split-ldif command. For more information, see split-ldif in Sun OpenDS Standard Edition 2.2 Command-Line Usage Guide

A global index catalog is held in memory and should be replicated, in order to avoid a single point of failure. For information on replicating the global index catalog, see Replication of Global Index Catalogs in Sun OpenDS Standard Edition 2.2 Administration Guide.

Example 4-7
Using a Global Index Catalog for Telephone Numbers

A typical example of a unique attribute which can be used to create a global index is a telephone number: the value of the attribute is unique, that is, only one person (employee, for example) can have that telephone number.

In the example below, the entries in the database have been split based on the telephone number. The global index includes the following information:

Partition ID

The global index does not store the name of the employees, location, and other attribute values that may be associated to the telephone number. It only maps the attribute indexed to the partition. The data associated to the indexed value (here telephone number) is stored in the remote LDAP server.

If an employee has multiple phone numbers, these are regarded as multi-valued entries. In this case, if the global index is created based on the telephone number, there will be two global index entries that will result in finding one employee, say Ben Brown.

In the example above, employee Ben Brown could have both telephone number 4011233 and 7054477 assigned to him. In this case, a search on one of Ben Brown's telephone number would return the correct partition, and all the information associated to the telephone number, including the name Ben Brown, regardless that he has two phone numbers attributed to him.