2006年 9月 15日 金曜日
Java ES 5 Beta: インストール事例: Communication Suite の設定 (commds_setup)
先日インストールした Communication Suite を今度は、設定してみます。この設定で、
1. Calendar Server 6 (CS) 2. Messaging Server 6.3 (MS) 3. Communications Express 6 (CommEx) 4. Communication Services Delegated Administrator (DA)の設定を行います。逆にいうと他の設定 (Directory Server や、Web Server など) は、installer で設定されるので、後は起動すればいいだけです。
Directory Server 6.0 の起動
# /opt/SUNWdsee/ds6/bin/dsadm start /var/opt/SUNWdsee/dsins1
サーバーが起動しました: pid=8550
#
Web Server 7.0 の起動
# /var/opt/SUNWwbsvr7/https-XXXXXXX.XXXXXXX/bin/startserv
Sun Java System Web Server 7.0-Technology-Preview-1 B05/15/2006 13:39
info: CORE3016: daemon is running as super-user
info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
info: WEB0100: Loading web module in virtual server [XXXXXXX.XXXXXXX] at [/amserver]
warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
info: WEB0100: Loading web module in virtual server [XXXXXXX.XXXXXXX] at [/ampassword]
warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
info: WEB0100: Loading web module in virtual server [XXXXXXX.XXXXXXX] at [/amcommon]
warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
info: WEB0100: Loading web module in virtual server [XXXXXXX.XXXXXXX] at [/amconsole]
warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
info: url: jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class
info: url: jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class
info: LogFile is: //var/opt/SUNWmfwk/logs/instrum.%g
info: HTTP3072: http-listener-1: http://XXXXXXX.XXXXXXX:80 ready to accept requests
info: CORE3274: successful server startup
#
Directry Server の方はシンプルでしたが、Web Server の方はいろいろ出力がありました。
[/amserver] とか、[/ampassword] といった 'am' で始まっているものは、Access Manager の
コンポーネントを Web Server に配備しているということです。また、mfwk が入っている行は、
Monitoring Console という、Java ES 5 からの新機能である、サーバーの状態をモニターする
ためのアプリケーションを設定しているということです。
念のため、Web Server の管理サーバーが起動しているか、確認してみましょう。
# /var/opt/SUNWwbsvr7/admin-server/bin/startserv info: server already running #となれば、準備は完了です。 それでも心配な人は、
http://XXXXXX:8800にアクセスして、Web Server の管理コンソールにログインできるか確認してもよいと思います。
# /opt/SUNWcomds/sbin/comm_dssetup.pl Welcome to the Directory Server preparation tool for Sun Java(tm) System communication services. dssetup Version 6.4-0.03 (built Thu Mar 30 22:24:22 PST 2006) This tool prepares your directory server for use by the communications services which include Messaging, Calendar and their components. The logfile is /var/tmp/dssetup_20060915175242.log. Do you want to continue [y]:これはもちろん y を選んでください。n を選ぶと終了してしまいます。
Please enter the full path to the directory where the
Directory Server instance(s) reside ("server-root"), or
an explicit Directory Server instance directory
Directory server root [/var/mps/serverroot] : /var/opt/SUNWdsee/dsins1
ここで、Directory Server のインスタンスディレクトリをしていします。
Directory Server を起動したときと同じです。
Please enter the directory manager DN [cn=Directory Manager]: Password:次に Directory Server への認証を要求されます。 [cn=Directory Manager] デフォルトなら、そのままでいいと思います。 パスワードは設定したものを入力してください。
Detected DS version 6.0
Will this directory server be used for users/groups [yes]:
A list of suffixes are as follows:
XXXXXXX
Please enter the Users/Groups base suffix [XXXXXXX] :
There are 3 possible schema types:
1 - schema 1 for systems with iMS 5.x data
1.5 - schema 2 compatibility for systems with iMS 5.x data
that has been converted with commdirmig
2 - schema 2 native for systems using Access Manager
Please enter the Schema Type (1, 1.5, 2) [2]:
次に Directory Server のスキーマ (データ構造)のバージョンを選択します。
Schema 1 は、以前の MS で使用されていたスキーマで、互換性のために
用意されています。スキーマ 1 は、今後スキーマ 2 へと移行していくのは
間違いないですが、スキーマ 1 をいつまでサポートするか、などは私には
わかりません... ここでは、もちろんスキーマ 2 を選びます。
Do you want to update the schema files [yes]: Do you want to configure new indexes [yes]: Do you want to Reindex the new indexes now [yes]:これは全部 yes を選んでください。 その後、設定ファイルの生成がされ、実際に Directory Server に 設定が書き込まれます。何回か、確認プロンプトがでますが、 それらはすべて yes にしてください。
:
:
The following files have been created:
/var/tmp/dssetup_20060915175242.sh
/var/tmp/dssetup_20060915175242.ldif
:
:
Successful Completion. Consult /var/tmp/dssetup_20060915175242.log for details
これらのファイルの位置は、問題が起きたときのためにとって
おいたほうがいいかもしれませんね。
次回は、Messaging Server の設定について書きます。
Posted at 06:34午後 9 15, 2006 by kenji in JES |