Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

DNS

OpenDJ replication requires that you use fully qualified domain names, such as opendj.example.com so we'll use,

...

This is the hosts file from Ubuntu 14.x.

Setup Java

Warning
Java 8 is not supported with this version so use Java 7.

...

Code Block
languagebash
cd /opt/opendj

./setup --cli
Please set OPENDS_JAVA_HOME to the root of a Java 6 update 10 (or higher) installation or edit the java.properties file and then run the dsjavaproperties script to specify the Java version to be used.

Install Java

Forget about using editing the java.properties. Instead, first install JRE per the Zero Footprint Java on Ubuntu instructions using serveradmin. The only slight change is that we will move the JRE into the following folder using a root enabled account,

...

I thought about using oracle server jre edition, but given certificate things, it's best to use the most popular and tested which is standard jre.

Configure Java Environment Path

We set the environment variable for serveradmin by editing the profile for the account running opendj. In this case, serveradmin,

...

There is still a need for OPENDS environment. Variable. Looks like since 2.4.5 this was somewhat fixed (ie OPENDJ is now being used), but some parts of the code are still using OPENDS so you need both. Report this when I have time.

Command Line Setup

Do everything as the user that will be running OpenDJ. In our tutorial we will use serveradmin unless otherwise indicated,

OpenDJ Download and Prep

First grab the software and unzip,

...

Now with LXC, you can easily setup multiple machines (instead of using just one machine) to try out replication so I have dropped the opendj1 folder name convention from previous tutorials. Uniformity also makes it easier to compare instances too.

Start the Setup

Run the command line setup using the opendj dedicated account,

...

Code Block
What would you like to do?
    1)  Set up the server with the parameters above
    2)  Provide the setup parameters again
    3)  Print equivalent non-interactive command-line
    4)  Cancel and exit
Enter choice [1]: 

See /tmp/opendj-setup-8737651315284839293.log for a detailed log of this operation.


Configuring Directory Server ..... Done.
Importing Automatically-Generated Data (20 Entries) .................. Done.


To see basic server configuration status and configuration you can launch /opt/opendj/bin/status

All should go well.

Verify Configuration with Server Status

You can verify things are good before starting,

...

(Talk about next steps and links here...).

References

Not bad but not good manual setup - http://opendj.forgerock.org/docs.html

...