「Sun Java System Messaging Server」の編集履歴(バックアップ)一覧に戻る

Sun Java System Messaging Server - (2008/02/11 (月) 05:31:46) の編集履歴(バックアップ)


ダウンロード

Sunのサイトから以下をダウンロードします。
sun_java_commsuite5-ga-solaris-x86.zip

SunJavaCommunicationsSuiteのインストール

所定のディレクトリで展開し、以下のコマンドを実行します。
#/DOWNLOAD_DIRECTORY/Solaris_x86/installer
ウィザードに従ってインストールを進める。
とりあえず以下の2つ以外をインストールする。
ApplicationServerEnterpriseEdition8.2
HighAvailabilitySessionStore4.4


comm_dssetup.pl

comm_dssetup.pl を実行します。(Communication Suite を使用するのに必要な ldifファイルと登録スクリプトを生成します。)

# /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.08 (built Mon Dec 11 13:38:54 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_20080114223041.log.

Do you want to continue [y]:

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/opt/SUNWdsee/dsins1] :

Please enter the directory manager DN [cn=Directory Manager]:
Password:

Detected DS version 6.2

Will this directory server be used for users/groups [yes]:
A list of suffixes are as follows:
 dc=send,dc=test

Please enter the Users/Groups base suffix [dc=send,dc=test] :
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]:

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]:

Here is a summary of the settings that you chose:

  Server Root                        : /var/opt/SUNWdsee
  Server Instance                    : dsins1
  Users/Groups Directory             : yes
  Update Schema                      : yes
  Schema Type                        : 2
  DC Root                            : dc=send,dc=test
  User/Group Root                    : dc=send,dc=test
  Add New Indexes                    : yes
  ReIndex New Indexes Now            : yes
  Directory Manager DN               : cn=Directory Manager

Now ready to generate a shell script and ldif file to modify the  
Directory.
No changes to the Directory Server will be made this time.
Do you want to continue [y]:
Generating files...

Checking to see if Suffixes need to be added
  Will Create suffix o=comms-config
  Will Create suffix o=pab
  Will Create suffix o=PiServerDb

Successful Completion. Consult /var/tmp/dssetup_20080114223041.log 
for details

MessagingServerの設定

# /opt/SUNWmsgsr/sbin/configure
/usr/jdk/entsys-j2se/bin/java -Djava.library.path=/opt/SUNWmsgsr/lib  
-classpath /opt/SUNWmsgsr/lib:/usr/jdk/entsys-j2se/lib/classes.zip  
configure -saveState /opt/SUNWmsgsr/install/saveState20080114224519
Java Accessibility Bridge for GNOME loaded.

以下メニューに従い、入力します。(ほぼデフォルト)
FQDN:intelli.send.test
インストールディレクトリ:/var/opt/SUNWmsgsr
以下3つを選択
●1  メッセージ転送エージェント    0 bytes
●2  メッセージストア    0 bytes
●3  Messenger Express (非推奨、JES6 で削除)    0 bytes

ユーザー名を入力 :mailsrv
UNIX グループを入力 :mail

ユーザー/グループサーバー LdapURL: ldap://intelli.send.test:389
次でバインド:  cn=Directory Manager
パスワード: ****
 
ポストマスターのメールアドレスを入力: admin@send.test
パスワードを入力: *****
電子メールのデフォルトドメインを入力: send.test
組織 DN を入力: o=ms,dc=send,dc=test←メールアカウントを増やす場合は
o=ms配下にアカウントを追加する。

インストールシーケンスが流れて終了

サービスの再起動

# /opt/SUNWmsgsr/sbin/stop-msg
Connecting to watcher ...
WARNING: Cannot connect to the watcher process
job_controller server is not running
# /opt/SUNWmsgsr/sbin/start-msg
Connecting to watcher ...
Launching watcher ... 3763
Starting ens server ... 3764
Starting store server .... 3765

SunJavaSystemMessengerExpressへのアクセス

ブラウザからhttp://192.168.1.39(Port80)を指定
ユーザ名:admin パスワード:*** でログイン
もし、80番ポートがバッティングしていた場合は、以下のコマンドで変更できます。
#/opt/SUNWmsgsr/sbin/configutil -o service.http.port -v 8000
OK SET
変更後に再度サービス再起動を行います。