Sun Cluster への WebSphere MQ の配備方法を決定します。
配備する WebSphere MQ インスタンス数を決定します。
各 WebSphere MQ インスタンスに使用させるクラスタファイルシステムを決定します。
WebSphere MQ クラスタファイルシステムをマウントします。
WebSphere MQ インスタンスにフェイルオーバーファイルシステムを使用させる場合は、手動でファイルシステムをマウントする必要があります。
Sun Cluster 内の全ノードに WebSphere MQ をインストールします。
WebSphere MQ はローカルディスクにインストールすることをお勧めします。ソフトウェアをローカルファイルシステムにインストールした場合と、クラスタファイルシステムにインストールした場合のメリットとデメリットについては、『Sun Cluster 3.1 データサービスのインストールと構成』の 3 ページ、「アプリケーションバイナリの格納先の決定」を参照してください。
アプリケーションバイナリの保管場所に関係なく、Sun Cluaster 内の WebSphere MQ が稼働するすべてのノードに WebSphere MQ をインストールします。これは、WebSphere MQ の pkgadd がホスト上で複数のシンボリックリンクを追加設定するためです。
WebSphere MQ は、IBM's WebSphere MQ for Sun Solaris — Quick Beginnings マニュアルに従ってインストールしてください。
WebSphere MQ Manager を作成します (複数可)。
WebSphere MQ V5.3 にはバグがあり、crtmqm を実行して WebSphere MQ Manager を作成するときに、デフォルトの設定である LogDefaultPath=/var/mqm/log を使用すると問題が起きます。たとえば、crtmqm コマンドでは AMQ7064: Log path not valid or inaccessible. と表示されます。
この問題を回避するには、WebSphere MQ Manager を作成するときに、-ld パラメータを指定しなければなりません。たとえば、crtmqm -ld /global/mqm/log/<qmgr> <qmgr> と指定します。
こうすると、別の <qmgr> ディレクトリ /global/mqm/log/<qmgr>/<qmgr> になります。しかし、バグは回避できます。
LogDefaultPath=/var/mqm/log を使用するときに -ld パラメータを指定しなければならないというこのバグは IBM に報告済みであり、現在、修正作業中です。
# crtmqm qmgr1 AMQ7064: Log path not valid or inaccessible. # # crtmqm -ld /global/mqm/log/qmgr1 qmgr1 WebSphere MQ queue manager created. Creating or replacing default objects for qmgr1 . Default objects statistics : 31 created. 0 replaced. 0 failed. Completing setup. Setup completed. # # cd /global/mqm/log/qmgr1 # # ls -l total 2 drwxrwx--- 3 mqm mqm 512 Jan 10 11:44 qmgr1 # # cd qmgr1 # # ls -l total 12 drwxrwx--- 2 mqm mqm 512 Jan 10 11:44 active -rw-rw---- 1 mqm mqm 4460 Jan 10 11:44 amqhlctl.lfh # # pwd /global/mqm/log/qmgr1/qmgr1 # # cd /global/mqm/qmgrs/qmgr1 # # more qm.ini #*******************************************************************# #* Module Name: qm.ini *# #* Type : MQSeries queue manager configuration file *# # Function : Define the configuration of a single queue manager *# #* *# #*******************************************************************# #* Notes : *# #* 1) This file defines the configuration of the queue manager *# #* *# #*******************************************************************# ExitPath: ExitsDefaultPath=/var/mqm/exits/ #* *# #* *# Log: LogPrimaryFiles=3 LogSecondaryFiles=2 LogFilePages=1024 LogType=CIRCULAR LogBufferPages=0 LogPath=/global/mqm/log/qmgr1/qmgr1/ LogWriteIntegrity=TripleWrite Service: Name=AuthorizationService EntryPoints=10 ServiceComponent: Service=AuthorizationService Name=MQSeries.UNIX.auth.service Module=/opt/mqm/lib/amqzfu ComponentDataSize=0 QueueManagerStartup: Chinit=No # |