Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2529

Consolidate all writeable directories to a single parent

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Not a defect
    • Affects Version/s: 3.0.0
    • Fix Version/s: Not applicable
    • Component/s: packaging
    • Labels:
      None

      Description

      For running in containers (Docker / Kubernetes) it is highly desirable to have all writeable files and directories under a single parent. This parent gets mounted as a persistent volume - that can be attached / re-attached if the container is moved to a new host.

      This can be done on OpenDJ using a post install script which moves config/, logs/ db/ etc. to a new location, and updates the instance.loc directory.

      However - it would be nice to have this work out of the box so that DJ runs on Docker with no modification.

      A proposed convention would be something like:

      $DJHOME/instances/instance1

      And instance.loc would contain:
      ./instances/instance1

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              warren.strange@forgerock.com Warren Strange
              Dev Assignee:
              Matthew Swift
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: