OpenDS Tips: Copying instances of OpenDS.

Opends Logo TagOne of the things we are very proud of with the OpenDS project, is its ease of use, and this is very well illustrated with the QuickSetup installer.

Based on our past experience, we’ve made sure that OpenDS server has no use of absolute paths.

For the developer, this is really handy. It allows you to move an installed OpenDS instance from one directory to another very easily: you just stop the server, move the instance to a larger or faster disk, and restart it.

Similarly, you can also create a new instance of the server by copying the installed server to a new location (instead of moving it). If you do this to run both instance, don’t forget to edit the dse.ldif file to change the port numbers (LDAP, LDAPS and Admin), and possibly the replication configuration if replication was enabled on the initial server.

In our daily tests with OpenDS, we use this capability a lot, especially when we run benchmarks. After having installed, configured and tuned the OpenDS instance, we make a copy that we start and run the tests against. When finished, we capture the desired results, and delete the instance. And we repeat the steps, making sure we have consistent results.

As all of our tests are done with multi-master replication enabled, we do tests with 2 instances on separated machines. So, we need to restore 2 instances to their initial state to reproduce a test. The ability to do “cp -r RefInstance/ TestInstance/” on both machine, is definitely a key advantage for us.

Note that if you install OpenDS 1.2 on OpenSolaris from the IPS package repository, there is a separation between the installation path (where the binaries and default configuration is stored) and the instance path (where the data and live configuration is stored). The instance path is stored in a file named instance.loc which is under /etc/opends/. Moving instances can be done, as long as the instance.loc file gets updated (manually).

Technorati Tags: , , , , ,

Come and meet OpenDS in New York…

On Tuesday March 17th, members of the OpenDS project will be participating to the OpenSSO Community Day, an unconference event for the developers, deployers and users of the OpenSSO project. As mentioned on the event wiki, we plan on leading a discussion on using LDAP and OpenDS as the Identity repository. Look at the list of suggested topics and add your own if you have some in mind.

The OpenSSO Community Day is free and only requires you to sign-up. There are only a few seats left, so you’d better hurry. Sign-up here.


Click here to check out
The OpenSSO Community Group!

CommunityOne East 2009

Then on Wednesday March 18th, I will be at CommunityOne East, a free and open developer conference. If you plan to be there and want to talk about OpenDS or LDAP, drop me a note and we’ll figure out a way to meet there. I will definitely be in the “OpenSSO: Enterprise Security” session, from 11:10am to 12:00pm.

And again if you have not registered for CommunityOne East yet, do it now. The main conference is free, space is limited. Register today. http://developers.sun.com/events/communityone/2009/east/

Technorati Tags: , , , ,