opends

OpenDs db location


Can the data storage location be defined?

For instance, can the location of the application be installed in one location on the file system and the location of the directory for the database (db) be defined in another location on the file system?

Let us say that OpenDs has been installed at

C:\Users\james\OpenDS\

Can the db directory be defined as some thing other than

C:\Users\james\OpenDS\db

?

Such as

d:\db

?


Solution

  • Yes, the DB location may be explicitly set when creating a new Database Backend. However, once defined, it is not possible to change it.

    This was discussed in OpenDJ mailing list in December 2011. See the thread starting here: http://lists.forgerock.org/pipermail/opendj/2011-December/001140.html

    An alternate possibility, at least on Linux, is to move the db directory to another location and recreate OpenDS/db as a symbolic link to the new location.

    Kind regards,

    Ludovic.