WebSphere WebSphere Enterprise Service Bus V6.0.1 操作系统: AIX, HP-UX, Linux, Solaris, Windows

以静默方式创建部署管理器概要文件

responsefile.pcaw.esb.dmgrProfile.txt 文件是用于在 WebSphere ESB 的静默安装期间创建部署管理器概要文件的样本响应文件。

在 Linux® 或 UNIX® 平台上以 root 用户的身份登录,或在 Windows® 平台上以隶属于 Administrator 组用户的身份登录之后,使用选项响应文件来创建部署管理器概要文件。在 Windows 平台上进行安装的某些步骤要求隶属于 Administrator 组的用户具有高级用户权限以操作系统方式操作作为服务登录

执行静默安装时,安装程序将读取此文件以确定部署管理器概要文件的特征。还可通过在初始安装后使用此响应文件来创建其他部署管理器概要文件。响应文件中提供了缺省值。

避免在选项响应文件中使用 -silent 选项

如果文件中存在 -silent 选项,则会发生问题。在直接调用“创建概要文件”向导期间,在文件中可以使用该选项,但是在静默安装产品时调用它就会失败。有关在静默安装产品期间以静默方式创建概要文件的信息,请参阅定制选项响应文件

该选项不是必需的。应避免使用该选项以避免发生问题。

响应文件位置

示例选项响应文件保存在两个位置。

示例文件:
  • responsefile.pcaw.esb.dmgrProfile.txt
  • responsefile.pcaw.esb.managedProfile.txt
  • responsefile.pcaw.esb.standAloneProfile.txt

位置:

表 1. 选项响应文件位置
产品光盘位置 安装位置
/ESB 目录 install_root/bin/ProfileCreator 目录

使用产品光盘上的文件以静默方式安装 WebSphere ESB 并创建概要文件。

在安装 WebSphere ESB 之后,在“创建概要文件”向导命令上就可以将已安装的响应文件与 -options 参数配合使用。

需要的磁盘空间

概要文件 需要的磁盘空间 需要的临时空间
部署管理器概要文件 30 MB 40 MB
定制概要文件 10 MB 40 MB
应用程序服务器概要文件 200 MB 40 MB

在安装产品期间创建一个运营环境

安装 WebSphere ESB 包括两个步骤:
  1. 安装核心产品文件和功能部件文件。
  2. 创建部署管理器概要文件、定制概要文件或应用程序服务器概要文件。

以下样本选项响应文件:responsefile.esb.txt,用于控制安 装的第一部分,并用于启动安装的第二部分。要将创建概要文件作为安装核心产品文件这一任务的一部分,在标识用于创建概要文件的响应文件的 responsefile.esb.txt 文件中使用选项。概要文件响应文件允许您以静默方式使用“创建概要文件”向导。

要编辑和使用适当的响应文件来创建概要文件,请执行以下步骤:
  1. 将适当的文件从产品光盘上的 ESB 目录复制到机器上您可以很容易识别的位置。示例文件包括:
    要创建的对象: 复制以下响应文件:
    部署管理器概要文件 responsefile.pcaw.esb.dmgrProfile.txt
    定制概要文件 responsefile.pcaw.esb.managedProfile.txt
    应用程序服务器概要文件 responsefile.pcaw.esb.standAloneProfile.txt
  2. 编辑该文件以定制用于安装的值。
  3. 验证“创建概要文件”向导的响应文件中是否不存在 -silent 选项。如果存在该选项,则不会创建概要文件。
  4. 保存该文件。
  5. 编辑 responsefile.esb.txt 文件以标识概要文件响应文件的位置和名称。更改 -W pcawresponsefilelocationqueryactionInstallWizardBean.fileLocation 选项的值以标识该文件。例如:
    -W pcawresponsefilelocationqueryactionInstallWizardBean.fileLocation=
    "/opt/IBM/WebSphere/MyOptionFiles/customProfile.txt"
  6. 开始安装。例如:
    install -options "myresponsefile.txt" -silent
  7. 安装之后,检查日志以了解安装是否成功。

在安装之后创建概要文件

安装 WebSphere ESB 产品包括两个步骤:
  1. 安装核心产品文件和功能部件文件
  2. 创建部署管理器概要文件、定制概要文件或独立服务器概要文件

如果核心产品文件已存在,则随时都可以使用“创建概要文件”向导来创建概要文件。可以从“第一步”控制台中启动该向导,也可以直接使用“创建概要文件”向导命令来启动它。

还可以使用概要文件的下列其中一个样本选项响应文件来以静默方式使用“创建概要文件”向导静默创建概要文件。要编辑和使用适当的响应文件来创建概要文件,请执行以下步骤:
  1. 将适当的文件从 install_root/bin/ProfileCreator 目录复制到机器上您可以很容易识别的位置。示例文件包括:
    要为其创建概要文件的对象: 复制以下响应文件:
    部署管理器 responsefile.pcaw.esb.dmgrProfile.txt
    受管节点 responsefile.pcaw.esb.managedProfile.txt
    独立应用程序服务器 responsefile.pcaw.esb.standAloneProfile.txt

    例如,将文件复制为 my_options_file.txt 文件

  2. 编辑该文件以定制用于安装的值。
  3. 保存该文件。
  4. 开始安装。
    例如:
    • For AIX platforms ./pcatAIX.bin -options my_options_file.txt -silent
    • ./pcatHPUX.bin -options my_options_file.txt -silent
    • LINUX platforms ./pcatLinux.bin -options my_options_file.txt -silent
    • LINUX platforms Power 平台:./pcatLinuxPPC.bin -options my_options_file.txt -silent
    • Solaris platforms ./pcatSolaris.bin -options my_options_file.txt -silent
    • For Windows platforms pcatWindows.exe -options my_options_file.txt -silent
  5. 在使用“创建概要文件”向导之后,检查日志以了解安装是否成功。

日志记录

下列日志文件记录了与创建概要文件有关的信息:
  • install_root/logs/log.txt 文件记录了安装状态。
  • install_rootprofiles/profile_name/logs/pctLog.txt 文件记录了在使用“创建概要文件”向导创建概要文件时发生的安装事件。
  • install_root/logs/wasprofile/wasprofile_create_profile_name.log 文件记录了创建概要文件时发生的安装事件。
  • install_root/logs/wasprofile/wasprofile_delete_profile_name.log 文件记录了删除概要文件时发生的安装事件。

命名注意事项

有关命名注意事项的信息,参阅概要文件、节点、主机和单元的命名注意事项

示例 responsefile.pcaw.esb.dmgrProfile.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"

相关任务
定制选项响应文件

参考主题

使用条款 | 评价此页

Timestamp icon上次更新时间: 3 Mar 2006
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc.nl1_6.0.1\tasks\twesb_silent_dmgr.html

(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)