サーバー・セットアップ・アプリケーションを Deployment Manager に手動でデプロイするには、クラスター用の Deployment Manager サーバーにサーバー・セットアップ・アプリケーションを配置するための Jython スクリプトを実行します。
このタスクについて
V7.5 より前のバージョンでは、サーバー・セットアップ・アプリケーションをクラスター用の Deployment Manager に直接インストールする必要がありました。V7.5 以降のバージョンでは、サーバー・セットアップ・アプリケーションをクラスター内のアプリケーション・サーバーにインストールします。
手順
- Rational_Asset_Manager_install_directory¥ram¥conf¥bin フォルダー内で次のスクリプトを見つけます。
- deployClusterSetup.py
- UninstallSetup.py
- Rational Asset Manager サーバー・セットアップ・エンタープライズ・アーカイブを Deployment Manager サーバーにデプロイするには、次のコマンドを実行します (Windows の場合)。
wsadmin.bat -lang jython -user user_name -password password -f install_dir¥ram¥conf¥bin¥deployClusterSetup.py install_dir/ram/apps/was/com.ibm.ram.repository.setup.web.ear com.ibm.ram.repository.setup.web.ear context_root
AIX®、Linux、または Linux for zSeries® の場合は、次のコマンドを実行します。
wsadmin.sh -lang jython -user user_name -password password -f install_dir/ram/conf/bin/deployClusterSetup.py install_dir/ram/apps/was/com.ibm.ram.repository.setup.web.ear com.ibm.ram.repository.setup.web.ear context_root
ここで、
- user_name は、IBM WebSphere Application Server 管理者の名前です。
- password は、管理者のパスワードです。
- install_dir は、Rational Asset Manager のインストール・ディレクトリーです。
- context_root (オプション) は、サーバー・セットアップ・アプリケーションが使用するコンテキスト・ルートです。値を指定しない場合、サーバー・セットアップ・アプリケーションのコンテキスト・ルートは、デフォルトの ram.setup になります。
注: Jython スクリプトへのパスには、Windows では円記号 (¥) を使用し、AIX および Linux ではスラッシュ (/) を使用する必要があります。.ear ファイルへのパスには、プラットフォームに関係なくスラッシュを使用する必要があります。
- WebSphere Application Server 管理コンソールを起動して、管理者としてログインします。
- アプリケーションを開始します。
- 「ナビゲーション」ペインで、をクリックします。
- 「WebSphere エンタープライズ・アプリケーション」をクリックします。
- com.ibm.ram.repository.setup.web.ear アプリケーションを選択して、「開始」をクリックします。
- これで、サーバー・セットアップ・アプリケーションを使用して、他のアプリケーション・ファイルをデプロイし、システムを構成することができます。サーバー・セットアップ・アプリケーションを使用したアプリケーション・ファイルのデプロイと構成を参照してください。
次のタスク
サーバー・セットアップ・アプリケーションを Deployment Manager サーバーからアンインストールするには、次のコマンドを実行します (Windows の場合)。
wsadmin.bat -conntype NONE -lang jython -f install_dir¥ram¥conf¥bin¥UninstallSetup.py com.ibm.ram.repository.setup.web.ear
AIX、Linux、または Linux for zSeries の場合は、次のコマンドを実行します。
wsadmin.sh -conntype NONE -lang jython -f install_dir/ram/conf/bin/UninstallSetup.py com.ibm.ram.repository.setup.web.ear