0

I am setting up a dev environment for a project where the user requires multiple OpenDS stores hosting separate information in each.

I have tried installing two OpenDS servers, bound to different ports and admin ports, and it installs fine. When I try to start the second OpenDS instance using the startup.bat batch I get a port already bound error on port 5444 (the OpenDS 2 admin port). Trying to connect with the admin console it states that the server isn't running, yet the startup.bat fails.

Is this a problem with OpenDS or the port I am binding to? I am not very familiar with which ports are free and OpenDS during the install procedure suggested 5444 so I assumed it would be free.

Does anyone know whether it is possible to host multiple OpenDS servers on one machine?

4

1 に答える 1

1

マイケル、

各インスタンスが独自のポートを使用する限り、OpenDS の複数のインスタンスを同じマシンにインストールできます。デフォルトのポートは 1389、1636、および 4444 です (管理者であり、他のディレクトリ サービスを実行していない場合を除きます。この場合、ポート 389 および 636 が提案されます)。setup.bat は、ポートが既に使用されているかどうかを検出しようとしますが、失敗する場合があります。1024 を超える任意のポートを選択できます。

Terry が述べたように、単一のインスタンスを複数のバックエンドとサフィックス (ベース DN) で構成する方が簡単かもしれません。ガイドの簡単な方法は次のとおりです。http://ludopoitou.wordpress.com/2009/01/20/opends-tips-multiple-suffixes-with-opends/

よろしく、

ルドヴィク

于 2011-07-26T18:35:47.630 に答える