responsefile.pcaw.esb.managedProfile.txt 文件是用于创建定制概要文件的样本响应文件。使用 addNode 命令将定制节点联合到部署管理器单元中以使该节点成为可操作节点。因为概要文件与成为受管节点有很强的依赖关系,所以概要文件通常又被称为受管节点。
在 Linux® 或 UNIX® 平台上以 root 用户的身份登录,或在 Windows® 平台上以隶属于 Administrator 组用户的身份登录之后,使用选项响应文件来创建定制节点。在 Windows 平台上进行安装的某些步骤要求隶属于 Administrator 组的用户具有高级用户权限以操作系统方式操作和作为服务登录。
以静默方式安装时,安装程序将读取此文件以确定部署管理器概要文件的特征。还可在初始安装后使用此响应文件来创建其他部署管理器概要文件。响应文件中提供了缺省值。
在以下对联合的描述中,如果部署管理器因为任何原因未运行或不可访问,请将此值设置为 true。
指定解析为运行部署管理器的系统的值。有关主机命名的更多信息,请参阅概要文件、节点、主机和单元的命名注意事项。
指定部署管理器 SOAP 端口的值。必须指定正确的值。错误的值将导致节点联合无法进行并且导致彻底失败(出现 INSTCONFFAILED 指示符)。部署管理器的缺省 SOAP 端口为 8879。
是在创建概要文件期间还是之后联合节点?
如果尝试在部署管理器因其他原因而未运行或者不可用时联合定制节点,则创建概要文件将失败并且获得的定制概要文件将不可用。因此,在创建另一个具有相同概要文件名称的定制概要文件之前,必须将此定制概要文件目录移至概要文件存储库外部(缺省情况下,profiles 目录在 install_root 目录中,其中 install_root 是 WebSphere ESB 的安装目录)。
如果文件中存在 -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 文件
有关命名注意事项的信息,请参阅概要文件、节点、主机和单元的命名注意事项。
当然,直到将节点联合到单元中,节点才会成为受管节点。还有一点要记住的是,任何已联合节点都是受管节点,包括 Application Server 概要文件中的已联合节点。
在许多伪指令名称中,以下响应文件指的是术语受管而不是术语定制。虽然如此,此响应文件中的所有伪指令还是有助于定义定制概要文件。
################################################################################ # # 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"