responsefile.pcaw.esb.standAloneProfile.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 stand-alone server 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.standAloneProfile.txt" -silent # ################################################################################ ################################################################################ # # Profile name # # Set the profile name for installing a stand-alone server profile. The profile # name must be unique for this WebSphere ESB installation. # -W profilenamepanelInstallWizardBean.profileName="profileStandAlone" ################################################################################ # 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\profileStandAlone" ################################################################################ # # Node name # # Please select the node name for the stand-alone 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 stand-alone 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" ################################################################################ # # 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 numbers for each profile can be find in: # <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml # -W pctdefaultprofileportspanelInstallWizardBean.WC_defaulthost="9080" -W pctdefaultprofileportspanelInstallWizardBean.WC_adminhost="9060" -W pctdefaultprofileportspanelInstallWizardBean.WC_defaulthost_secure="9443" -W pctdefaultprofileportspanelInstallWizardBean.WC_adminhost_secure="9043" -W pctdefaultprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="2809" -W pctdefaultprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8880" -W pctdefaultprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9401" -W pctdefaultprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9403" -W pctdefaultprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9402" -W pctdefaultprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9100" -W pctdefaultprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9353" -W pctdefaultprofileportspanelInstallWizardBean.SIB_ENDPOINT_ADDRESS="7276" -W pctdefaultprofileportspanelInstallWizardBean.SIB_ENDPOINT_SECURE_ADDRESS="7286" -W pctdefaultprofileportspanelInstallWizardBean.SIB_MQ_ENDPOINT_ADDRESS="5558" -W pctdefaultprofileportspanelInstallWizardBean.SIB_MQ_ENDPOINT_SECURE_ADDRESS="5578" ################################################################################ # # Windows service # # The following directives are to install services for # WebSphere ESB 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" ################################################################################ # # Common Event Infrastruction Configuration # # The following entries are used to create a sample Common Event Infrastructure # configuration. Uncomment the appropriate lines & fill in the values. ################################################################################ # Specify the userid for CEI sample configuration to create a sample # Common Event infrastructure. # -W wbiCEIConfigInputPanelBeanId.userId="YOUR_USER_ID_CEI" ################################################################################ # To create the sample Common Event Infrastructure configuration above # specify the password for that sample configuration and confirm that password. # -W wbiCEIConfigInputPanelBeanId.password="YOUR_PASSWORD_CEI" -W wbiCEIConfigInputPanelBeanId.passwordConfirmation="YOUR_PASSWORD_CEI" ################################################################################ # To create the sample Common Event Infrastructure configuration above # specify the server name for that sample configuration. By default, the # server that is created for a standalone node is named "server1". # -W wbiCEIConfigInputPanelBeanId.serverName="server1" ################################################################################ # Database type # # Choose the type of database you want to use/create for Common Event Infrastructure. # The supported database types are as follows: CloudScape, DB2® UDB, Oracle. # To select a particular database type, uncomment the appropriate line. # -W wbiCEIConfigInputPanelBeanId.database="CLOUDSCAPE_V51_1" # -W wbiCEIConfigInputPanelBeanId.database="DB2UDBNT_V8_1" # -W wbiCEIConfigInputPanelBeanId.database="DB2UDBNT_V82_1" # -W wbiCEIConfigInputPanelBeanId.database="ORACLE_V9_1" # -W wbiCEIConfigInputPanelBeanId.database="ORACLE_V10_1" # -W wbiCEIConfigInputPanelBeanId.database="DB2UDBOS390_V7_1" # -W wbiCEIConfigInputPanelBeanId.database="DB2UDBOS390_V8_1" ################################################################################ # The following entries are used only if you selected DB2 as your preferred # database type. ################################################################################ # Create database choice # # If you want to create a new database for Common Event Infrastructure then # set the value as "yes". If you want to generate scripts to create new database # then set the value as "no". # # -W wbiCEIDB2ConfigInfoBean.createDatabaseChoice="yes" ################################################################################ # Database Name # # The database name. By default the database is named "event". 数据库名称# cannot be more than 8 characters long. # # -W wbiCEIDB2ConfigInfoBean.databaseName="event" ################################################################################ # User ID # # User ID to authenticate with the database # # -W wbiCEIDB2ConfigInfoBean.userId="YOUR_USER_ID_DB" ################################################################################ # Password # # Specify the password for database authentication. Later confirm it. # # -W wbiCEIDB2ConfigInfoBean.password="YOUR_PASSWORD_DB" # -W wbiCEIDB2ConfigInfoBean.passwordConfirmation="YOUR_PASSWORD_DB" ################################################################################ # JDBC Driver Classpath # # Specify a directory that contains the following files: # db2jcc.jar, db2jcc_license_cu.jar, db2jcc_license_cisuz.jar # These files should be located in the follow directory: # # "install_root\universalDriver_wbi\lib" # # So, if using DB2_Universal, an acceptable JDBC classpath might be # -W wbiCEIDB2DriverInfo.driverClassPath="C:\Program Files\IBM\WebSphere\universalDriver_wbi\lib" # # # -W wbiCEIDB2DriverInfo.driverClassPath="" ################################################################################ # Driver Type # # Specify the driver JDBC type. Valid values are "2" or "4". # # -W wbiCEIDB2DriverInfo.driverType="4" ################################################################################ # Database Server Name # # Specify the database server name only if your driver type selection was "4". # # -W wbiCEIDB2DriverInfo.databaseServerName="localhost" ################################################################################ # Server Port # # Specify the server port only if your driver type selection was "4". # # -W wbiCEIDB2DriverInfo.serverPort="50000" ################################################################################ # Database Node Name # # Specify the database node name only if the DB2 server is remote. # # -W wbiCEIDB2DriverInfo.dbNodeName="" ################################################################################ # The following entries are used only if you selected Oracle V9.1 or Oracle V10.1 # as your preferred database type. ################################################################################ # Create database choice # # If you want to create a new database for Common Event Infrastructure then # set the value as "yes". If you want to generate scripts to create new database # then set the value as "no". # # -W wbiCEIOracleConfigInfoBean.createDatabaseChoice="yes" ################################################################################ # Database Name # # The database name. Database name cannot be more than 8 characters long. # # -W wbiCEIOracleConfigInfoBean.databaseName="" ################################################################################ # User ID # # User ID to create in the database. # # -W wbiCEIOracleConfigInfoBean.userId="YOUR_DB_USER_ID" ################################################################################ # Password # # Specify the password for the created user ID. Later confirm it. # # -W wbiCEIOracleConfigInfoBean.password="YOUR_DB_USER_PASSWORD" # -W wbiCEIOracleConfigInfoBean.passwordConfirmation="YOUR_DB_USER_PASSWORD" ################################################################################ # User ID # # User ID with SYSDBA authority. # # -W wbiCEIOracleDriverInfo.userId="USER_ID_AUTH_SYSDBA" ################################################################################ # Password # # Specify the password for the user ID with SYSDBA authority. Later confirm it. # # -W wbiCEIOracleDriverInfo.password="USER_PASSWORD_AUTH_SYSDBA" # -W wbiCEIOracleDriverInfo.passwordConfirmation="USER_PASSWORD_AUTH_SYSDBA" ################################################################################ # JDBC Driver Classpath # # Specify a directory that contains the following files: # # ORACLE_OCI8 - specify a directory that contains classes12.zip. # # ORACLE_THIN - specify a directory that contains ojdbc14.jar. # -W wbiCEIOracleDriverInfo.driverClassPath="value" ################################################################################ # Driver Type # # Specify the driver JDBC type only if you did not opt to create a new database. # Valid values are "oci" or "thin". # # -W wbiCEIOracleDriverInfo.driverType="oci" ################################################################################ # Database Server Name # # Specify the database server name only if your driver type selection was "thin". # # -W wbiCEIOracleDriverInfo.databaseServerName="localhost" ################################################################################ # Server Port # # Specify the server port only if your driver type selection was "thin". # # -W wbiCEIOracleDriverInfo.serverPort="1521" ################################################################################ # Profile type # # This must be set to "default" for installing a stand-alone server profile # Do not change this! # -W profiletypepanelInstallWizardBean.selection="default"