Exit Print View

Sun OpenDS Standard Edition 2.2 Administration Guide

Get PDF Book Print View
 

Document Information

Before You Start

Starting and Stopping Your Server Instance

Configuring the Server Instance

Configuring the Proxy Components

Configuring Network Groups

Creating a Network Group

To Create a Network Group

Modifying Network Group Properties

Creating a Network Group Quality of Service Policy

To Modify a Network Group Quality of Service Policy

Configuring a Workflow

Listing Existing Workflows

Viewing Workflow Properties

Creating a Workflow

Configuring Workflow Elements

Listing Workflow Elements

Configuring an LDAP Proxy

Listing LDAP Proxy Elements

Listing LDAP Server Extensions

Listing Proxy Workflow Elements

Viewing LDAP Proxy Element Properties

Viewing LDAP Server Extension Properties

Viewing Advanced LDAP Server Extension Properties

Viewing Proxy Workflow Element

Adding an LDAP Proxy

Creating an LDAP Server Extension

Creating a Proxy LDAP Workflow Element

Modifying an LDAP Proxy

Modifying LDAP Server Extension Properties

Modifying LDAP Server Extension Advanced Properties

LDAP Data Source Monitoring Connection Properties

Modifying a Proxy LDAP Workflow Element Properties

Configuring Load Balancing

Configuring Load Balancing

Creating a Load Balancing Workflow Element

Creating a Load Balancing Algorithm

Creating the Load Balancing Routes

Modifying Load Balancing Properties

Modifying the Load Balancing Algorithm Type

Modifying the Load Balancing Route Properties

Setting Client Connection Affinity

Deleting Load Balancing Elements

Configuring Distribution

Configuring Distribution

Creating a Distribution Workflow Element

Creating a Distribution Algorithm

Creating a lexico or numeric Distribution Partition

Creating a dnpattern Distribution Partition

Managing Modify DN Requests

Deleting Distribution

Configuring the Global Index

Configuring Global Index Catalogs

To Create a Global Index Catalog Containing Global Indexes

To View Global Index Catalog Properties

Modifying the Properties of a Global Index Catalog

To View Global Index Properties

To Import Contents of a File into a Global Index Catalog

To Export Contents of a Global Index Catalog to a File

To Associate a Global Index Catalog to a Distribution

To Disassociate a Global Index Catalog From a Distribution

To Add a Global Index to a Global Index Catalog

To Remove a Global Index From a Global Index Catalog

Configuring Controls Required by the Global Index Catalog with Sun OpenDS Standard Edition

Replication of Global Index Catalogs

To Enable Global Index Catalog Replication

To Initialize Global Index Catalog Replication

To Disable Global Index Catalog Replication

To View the Status of a Replicated Global Index Catalog Configuration

Logging of Replication Activities

Lifecycle Examples for Replicated Global Index Catalogs

Configuring Security Between Clients and Servers

Configuring Security Between the Proxy and the Data Source

Configuring Servers With the Control Panel

Managing Directory Data

Replicating Directory Data

Controlling Access To Data

Managing Users and Groups

Monitoring Sun OpenDS Standard Edition

Improving Performance

Advanced Administration

Setting Client Connection Affinity

When client connection affinity is defined, requests from a specified client connection are distributed to the same server, bypassing the load balancing algorithm set. Client connection affinity is set at the network group level.

To set client connection affinity, use the dsconfig create-network-group-qos-policy command. For more information, see Creating a Network Group Quality of Service Policy.

Example 3
Example of Client Connection Affinity Rejected

When client connection affinity is set, the load balancing algorithm is bypassed as long as the constraints of the weights defined is respected.

For example, assume that the following routes are set with the following weights:

It is clear that LB-route1 receives all the add request, and LB-route2 receives all the search requests.

Lets assume that the load balancing deployment in this example is set with a client connection affinity of all-requests-after-first-write-request, for example. If the load balancing deployment receives the following string of requests: Add, Search, Add, typically, the client connection affinity would send the Search request to the same route (LB-route1) as the first Add request. However, in this case, since Search requests are not allowed on LB-route1, the load balancing algorithm is not bypassed by the client affinity.