responsefile.pcaw.esb.managedProfile.txt ファイルは、 カスタム・プロファイルを作成するためのサンプル応答ファイルです。addNode コマンドを使用して、 カスタム・ノードをデプロイメント・マネージャーのセルにフェデレートし、ノードを作動可能にします。 このプロファイルは管理対象ノードでもあることから、管理対象プロファイル と呼ばれることがあります。
オプションの応答ファイルを使用してカスタム・ノードを作成する前に、Linux® プラットフォームまたは UNIX® プラットフォーム上で root としてログオンするか、または Windows® プラットフォーム上で Administrator グループに属するユーザーとしてログオンします。Windows プラットフォームでのいくつかのインストール手順には、ユーザーが Administrator グループに属しており、オペレーティング・システムの一部として機能 し、サービスとしてログオンできる、という上級ユーザー権限を備えている必要があります。
サイレント・インストールが行われると、インストール・プログラムによってこのファイルが読み込まれ、 デプロイメント・マネージャー・プロファイルの特性が判別されます。この応答ファイルを使用すると、初期インストールのあとに、 他のデプロイメント・マネージャー・プロファイルを作成することができます。応答ファイルはデフォルト値で出荷されています。
以下のフェデレーションの説明にあるいずれかの理由により、 デプロイメント・マネージャーが実行されていないか、アクセスが可能でない場合は、この値を true に設定します。
デプロイメント・マネージャーが実行されているシステムに解決する値を指定します。 ホストの命名について詳しくは、「プロファイル、ノード、ホスト、およびセルの命名に関する考慮事項」を参照してください。
デプロイメント・マネージャーの SOAP ポートの値を指定します。正しい値を指定する必要があります。 値が正しくなければ、ノードのフェデレートが妨げられ、 INSTCONFFAILED 標識を伴う全体的な失敗という結果になります。デプロイメント・マネージャーに対するデフォルトの SOAP ポートは、8879 です。
プロファイルの作成中または作成後のノードのフェデレート
デプロイメント・マネージャーが実行されていない、 または別の理由で使用不可になっているときにカスタム・ノードをフェデレートしようとすると、 プロファイルの作成は失敗し、カスタム・プロファイルは使用できなくなります。その場合、同じプロファイル名で他のカスタム・プロファイルを作成する前に、このカスタム・プ ロファイル・ディレクトリーをプロファイル・リポジトリー (デフォルトでは、install_root の profiles ディレクトリーであり、install_root は WebSphere ESB インストール・ディレクトリーです) の外に移動する必要があります。
ファイル内に -silent オプションが存在するときに問題が発生します。ファイルは、プロファイル作成ウィザードへの直接呼び出し中にオプションと連携しますが、製品のサイレント・インストールからの呼び出し時には失敗します。 製品のサイレント・インストール中にサイレントでプロファイルを作成する方法については、オプション応答ファイルのカスタマイズを参照してください。
このオプションは必須ではありません。 このオプションを使用しないことにすれば問題を回避できます。
オプション応答ファイルのサンプルは、2 つの場所にあります。
場所:
製品ディスク上でファイルを使用し、WebSphere ESB のサイレント・インストールを行ってプロファイルを作成します。
WebSphere ESB をインストールした後で、プロファイル作成ウィザード・コマンド上で -options パラメーターを使用してインストールした応答ファイルを使用できます。
オプション応答ファイルのサンプル、 responsefile.esb.txt は、インストールの最初の部分 を制御し、また、インストールの 2 番目の部分を開始することもできます。 中核となる製品ファイルのインストールの一環としてプロファイル を作成するには、プロファイル作成のための応答ファイルを識別する responsefile.esb.txt ファイルでオプションを使用します。 そうすることにより、ユーザーはプロファイル応答ファイルを使用して、 プロファイル作成ウィザードのサイレント使用を行うことができます。
作成するファイル | コピーする応答ファイル |
---|---|
デプロイメント・マネージャー・プロファイル | responsefile.pcaw.esb.dmgrProfile.txt |
カスタム・プロファイル | responsefile.pcaw.esb.managedProfile.txt |
アプリケーション・サーバー・プロファイル | responsefile.pcaw.esb.standAloneProfile.txt |
-W pcawresponsefilelocationqueryactionInstallWizardBean.fileLocation= "/opt/IBM/WebSphere/MyOptionFiles/customProfile.txt"
install -options "myresponsefile.txt" -silent
中核となる製品ファイルが存在している場合は、プロファイル作成ウィザードを使用していつでもプロファイルを作成できます。 ファースト・ステップ・コンソールから、またはプロファイル作成ウィザード・コマンドを直 接使用して、ウィザードを開始します。
プロファイルを作成する対象 | コピーする応答ファイル |
---|---|
デプロイメント・マネージャー | responsefile.pcaw.esb.dmgrProfile.txt |
管理対象ノード | responsefile.pcaw.esb.managedProfile.txt |
スタンドアロン・アプリケーション・サーバー | responsefile.pcaw.esb.standAloneProfile.txt |
例えば、my_options_file.txt としてファイルをコピーします。
命名に関する考慮事項については、「プロファイル、ノード、ホスト、およびセルの命名に関する考慮事項」を参照してください。
ノードをセルにフェデレートするまでは、ノードは管理対象外です。また、Application Server プロファイルにフェデレートされたノードなど、 フェデレートされたノー ドはすべて管理対象ノードであることにもご注意ください。
次の応答ファイルでは、 多くのディレクティブ名で custom ではなく managed という用語を参照しています。この場合でも、 この応答ファイル内のすべてのディレクティブでカスタム・プロファイルが定義されます。
################################################################################ # # Response file for WebSphere ESB custom profile creation # # This options file is located in the CD_ROOT¥ESB¥ directory and in the # install_root¥bin¥ProfileCreator_wbi directory. # # To use the options file under CD_ROOT¥ESB¥ directory, follow the instructions # in CD_ROOT¥ESB¥responsefile.esb.txt. The WebSphere ESB # 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 install_root¥bin¥ProfileCreator_wbi for silent profile # creation, you must change various values in the file and use the following command # line arguments: # # -options "responsefile.pcaw.esb.managedProfile.txt" -silent # ################################################################################ ################################################################################ # # Profile name # # Set the name for this custom profile. The profile name must be unique for this # WebSphere ESB 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 specified directory # already exists it must be empty. If the directory name 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="<ESB_HOME>¥profiles¥<PROFILE_NAME>" # -P installLocation="C:¥Program Files¥IBM¥WebSphere¥ESB¥profiles¥profileManaged" ################################################################################ # # Node name # # Please select the node name for the Application Server. Node name under one cell # has to be unique. # # 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"