PingDirectory

Advanced configuration

The following sections cover advanced configuration procedures for your company’s deployment needs.

Changing the replicationChanges DB location

About this task

If on-disk space issues arise, you can change the replicationChanges database (DB) location. The replication changelog database can live outside <server-root> and be placed in another location on the file system. To do this, specify the absolute path of the replication changelog directory.

Steps

  1. To change the database location for the replication changelog, use the dsconfig tool.

    By default, the database location is at <server-root>/changelogDb.

    Example:

    The following command sets the replication Changelog Backend to <server-root>/data/directory/changelogDb.

    Remember to include the LDAP connection parameters, such as host name, port, bindDN, and bindPassword.

    $ bin/dsconfig set-replication-server-prop \
      --provider-name "Multimaster Synchronization" \
      --set "replication-db-directory:/data/directory/changelogDb" \
      --bindDN "cn=Directory Manager" --bindPassword secret --no-prompt
  2. Stop the server.

    Example:

    $ bin/stop-server
  3. Move the DB files.

    Example:

    $ mv changelogDb /data/directory
  4. Restart the server.

    Example:

    $ bin/start-server