responsefile.pcaw.esb.dmgrProfile.txt ファイルは、 WebSphere ESB のサイレント・インストール中に デプロイメント・マネージャー・プロファイルを作成するためのサンプル応答ファイルです。
オプション応答ファイルを使用してデプロイメント・マネージャー・プロファイルを作成する前に、Linux® プラットフォームまたは UNIX® プラットフォーム上で root としてログオンするか、 Windows® プラットフォーム上で Administrator グループに属するユーザーとしてログオンします。Windows プラットフォームでのいくつかのインストール手順には、ユーザーが Administrator グループに属しており、オペレーティング・システムの一部として機能 し、サービスとしてログオンできる、という上級ユーザー権限を備えている必要があります。
サイレント・インストールが行われると、インストール・プログラムによってこのファイルが読み込まれ、 デプロイメント・マネージャー・プロファイルの特性が判別されます。この応答ファイルを使用すると、初期インストールのあとに、 他のデプロイメント・マネージャー・プロファイルを作成することができます。応答ファイルはデフォルト値で出荷されています。
ファイル内に -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 としてファイルをコピーします。
命名に関する考慮事項については、「プロファイル、ノード、ホスト、およびセルの命名に関する考慮事項」を参照してください。
################################################################################ # # Response file for Websphere ESB dmgr 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.dmgrProfile.txt" -silent # ################################################################################ ################################################################################ # # Profile name # # Set the profile name for installing a deployment manager profile. The profile # name must be unique for this WebSphere ESB installation. # -W profilenamepanelInstallWizardBean.profileName="profileDmgr" ################################################################################ # 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 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¥profileDmgr" ################################################################################ # # 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 nodehostandcellnamepanelInstallWizardBean.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 nodehostandcellnamepanelInstallWizardBean.hostName="YOUR_HOST_NAME" ################################################################################ # # Cell name # # Specify the cell name for the Application Server. # # Replace YOUR_CELL_NAME with the actual cell name. # -W nodehostandcellnamepanelInstallWizardBean.cellName="YOUR_CELL_NAME" ################################################################################ # # Port 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 found in: # <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml # -W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost="9060" -W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost_secure="9043" -W pctdmgrprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="9809" -W pctdmgrprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8879" -W pctdmgrprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9404" -W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9406" -W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9405" -W pctdmgrprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9101" -W pctdmgrprofileportspanelInstallWizardBean.CELL_DISCOVERY_ADDRESS="7277" -W pctdmgrprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9352" ################################################################################ # # Windows service # # The following directives are to install services for WebSphere Application Server # on Windows. # Using Services, you can start and stop services, # and configure startup and recovery actions. # Set winServiceQuery="false" will turn off the function on windows system. # You can ignore these or comment them out for other Operating Systems. # -W winservicepanelInstallWizardBean.winServiceQuery="true" ################################################################################ # Specify account type of the service. Legal values are: # # localsystem - Indicates that you choose to use Local System account. # specifieduser - Indicates that you choose to use specified user account. # -W winservicepanelInstallWizardBean.accountType="localsystem" ################################################################################ # If you chose to install a service above with the accountType="localsystem", # the userName and password below can be ignored. If the accountType was set to: # accountType="specifieduser", then you must specify the User Name and Password # which are required to install the Services. The current user must be admin or must # have admin authority to install a Service. Also the username # which is given here must have "Log On as a Service " authority # for the service to run properly. # # Replace YOUR_USER_NAME with your username. # -W winservicepanelInstallWizardBean.userName="YOUR_USER_NAME" ################################################################################ # Replace YOUR_PASSWORD with your valid password. # -W winservicepanelInstallWizardBean.password="YOUR_PASSWORD" ################################################################################ # Set the startup type of the WebSphere ESB on Windows. # Valid values are "automatic", "manual", and "disabled". # -W winservicepanelInstallWizardBean.startupType="manual" ################################################################################ # # Service Component Architecture Configuration # # The following entries are used to create a Service Component Architecture # configuration. Set doConfigureSCACheckList="true" if you want # to configure a Service Component Architecture. If you do not want a # Service Component Architecture leave the value as "". # If you set the value to "true" then the rest of the parameters must also be filled # out. # -W wbiSCAConfigInputPanelBeanId.doConfigureSCACheckList="" ################################################################################ # If you chose to create a Service Component Architecture configuration above # then specify the userid for that configuration. If not then comment out # this line. # -W wbiSCAConfigInputPanelBeanId.userId="YOUR_USER_ID_SCA" ################################################################################ # If you chose to create a Service Component Architecture configuration above # then specify the password for that configuration and confirm that password. # If not then comment out these lines. # -W wbiSCAConfigInputPanelBeanId.password="YOUR_PASSWORD_SCA" -W wbiSCAConfigInputPanelBeanId.passwordConfirmation="YOUR_PASSWORD_SCA" ################################################################################ # Profile type # # Must be set to "dmgr" for installing a deployment manager Profile. # Do not change this! # -W profiletypepanelInstallWizardBean.selection="dmgr"