プロファイルの管理と WebSphere Application Server および IBM HTTP Server のクイック リファレンス

このトピックでは、プロファイルの管理と WebSphere Application Server プロファイルおよび IBM HTTP Server の始動および停止の一般的な手順についてまとめます。

プロファイルの管理

表 1 は、プロファイル名、ルート ディレクトリ、プロファイルがデプロイされるポート番号などのプロファイル情報を検索する手順を示しています。 プロファイルの削除手順も含まれています。 プロファイルの管理について詳しくは、WebSphere Application Server インフォメーション センター (V8.5V8.0) を参照してください。

表 1. WebSphere Application Server - プロファイル管理タスク
タスク 手順
WebSphere Application Server プロファイルのリスト
サーバー上のすべてのプロファイルをリストするには、次のようにします。
  • Windows の場合: was_install_dir¥bin¥manageprofiles.bat -listProfiles
  • UNIX/Linux の場合:was_install_dir/bin/manageprofiles.sh -listProfiles
WebSphere Application Server プロファイルのルート ディレクトリの識別

WebSphere Application Server プロファイルのルート ディレクトリを識別するには、次のようにします。

  • Windows の場合:was_install_dir>¥bin¥manageprofiles.bat -getPath -profileName profile
  • UNIX/Linux の場合: was_install_dir/bin/manageprofiles.sh -getPath -profileName profile
プロファイルのポートの識別

プロファイルのポートを識別するには、次のようにします。

  1. プロファイルのルート ディレクトリを特定します。
  2. プロファイル情報ファイル was_profiles_dir/profile_name/logs/AboutThisProfile.txt を開きます。
  3. [HTTP トランスポート ポート] パラメータの値を読み取ります。
WebSphere Application Server プロファイルのアプリケーションの検索

WebSphere Application Server プロファイルのアプリケーションを検索するには、次のようにします。

  1. ブラウザを使用して、アプリケーションを含むプロファイルの WebSphere Application Server 管理コンソールに接続します (http://server:port/ibm/console)。
  2. [アプリケーション] > [アプリケーション タイプ] > [WebSphere エンタープライズ アプリケーション] とナビゲートします。 アプリケーションがリストされます。
WebSphere Application Server プロファイルからのアプリケーションの削除
Windows で WebSphere Application Server プロファイルからアプリケーションを削除するには、 次のようにします。
  1. アプリケーションを含むプロファイルの WebSphere Application Server 管理コンソールに、 次の URL を使用してブラウザから接続します。http://server:port/ibm/console
  2. [アプリケーション] -> [アプリケーション タイプ] -> [WebSphere エンタープライズ アプリケーション] とナビゲートします。
  3. 削除するアプリケーションの左側のボックスにチェック マークを付けます。
  4. [アンインストール] をクリックし、アクションを確認します。
  5. マスター構成に変更を保存します。
  6. 変更を適用するプロファイルを停止してから始動します。
WebSphere Application Server プロファイルの削除
WebSphere Application Server プロファイルを削除するには、次のようにします。
  1. 次のいずれかのコマンドを使用してプロファイルを削除します。
    • Windows の場合: was_install_dir¥bin¥manageprofiles.bat -delete -profileName profile
    • UNIX/Linux の場合: was_install_dir/bin/manageprofiles.sh -delete -profileName profile
  2. 次のコマンドを実行して、削除したプロファイルへの参照をプロファイル レジストリから確実に削除します。
    • Windows の場合: was_install_dir¥bin¥manageprofiles.bat -validateAndUpdateRegistry
    • UNIX/Linux の場合: was_install_dir/bin/manageprofiles.sh -validateAndUpdateRegistry
  3. profile_dir から始まるプロファイル ディレクトリ ツリーが、前のアクションで削除されていない場合は削除します。

WebSphere Application Server プロファイルおよび IBM HTTP Server の始動および停止

始動および停止の手順については、以下の表を参照してください。

WebSphere Application Server および IBM HTTP Server のその他の機能の開始と停止については、WebSphere Application Server インフォメーション センター (V8.5V8.0) で開始と停止のクイック リファレンス のトピックを検索してください。

表 2. WebSphere Application Server - 始動および停止手順
タスク 手順
WebSphere Application Server プロファイルの始動
注: デフォルトの WebSphere Application Server プロファイルを始動する場合は、このタスクの実行時にプロファイル名を指定または選択しないでください。
Windows の場合

WebSphere Application Server プロファイルを始動するには、次のどれかの方法を使用します。

  • [スタート] > [プログラム] > [IBM WebSphere] > [Application Server Vx.x] > [プロファイル] > profile_name > [サーバーの始動] と選択します。
  • IBM WebSphere Application Server の profile に関連付けられた Windows サービスを開始します。
  • コマンド was_install_dir¥bin¥startServer.bat server1 -profileName profile を実行します。
  • コマンド profile_dir¥bin¥startServer.bat server1 を実行します。
UNIX/Linux の場合
UNIX または Linux で WebSphere Application Server プロファイルを始動するには、次のいずれかのコマンドを使用します。
  • was_install_dir/bin/startServer.sh server1 -profileName profile
  • profile_dir/bin/startServer.sh server1
WebSphere Application Server プロファイルの停止
Windows の場合
WebSphere Application Server プロファイルを停止するには、次のどれかの方法を使用します。
  • [スタート] > [プログラム] > [IBM WebSphere] > [Application Server Vx.x] > [プロファイル] > profile > [サーバーの停止] と選択します。
  • IBM WebSphere Vx.xprofile に関連付けられた Windows サービスを停止します。
  • コマンド was_install_dir¥bin¥stopServer.bat server1 -profileName profile を実行します。
  • コマンド profile_dir¥bin¥stopServer.bat server1 を実行します。
UNIX/Linux の場合
WebSphere Application Server プロファイルを停止するには、次のいずれかのコマンドを使用します。
  • was_install_dir/bin/stopServer.sh server1 -profileName profile_name
  • profile_dir/bin/stopServer.sh server1
表 3. IBM HTTP Server - 始動および停止手順
タスク 手順
IBM HTTP Server の始動
Windows の場合
Windows で HTTP Server を始動するには、次のようにします。
  1. [スタート] メニューで [コントロール パネル] を開始し、[管理ツール] > [サービス] と選択します。
  2. [サービス] ページで [IBM HTTP Administration x.x] を右クリックします。 次に [開始] を選択します。
  3. [IBM HTTP Server x.x] を右クリックします。[開始] を選択します。
UNIX/Linux の場合

HTTP サーバーを始動するには、コマンド ihs_install_dir/bin/apachectl -k start を実行します。

.
IBM HTTP Server の停止

IBM HTTP Server を停止するには、次のようにします。

Windows の場合
HTTP Server を停止するには、次のようにします。
  1. [スタート] メニューで [コントロール パネル] を開始し、[管理ツール] > [サービス] と選択します。
  2. [サービス] ページで [IBM HTTP Administration x.x] を右クリックします。 次に [停止] を選択します。
  3. [IBM HTTP Server] を右クリックします。[停止] を選択します。
UNIX/Linux の場合
HTTP サーバーを停止するには、コマンド ihs_install_dir/bin/apachectl -k stop を実行します。

フィードバック