Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition

ProcedureTo Configure Directory Proxy Server as a Connection Based Router

  1. Create and configure one or more connection handlers as described in Creating, Configuring, and Deleting Connection Handlers.

    You can also use the default connection handler.

  2. Configure all connection handlers to route requests to the root data view only.

    For example:

    $ dpconf set-connection-handler-prop -h host1 -p 1389 myConnectionHandler \
     data-view-routing-policy:custom data-view-routing-custom-list:"root data view"
  3. Create and configure a data source for each back-end LDAP server as described in Creating and Configuring LDAP Data Sources.

    For example:

    $ dpconf create-ldap-data-source -h host1 -p 1389 myDataSource host2:2389
  4. Create and configure a data source pool as described in Creating and Configuring LDAP Data Source Pools.

    For example:

    $ dpconf create-ldap-data-source-pool -h host1 -p 1389 myDataSourcePool
  5. Attach all of the data sources to the data source pool as described in Attaching LDAP Data Sources to a Data Source Pool.

    For example,

    $ dpconf attach-ldap-data-source -h host1 -p 1389 myDataSourcePool myDataSource
  6. Configure each data source to authenticate clients by using BIND replay as described in Forwarding Requests With Bind Replay.

    For example:

    $ dpconf set-ldap-data-source-prop -h host1 -p 1389 myDataSource \
  7. Configure affinity between the client connection and the data source pool as described in Configuring Client Affinity.

    For example:

    $ dpconf set-ldap-data-source-pool-prop -h host1 -p 1389 myDataSourcePool \
     enable-client-affinity:true client-affinity-policy:read-write-affinity-after-write