Archive for the ‘ opends ’ Category

Upgrading from OpenDS to OpenDJ

Posted in directory, Directory Services, directory-server, ForgeRock, java, ldap, opendj, opends, opensource on February 17th, 2011 by Ludo – Comments Off

OpenDJ 2.4.0 was released a couple of months ago, and we’re seeing a lot of interest for it, especially from people who’ve already been evaluating OpenDS.

It is possible, and very easy, to upgrade from OpenDS 2.x to the latest version of OpenDJ. Here’s the easiest and more error-proof way.

First start by downloading the latest version of OpenDJ from ForgeRock web site. Currently the most recent release is OpenDJ 2.4.0, but nightly builds of coming OpenDJ 2.5.0 are also available. While you can run the upgrade through the Java web start installer, I recommend that you download the Zip package and run the upgrade from the command line.

Download and/or copy the OpenDJ zip package on the machine which has the instance to upgrade. Do not unzip it.

Go in the directory of the instance to upgrade:

cd /local/OpenDS2.2/

From that place, run the OpenDS 2.2 upgrade command :

./upgrade

The first question you’re asked is to confirm you plan to do an upgrade, so press the key

The provide the full absolute path to the OpenDJ zip package, for example : /tmp/OpenDJ-2.4.0.zip

And then continue with the Upgrade program.

Should some customization of the schema or the configuration failing to be upgraded, the Upgrade program will stop and ask you what you want to do. You can review the details and decide to abort or continue the upgrade.

If you’re not sure about what to do, please consider continuing the upgrade. All files and customizations are preserved under the history directory and you can review them and decide if you want to try to reconfigure or not the upgraded server.

If you have a replicated environment, you can upgrade all the servers, one after the other, without interrupting the service nor changing anything in the replication configuration. The upgrade of a single server should take less than 5 minutes.

Prior to running an upgrade, we recommend you take a full backup of the server. A quick way to do this with small databases, is to stop the server and just fully copy it to another location. You can run the upgrade and then move back the copy in place if something didn’t run as expected.

Enjoy.


Filed under: Directory Services Tagged: directory, directory-server, ForgeRock, java, ldap, opendj, OpenDS, opensource

OpenDS 2.3.0 as embedded configstore in trunk

Posted in Build, embedded, opends on June 21st, 2010 by aldaris – Comments Off

In the last few days the OpenAM trunk has been upgraded to use OpenDS 2.3 for embedded datastore, which is quite a big step from OpenDS 1.0. This change also affects the building process, so here are the changes, that you need to do to be able to build your OpenAM again:

Download OpenDS 2.3.0-build003 extract the zip to opensso/products/opends folder. Copy the je.jar and OpenDS.jar from OpenDS-2.3.0-build003/lib folder into opensso/products/extlib directory (overriding the old ones). Run the following command: ./create_opends_zip.sh OpenDS-2.3.0-build003 copy the resulted opends.zip also in the extlib folder.

And off you go, you can build your OpenAM now any way you want. :)

Featuring YD Feedwordpress Content Filter Plugin