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
-
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
-
Stop the server.
Example:
$ bin/stop-server
-
Move the DB files.
Example:
$ mv changelogDb /data/directory
-
Restart the server.
Example:
$ bin/start-server