responsefile.pct.NDmanagedProfile.txt ファイルは、 カスタム・プロファイルを作成するための、サンプル応答ファイルです。addNode コマンドを使用して、 実行中のデプロイメント・マネージャー・セル内にカスタム・ノードを統合して、 ノードを操作可能にします。
root として ログオンした後 (AIX や Linux などのプラットフォームの場合)、 または管理者グループに属するユーザーとしてログオンした後 (Windows プラットフォームの場合)、 オプションの応答ファイルを使用して、カスタム・ノードを作成します。 Windows プラットフォーム上のいくつかのインストール手順のステップでは、 管理者グループに属するユーザーが、 「オペレーティング・システムの一部としてアクションを行う」および「サービスとしてログオンする 」拡張ユーザー権限を備えている必要があります。
応答ファイルは、デフォルト値で出荷されています。
pctWindows.exe -options "myresponsefile.txt" -silent
デプロイメント・マネージャーが実行されていないか、 または以下の統合の説明内のどんな理由に対してもアクセス可能でない場合、この値を true に 設定します。
デプロイメント・マネージャーが実行しているシステムに解決する値を指定します。 詳しくは、以下のホスト名の考慮事項の説明を参照してください。
デプロイメント・マネージャーの SOAP ポートの値を指定します。 正しい値を指定する必要があります。 正しくない値は、ノードの統合を妨げ、INSTCONFFAILED 標識で全体的な失敗という結果になります。 デプロイメント・マネージャーに対するデフォルトの SOAP ポートは、8879 です。
ノードを統合する必要があるか ?
可能な場合は、カスタム・ノードを統合します。 しかし、提供されたパラメーターのどれかに欠陥がある場合は、ノードが統合されないだけでなく、欠陥のあるカスタム・プロファイルを作成してしまいます。 デプロイメント・マネージャーが実行されていて、指定されたホスト名で、また指定された SOAP ポートを介してアクセス可能である場合、かつこの場合に限り、ノードのサイレント作成を実行している時刻にノードを統合します。
デプロイメント・マネージャーが稼働しているかどうかが不確実な場合は、 すぐに統合しないでください。 後でノードを統合してください。
デプロイメント・マネージャー・ノードで セキュリティーが使用可能になっている場合は、addNode コマンドを使用して ユーザー ID とパスワードを入力することにより、後で統合する必要があります。
デプロイメント・マネージャーは、デフォルトではないリモート・メソッド呼び出し (RMI) を、 優先 Java Management Extensions (JMX) コネクターとして使用するよう 再構成されている可能性があります。 (デプロイメント・マネージャーの管理コンソールで「システム管理」 > 「デプロイメント・マネージャー」 > 「管理サービス」をクリックして、優先コネクター・タイプを確認します。)
RMI が優先 JMX コネクターである場合は、後で addNode コマンドを使用して、カスタム・プロファイルを統合する必要があります。 JMX コネクター・タイプおよび RMI ポートを指定できるように、addNode コマンドを使用します。
デプロイメント・マネージャーがデフォルトの SOAP JMX コネクター・タイプを使用している場合は、 ホスト名および SOAP ポートを指定し、すぐにノードを統合して、カスタマイズ可能な機能ノードを作成します。
デプロイメント・マネージャーが使用不可の場合の統合
セキュリティーが使用可能になっているなどの理由で、デプロイメント・マネージャーが稼働していないか、または使用不可である場合に、 カスタム・ノードを統合すると、ログのインストール・インディケーターは INSTCONFFAIL となり、完全な失敗を示します。 結果として、カスタム・プロファイルは使用することができません。 同じプロファイル名で他のカスタム・プロファイルを作成する前に、 カスタム・プロファイル・ディレクトリーをプロファイル・リポジトリー (プロファイル・ インストール・ルート・ディレクトリー) から移動する必要があります。
-silent オプションがファイル内に存在するとき、問題が発生します。 プロファイル管理ツールの直接呼び出しの間に、ファイルがオプションを扱う作業を行いましたが、サイレントな製品インストールから呼び出されて失敗しました。 サイレントな製品インストール中に、プロファイルをサイレントに作成することについての詳細は、応答ファイルのカスタマイズ を参照してください。
オプションは必要ありません。 問題を回避するためにオプションを使用することは避けてください。
オプションの応答ファイルの例は、2 つのロケーションにあります。
ロケーション:
製品ディスクのロケーション | インストールされたロケーション |
---|---|
/WAS ディレクトリー | app_server_root/bin/ProfileCreator ディレクトリー |
製品ディスク上のファイルを使用して、Network Deployment 製品をサイレントにインストールして、プロファイルを作成します。
Network Deployment 製品のインストール後に、プロファイル管理ツール・コマンド上で -options パラメーターを使用して、インストールされた応答ファイルを使用することができます。
プロファイル | 必要なディスク・スペース | 必要な一時スペース |
---|---|---|
デプロイメント・マネージャー・プロファイル | 30 MB | 40 MB |
カスタム・プロファイル | 10 MB | 40 MB |
アプリケーション・サーバー・プロファイル | 200 MB | 40 MB |
サンプル・オプション応答ファイル responsefile.nd.txt は、インストールの最初の部分を制御し、また、インストールの 2 番目の部分を開始することができます。 コア・プロダクト・ファイルのインストールの一部としてプロファイルを作成するには、プロファイル作成用に応答ファイルを識別する responsefile.nd.txt ファイル内のオプションを使用します。 プロファイル応答ファイルによって、プロファイル管理ツールをサイレントに使用することが可能になります。
コア・プロダクト・ファイルが存在する場合は、プロファイル管理ツールを使用して、いつでもプロファイルを作成できます。ファースト・ステップ・コンソールからか、またはプロファイル管理ツール・コマンドを直接使用して、ウィザードを開始します。
詳しくは、インストールのトラブルシューティング を参照してください。
プロファイルおよびその他のオブジェクトに名前を提供するときは、以下の推奨を考慮します。
プロファイルのネーミング
-W profilenamepanelInstallWizardBean.profileName
予約済みの名前を回避します。
-W nodehostnamepanelInstallWizardBean.nodeName=""
-W nodehostnamepanelInstallWizardBean.hostName=""
-W setnondmgrcellnameinglobalconstantsInstallWizardBean.value=""
-W nodehostandcellnamepanelInstallWizardBean.nodeName=""
-W nodehostandcellnamepanelInstallWizardBean.hostName=""
-W nodehostandcellnamepanelInstallWizardBean.cellName=
ノード名およびセル名の考慮事項
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"