Sun Directory Server Enterprise Edition 7.0 Administration Guide

ProcedureTo Configure Custom Distribution Algorithm

  1. Set the extension-jar-file-url property to contain the path of the Java Archive (JAR) file containing your distribution algorithm class.

    $ dpconf set-server-prop -h host -p port extension-jar-file-url:jar file path

    The jar file path can be replaced with a valid JAR file path such as file:/expt/dps/custom_plugin/myjar.jar.

  2. Before you configure custom-distribution-algorithm, set distribution-algorithm to none.

    $ dpconf set-ldap-data-view-prop view name distribution-algorithm:none
  3. Set the custom-distribution-algorithm property to your custom distribution algorithm class.

    $ dpconf set-ldap-data-view-prop view name \