WebSphere Application Server Network Deployment, Version 6.0.x   
             オペレーティング・システム: AIX , HP-UX, Linux, Solaris, Windows

             目次と検索結果のパーソナライズ化

responsefile.pct.NDmanagedProfile.txt

responsefile.pct.NDmanagedProfile.txt ファイルは、 カスタム・プロファイルを作成するための、サンプル応答ファイルです。addNode コマンドを使用して、 実行中のデプロイメント・マネージャー・セル内にカスタム・ノードを統合して、 ノードを操作可能にします。

root として ログオンした後 (AIX や Linux などのプラットフォームの場合)、 または管理者グループに属するユーザーとしてログオンした後 (Windows プラットフォームの場合)、 オプションの応答ファイルを使用して、カスタム・ノードを作成します。 Windows プラットフォーム上のいくつかのインストール手順のステップでは、 管理者グループに属するユーザーが、 「オペレーティング・システムの一部としてアクションを行う」および「サービスとしてログオンする 」拡張ユーザー権限を備えている必要があります。

応答ファイルは、デフォルト値で出荷されています。

オプション・ファイルの通常の使用では、サイレント・モードでインストール・ウィザードを実行します。これはサイレントなインストールと呼ばれます。 ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。 以下のコマンドを実行して、サイレント・インストール用の myresponsefile.txt と呼ばれる オプション・ファイルのコピーを使用します。
pctWindows.exe -options "myresponsefile.txt" -silent

カスタム・プロファイルの統合

ファイル内のいくつかのディレクティブは、カスタム・ノードがデプロイメント・マネージャー・セル内に統合される方法についてのオプションを提供します。
  • -W pctfederationpanelInstallWizardBean.federateLater

    デプロイメント・マネージャーが実行されていないか、 または以下の統合の説明内のどんな理由に対してもアクセス可能でない場合、この値を true に 設定します。

  • -W pctfederationpanelInstallWizardBean.hostname

    デプロイメント・マネージャーが実行しているシステムに解決する値を指定します。 詳しくは、以下のホスト名の考慮事項の説明を参照してください。

  • -W pctfederationpanelInstallWizardBean.port

    デプロイメント・マネージャーの SOAP ポートの値を指定します。 正しい値を指定する必要があります。 正しくない値は、ノードの統合を妨げ、INSTCONFFAILED 標識で全体的な失敗という結果になります。 デプロイメント・マネージャーに対するデフォルトの SOAP ポートは、8879 です。

ノードを統合する必要があるか ?

可能な場合は、カスタム・ノードを統合します。 しかし、提供されたパラメーターのどれかに欠陥がある場合は、ノードが統合されないだけでなく、欠陥のあるカスタム・プロファイルを作成してしまいます。 デプロイメント・マネージャーが実行されていて、指定されたホスト名で、また指定された SOAP ポートを介してアクセス可能である場合、かつこの場合に限り、ノードのサイレント作成を実行している時刻にノードを統合します。

デプロイメント・マネージャーが稼働しているかどうかが不確実な場合は、 すぐに統合しないでください。 後でノードを統合してください。

デプロイメント・マネージャー・ノードで セキュリティーが使用可能になっている場合は、addNode コマンドを使用して ユーザー ID とパスワードを入力することにより、後で統合する必要があります。

デプロイメント・マネージャーは、デフォルトではないリモート・メソッド呼び出し (RMI) を、 優先 Java Management Extensions (JMX) コネクターとして使用するよう 再構成されている可能性があります。 (デプロイメント・マネージャーの管理コンソールで「システム管理」 > 「デプロイメント・マネージャー」 > 「管理サービス」をクリックして、優先コネクター・タイプを確認します。)

RMI が優先 JMX コネクターである場合は、後で addNode コマンドを使用して、カスタム・プロファイルを統合する必要があります。 JMX コネクター・タイプおよび RMI ポートを指定できるように、addNode コマンドを使用します。

デプロイメント・マネージャーがデフォルトの SOAP JMX コネクター・タイプを使用している場合は、 ホスト名および SOAP ポートを指定し、すぐにノードを統合して、カスタマイズ可能な機能ノードを作成します。

デプロイメント・マネージャーが使用不可の場合の統合

セキュリティーが使用可能になっているなどの理由で、デプロイメント・マネージャーが稼働していないか、または使用不可である場合に、 カスタム・ノードを統合すると、ログのインストール・インディケーターは INSTCONFFAIL となり、完全な失敗を示します。 結果として、カスタム・プロファイルは使用することができません。 同じプロファイル名で他のカスタム・プロファイルを作成する前に、 カスタム・プロファイル・ディレクトリーをプロファイル・リポジトリー (プロファイル・ インストール・ルート・ディレクトリー) から移動する必要があります。

オプション応答ファイル内での -silent オプションの使用の回避

-silent オプションがファイル内に存在するとき、問題が発生します。 プロファイル管理ツールの直接呼び出しの間に、ファイルがオプションを扱う作業を行いましたが、サイレントな製品インストールから呼び出されて失敗しました。 サイレントな製品インストール中に、プロファイルをサイレントに作成することについての詳細は、応答ファイルのカスタマイズ を参照してください。

オプションは必要ありません。 問題を回避するためにオプションを使用することは避けてください。

応答ファイルのロケーション

オプションの応答ファイルの例は、2 つのロケーションにあります。

ファイルの例:
  • responsefile.pct.NDdmgrProfile.txt
  • responsefile.pct.NDmanagedProfile.txt
  • responsefile.pct.NDstandAloneProfile.txt

ロケーション:

表 1. オプションの応答ファイルのロケーション
製品ディスクのロケーション インストールされたロケーション
/WAS ディレクトリー app_server_root/bin/ProfileCreator ディレクトリー

製品ディスク上のファイルを使用して、Network Deployment 製品をサイレントにインストールして、プロファイルを作成します。

Network Deployment 製品のインストール後に、プロファイル管理ツール・コマンド上で -options パラメーターを使用して、インストールされた応答ファイルを使用することができます。

必要なディスク・スペース

プロファイル 必要なディスク・スペース 必要な一時スペース
デプロイメント・マネージャー・プロファイル 30 MB 40 MB
カスタム・プロファイル 10 MB 40 MB
アプリケーション・サーバー・プロファイル 200 MB 40 MB

製品インストールの間の作動環境の作成

Network Deployment 製品のバージョン 6 のインストールは、2 ステップのプロセスです。
  1. コア製品ファイルおよび機能ファイルのインストール。
  2. デプロイメント・マネージャー・プロファイル、カスタム・プロファイル、またはアプリケーション・サーバー・プロファイルの作成。

サンプル・オプション応答ファイル responsefile.nd.txt は、インストールの最初の部分を制御し、また、インストールの 2 番目の部分を開始することができます。 コア・プロダクト・ファイルのインストールの一部としてプロファイルを作成するには、プロファイル作成用に応答ファイルを識別する responsefile.nd.txt ファイル内のオプションを使用します。 プロファイル応答ファイルによって、プロファイル管理ツールをサイレントに使用することが可能になります。

プロファイル作成のための適切な応答ファイルを編集し使用するには、以下の手順を実行します。
  1. 製品ディスク上の WAS ディレクトリーから、適切なファイルをマシン上のわかりやすい場所にコピーします。 ファイルの例は、以下のとおりです。
    作成するプロファイル コピーする応答ファイル
    デプロイメント・マネージャー・プロファイル responsefile.pct.NDdmgrProfile.txt
    カスタム・プロファイル responsefile.pct.NDmanagedProfile.txt
    アプリケーション・サーバー・プロファイル responsefile.pct.NDstandAloneProfile.txt
  2. ファイルを編集して、インストールに応じた値にカスタマイズします。
  3. プロファイル作成ウィザードのための応答ファイルに -silent オプシ ョンが存在していないことを確認します。 このオプションがある場合、プロファイルは作成されません。
  4. ファイルを保管します。
  5. responsefile.nd.txt ファイルを編集して、プロファイル応答ファイルのロケーションおよび名前を識別します。 -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation オプションの値を変更して、ファイルを識別します。 以下に例を示します。
    -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=
    "/opt/IBM/WebSphere/MyOptionFiles/customProfile.txt"
  6. インストールを開始します。 以下に例を示します。
    install -options "myresponsefile.txt" -silent
    
  7. インストールを完了したら、成功を表すログを確認します。

インストール完了後のプロファイルの作成

Network Deployment 製品のバージョン 6 のインストールは、2 ステップのプロセスです。
  1. コア製品ファイルおよび機能ファイルのインストール
  2. デプロイメント・マネージャー・プロファイル、カスタム・プロファイル、またはアプリケーション・サーバー・プロファイルの作成

コア・プロダクト・ファイルが存在する場合は、プロファイル管理ツールを使用して、いつでもプロファイルを作成できます。ファースト・ステップ・コンソールからか、またはプロファイル管理ツール・コマンドを直接使用して、ウィザードを開始します。

また、以下のプロファイル用のオプション応答ファイル例の 1 つを使用して、サイレント・モードでプロファイル管理ツールを使用して、プロファイルをサイレントに作成します。 プロファイル作成のための適切な応答ファイルを編集し使用するには、以下の手順を実行します。
  1. app_server_root/bin/ProfileCreator ディレクトリーから適切なファイルをマシン上のわかりやすい場所にコピーします。ファイルの例は、以下のとおりです。
    プロファイルを作成する対象 コピーする応答ファイル
    デプロイメント・マネージャー responsefile.pct.NDdmgrProfile.txt
    管理対象ノード responsefile.pct.NDmanagedProfile.txt
    スタンドアロン・アプリケーション・サーバー responsefile.pct.NDstandAloneProfile.txt

    例えば、my_options_file.txt としてファイルをコピーします。

  2. ファイルを編集して、インストールに応じた値にカスタマイズします。
  3. ファイルを保管します。
  4. インストールを開始します。
    以下に例を示します。
    • [AIX] ./pctAIX.bin -options my_options_file.txt -silent
    • [HP-UX] ./pctHPUX.bin -options my_options_file.txt -silent
    • [HP-UX] 64 ビット・プラットフォーム: ./pctHPUXIA64.bin -options my_options_file.txt -silent
    • [Linux] ./pctLinux.bin -options my_options_file.txt -silent
    • [Linux] 64 ビット・プラットフォーム: ./pct.bin -options my_options_file.txt -silent
    • [Linux] Power プラットフォーム: ./pctLinuxPPC.bin -options my_options_file.txt -silent
    • [Linux] S/390 プラットフォーム: ./pctLinux390.bin -options my_options_file.txt -silent
    • [Solaris] ./pctSolaris.bin -options my_options_file.txt -silent
    • [Windows] pctWindows.exe -options my_options_file.txt -silent
    • [Windows] 64 ビット・プラットフォーム: pctWindowsIA64.exe -options my_options_file.txt -silent
  5. プロファイル管理ツールの使用後に、成功を表すログを確認します。

ロギング

以下のログ・ファイルは、プロファイル作成についての情報を記録します。
  • app_server_root/logs/log.txt ファイルは、インストール状況を記録します。
  • profile_root/logs/pctLog.txt ファイルは、プロファイル作成ウィザードを使用してプロファイルを作成したときに発生するインストール・イベントを記録します。
  • app_server_root/logs/wasprofile/wasprofile_create_profile_name.log ファイルは、プロファイル作成時に発生するインストール・イベントを記録します。
  • app_server_root/logs/wasprofile/wasprofile_delete_profile_name.log ファイルは、プロファイル削除時に発生するインストール・イベントを記録します。

詳しくは、インストールのトラブルシューティング を参照してください。

使用上の注意

ネーミングの考慮事項

プロファイルおよびその他のオブジェクトに名前を提供するときは、以下の推奨を考慮します。

プロファイルのネーミング

プロファイル名ディレクティブの値を提供するときは、以下のガイドラインを使用します。
-W profilenamepanelInstallWizardBean.profileName
プロファイルの名前付けガイドライン: プロファイル名には、固有の名前を付けることができますが、以下の制限があります。 プロファイルの名前を付ける際には、以下の文字を使用しないでください。
  • スペース
  • *&? など、ご使用のオペレーティング・システムのディレクトリー名に許可されていない特殊文字
  • スラッシュ (/) または (¥)
全角文字は許可されています。

予約済みの名前を回避します。

responsefile.pct.NDstandAloneProfile.txt ファイルおよび responsefile.pct.NDmanagedProfile.txt ファイル内のディレクティブの値として、以下の予約済みフォルダー名は避けてください。

-W nodehostnamepanelInstallWizardBean.nodeName=""
-W nodehostnamepanelInstallWizardBean.hostName=""
-W setnondmgrcellnameinglobalconstantsInstallWizardBean.value=""
responsefile.pct.NDdmgrProfile.txt ファイル内のディレクティブの値として、以下の予約済みフォルダー名は避けてください。

-W nodehostandcellnamepanelInstallWizardBean.nodeName=""
-W nodehostandcellnamepanelInstallWizardBean.hostName=""
-W nodehostandcellnamepanelInstallWizardBean.cellName=
予約名: フィールド値として予約済みのフォルダー名を使用しないでください。 予約済みフォルダー名を使用すると、予測不能な結果が起こる可能性があります。 以下のワードは、予約されています。
  • cells
  • nodes
  • servers
  • clusters
  • applications
  • deployments

ノード名およびセル名の考慮事項

[Windows] profile_root の文字数は、 80 文字を超えないようにする必要があります。

詳しくは、ホスト名の値 を参照してください。

ヒント: 操作可能とするために、カスタム・プロファイルをデプロイメント・マネージャー・セル内に追加しなければなりません。 管理対象ノードであるというこの強い依存関係のために、このプロファイルはしばしば、 管理対象プロファイル または管理対象ノードと呼ばれます。

もちろん、ノードをセル内に統合するまでは、ノードは管理対象ではありません。 もう 1 つの留意点は、統合ノードはどれも、アプリケーション・サーバー・プロファイル内の統合ノードも含めて、管理対象ノードであるということです。

以下の応答ファイルは、多くのディレクティブ名で 用語 custom の代わりに、用語 managed を参照しています。 そうであっても、この応答ファイル内のすべてのディレクティブは、カスタム・プロファイルを定義する助けになります。

################################################################################
#
# Response file for WebSphere Application Server v6.0 custom profile creation
#
# This options file is located in the CD_ROOT¥WAS¥ directory and in the 
# app_server_root¥bin¥ProfileCreator directory. 
#
# To use the options file under CD_ROOT¥WAS¥ directory, follow the instructions 
# in CD_ROOT¥WAS¥responsefile.nd.txt. WebSphere Application Server# Network Deployment installer locates this file during silent installation
# and automatically runs the silent profile creation at the end of installation.
# 
# To use the options file under app_server_root¥bin¥ProfileCreator for silent profile
# creation, you must change various values in the file and use the following command 
# line arguments:
# 
#    -options "responsefile.pct.NDmanagedProfile.txt" -silent
#
################################################################################


################################################################################
# 
# Profile name
#
# Set the name for this custom profile. The profile name must be unique for this 
# WebSphere Application Server installation. 
#
#
-W profilenamepanelInstallWizardBean.profileName="profileManaged"

################################################################################
# If you want to set this profile to be your default profile, set to "true".
# Otherwise set to "false". If this is the first profile being created, the profile  
# automatically is the default. 
#
-W profilenamepanelInstallWizardBean.isDefault="false"


################################################################################
# 
# Profile location
#
# Specify a directory to contain the files that define the run-time environment, 
# such as commands,configuration files, and log files. If the directory contains 
# spaces, enclose it in double-quotes as shown in the Windows example below. 
#
# Note that spaces in the install location is only supported on Windows
# operating systems.
#
# Default Install Location:
#
#    -P installLocation="<WAS_HOME>¥profiles¥<PROFILE_NAME>"
#
-P installLocation="C:¥Program Files¥IBM¥WebSphere¥AppServer¥profiles¥profileManaged"


################################################################################
# 
# Node name
#
# Please select the node name for the Application Server. Node name under one cell 
# has to be unique. 
#
# If you plan to migrate a V5 deployment manager cell, the V5 managed nodes are also 
# migrated to the V6 cell. To incrementally migrate an individual V5 managed node 
# to V6, you must use the same node name for the V6 Application Server profile.
#
# Replace YOUR_NODE_NAME with the actual node name. 
#
-W nodehostnamepanelInstallWizardBean.nodeName="YOUR_NODE_NAME"


################################################################################
#
# Host name
#
# Specify the host name for the Application Server. The host name is the domain 
# name system (DNS) name (short or long) or the IP address of this computer. 
# 
# Replace YOUR_HOST_NAME with the actual host name. Comment the line to use 
# the default value.
# 
-W nodehostnamepanelInstallWizardBean.hostName="YOUR_HOST_NAME"


################################################################################
#
# Cell name
#
# You should not Modify this, unless absolutely necessary
# 
# The Wizard would set this to short local host name + "Node##Cell" by default.
#
# If you would like to override the resolved cell name value, uncomment the line and
# replace YOUR_CELL_NAME with <YOUR_OWN_VALUE>
#
# -W setnondmgrcellnameinglobalconstantsInstallWizardBean.value="YOUR_CELL_NAME"


################################################################################
# 
# Ports value assignment
#
# The following entries are used to reset port numbers used in the configuration
#
# They are currently set to the defaults. 
# Please check to make sure there are no port conflicts.
# Port nubmers for each profile can be find in: 
# <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
#
# If you specify true for the value of 
# the -W pctfederationpanelInstallWizardBean.federateLater  
# directive, port numbers are assigned automatically when you federate the 
# node with the addNode command. The following port numbers do not apply.
#
-W pctmanagedprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="2809"
-W pctmanagedprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8878"
-W pctmanagedprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9901"
-W pctmanagedprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9201"
-W pctmanagedprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9202"
-W pctmanagedprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9100"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_DISCOVERY_ADDRESS="7272"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_MULTICAST_DISCOVERY_ADDRESS="5000"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_IPV6_MULTICAST_DISCOVERY_ADDRESS="5001"
-W pctmanagedprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9353"


################################################################################
# 
# Federation
#
# A custom profile contains an empty node that must be federated to a deployment 
# manager to become a functional managed node. Identify a running deployment
# manager that will administer the node or choose to federate the node later 
# using the addNode command.
#
# Set to "true" if you want to federate this custom node later using the addNode 
# command. You must federate this node later if the deployment manager :
#            - is not running. 
#            - has security enabled. 
#            - has the SOAP connector disabled
#
# If you want to federate it now, set to "" and fill in the entries for the host  
# and port of the deployment manager. 
#
-W pctfederationpanelInstallWizardBean.federateLater=""

################################################################################
# Specify the host name of the deployment manager for federation.
#
-W pctfederationpanelInstallWizardBean.hostname="YOUR_DEPLOYMENT_MANAGER_HOST_NAME"

################################################################################
# Specify the port number where the deployment manager (DMGR) is reachable on the 
# above host. The default port value is "8879".
#
-W pctfederationpanelInstallWizardBean.port="YOUR_DEPLOYMENT_MANAGER_PORT_NUMBER"





################################################################################
# 
# Profile type
#
# Must be set to "managed" for installing a custom profile. Do not change this!
# 
-W profiletypepanelInstallWizardBean.selection="managed"



関連タスク
応答ファイルのカスタマイズ
サイレント・インストール 製品および追加のソフトウェアのインストール
参照トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 10:13:28 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rins_responsefile_pct_ndmanagedprofile.html