Monday Jul 27, 2009

OpenDS 2.0 on Mac OS X with the latest JVM...

Opends2 PictoMacOSX 10.5.7There is an issue in the start and stop scripts that is preventing OpenDS 2.0 to be installed via Java Web Start on Mac OS X 10.5 with the latest version of the JVM (Update 4 a.k.a 1.6.0_13). I've discovered the problem at the same time we were releasing OpenDS 2.0.0 release candidate 4 which was planned to be the last release candidate. So the fix is not the release but has been committed to the trunk.

The issue is that the new JVM does use a larger default minimal heap size and reject any calls with -Xmx if the maximum heap size is smaller than its internal default (around 30MB).

Still OpenDS 2.0 can be installed on Mac OS X and used with the latest JVM, by downloading the Zip file, unzipping it and doing minor edition in the start-ds and stop-ds scripts.

$ unzip ~/Desktop/OpenDS-2.0.0.zip
Archive: /Users/ludo/Desktop/OpenDS-2.0.0.zip
creating: OpenDS-2.0.0/
...
inflating: OpenDS-2.0.0/upgrade
$ cd OpenDS-2.0.0/bin

In the start-ds and the stop-ds scripts, replace all occurences of the string "-Xms8M -Xmx8M" with "-client"

$ cp start-ds start-ds.orig
$ sed -e "s/-Xms8M -Xmx8M/-client/g" < start-ds.orig > start-ds
$ cp stop-ds stop-ds.orig
$ sed -e "s/-Xms8M -Xmx8M/-client/g" < stop-ds.orig > stop-ds

OpenDS QuickSetup App IconYou can now run the setup program (or launch the QuickSetup application) to install and configure the OpenDS directory server.

Technorati Tags: , , , , , ,

Thursday Feb 14, 2008

A completely new stack...

A couple of days ago, a "tweet" by SuperPat piqued my interest : OpenSolaris Developer Preview 2 running on Virtual Box on Mac OS X 10.5.2...

So I decided to try it as I've just updated my MacBook Pro to Mac OS X 10.5.2

I first downloaded and installed VirtualBox for OS X (beta 3, Intel Macs only).
I started VirtualBox and created my first New Virtual Machine, for Solaris, 1GB of memory, self expanding disk of 20GB.

Picture 7

I downloaded the Open Solaris Developer Preview 2 iso image and mounted it on the Virtual Machine:

Picture 16

I started the virtual machine, starting the live image of Open Solaris. When it's started, double click on the Install OpenSolaris icon and follow the installation wizard (it's so simple and straightforward now, congratulation to the OpenSolaris installer team):

Picture 2

Rebooted the virtual machine and voila...

Picture 12

Well, almost ! In order to get the network access to work, I followed the instructions from Alan and added the pcn driver on OpenSolaris.

And finally, I could install OpenDS with the QuickSetup.jnlp file and start doing serious work ;-)

Picture 15

Really, I don't think it could have been much simpler and quicker to install that complete stack on a machine. And you don't need Mac OS X to do it too... All you need is VirtualBox, OpenSolaris and OpenDS, all of them are based on open source projects and freely available.

Technorati Tags: , , , , , ,

About

This is the blog of a senior software engineer, specialized in LDAP, Directory Server and OpenDS. Ludovic Poitou works in France at the Grenoble Engineering Center, in the Directory Services Engineering team. Outside work, I love skiing and taking photo

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today