responsefile.pcaw.esb.dmgrProfile.txt 文件是用于在 WebSphere ESB 的静默安装期间创建部署管理器概要文件的样本响应文件。
在 Linux® 或 UNIX® 平台上以 root 用户的身份登录,或在 Windows® 平台上以隶属于 Administrator 组用户的身份登录之后,使用选项响应文件来创建部署管理器概要文件。在 Windows 平台上进行安装的某些步骤要求隶属于 Administrator 组的用户具有高级用户权限以操作系统方式操作和作为服务登录。
执行静默安装时,安装程序将读取此文件以确定部署管理器概要文件的特征。还可通过在初始安装后使用此响应文件来创建其他部署管理器概要文件。响应文件中提供了缺省值。
如果文件中存在 -silent 选项,则会发生问题。在直接调用“创建概要文件”向导期间,在文件中可以使用该选项,但是在静默安装产品时调用它就会失败。有关在静默安装产品期间以静默方式创建概要文件的信息,请参阅定制选项响应文件。
该选项不是必需的。应避免使用该选项以避免发生问题。
示例选项响应文件保存在两个位置。
位置:
使用产品光盘上的文件以静默方式安装 WebSphere ESB 并创建概要文件。
在安装 WebSphere ESB 之后,在“创建概要文件”向导命令上就可以将已安装的响应文件与 -options 参数配合使用。
以下样本选项响应文件:responsefile.esb.txt,用于控制安 装的第一部分,并用于启动安装的第二部分。要将创建概要文件作为安装核心产品文件这一任务的一部分,在标识用于创建概要文件的响应文件的 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"