WebSphere Application Server - Express for i5/OS, Version 6.1   
             オペレーティング・システム: i5/OS

             目次と検索結果のパーソナライズ化

responsefile.express.txt

サイレント・インストールを使用した WebSphere Application Server - Express のインストールとは、ユーザーと対話せずに、 ファイルを使用してインストール・オプションを提供することを指します。 このインストールを構成するには、 応答ファイル内のオプションを変更してから、 インストール・コマンドを実行してください。 サイレント・インストール・モードは、 対話式インストール・オプションを受け入れません。サイレント・インストール中に デフォルト以外のオプションを指定するには、応答ファイルを使用する必要があります。サイレント・ インストールを実行するには、契約オプションでご使用条件を受け入れる必要があります。

必要なディスク・スペースが使用可能であることを確認します。

詳しくは、iSeries の前提条件 を参照してください。

製品ディスクに同梱されているデフォルトの応答ファイルでは、silentInstallLicenseAcceptance オプションの 値が false になっているので、その製品のインストールには使用しないでください。 ファイルをコピーして、値を true に変更します。

応答ファイルのロケーション

サンプルのオプション応答ファイルは、responsefile.express.txt と呼ばれます。

このファイルは、製品ディスク上、 カスタマイズ・インストール・パッケージ (CIP) 内、またはダウンロードされたインストール・イメージ内の WAS ディレクトリーにあります。

作動環境の作成

応答ファイルを使用して製品をインストールすると、デフォルトで作動環境が作成されます。 インストーラー・プログラム:

  1. 新規製品コードをインストールします。
  2. デフォルト・プロファイルを作成します。

    以下の使用可能なメソッドのいずれかを使用して、 追加プロファイルを作成することができます。

    • manageprofiles コマンドを使用します。

      manageprofiles コマンド の説明を参照してください。

    • IBM Web Administration for i5/OS ウィザードを使用します。
    • createProfile="true" オプションを持つ応答ファイルを 使用してインストールを実行し、-OPT profileType="standAlone" オプションを持つ スタンドアロン・アプリケーション・サーバー・プロファイルを作成します。

応答ファイルを使用したインストール

  1. 製品ディスク上の WAS ディレクトリーから responsefile.express.txt ファイルを、 システム上の容易に識別できる場所にコピーします。
  2. ファイルを編集して、インストールに応じた値にカスタマイズします。
  3. ファイルに、例えば myresponsefile.txt という名前を付けて保管します。
  4. インストールを開始します。 以下に例を示します。
    install -options /tmp/WAS/myresponsefile.txt -silent
    
    install -options /MYDATA/myresponsefile.txt
    
  5. インストールを完了したら、成功を表すログを確認します。

ロギング

インストール・ウィザード およびプロファイル管理が、以下のログ・ファイルにインストール・イベントを記録します。

表 1. WebSphere Application Server - Express のインストールおよびプロファイル作成ログ
ログ (Log) 内容 インディケーター
app_server_root /logs/install/log.txt すべてのインストール・イベントを記録します。
戻りコード
意味
0
正常
1
失敗
2
部分的な成功
user_data_root/profileRegistry/logs/manageprofiles/create.log
  • 名前付きのプロファイルの作成中に発生するすべてのイベントをトレースします。
  • プロファイル管理ツールまたは manageprofiles コマンドを使用したときに作成されます。
INSTCONFFAIL
すべてのプロファイル作成の失敗。
INSTCONFSUCCESS
プロファイル作成の成功。
INSTCONFPARTIALSUCCESS
プロファイル作成エラーが発生しましたが、プロファイルは機能しています。 追加情報でエラーを識別します。
app_server_root/logs/install/ installconfig.log
  • インストール手順の最後で実行される ANT 構成スクリプトのアクティビティーを記録します。
構成アクションは失敗しました。
ANT スクリプト構成が失敗しました。
構成アクションが成功しました。
ANT スクリプト構成が成功しました。

ISMP が、インストール・ウィザードを開始できないときにログに記録する情報

インストールが成功 (部分的に成功) したか 失敗したかを調べるには、app_server_root/logs/install/log.txt ファイルを 確認してください。 app_server_root/logs/install ディレクトリーが 存在しない場合は、以下の場所にあるログ・ファイルを確認してください。
  • user_home/waslogs
  • user_home/niflogs/tmp/waslogs
ここで、user_home は、 インストールを実行するユーザーのホーム・ディレクトリーを指します。

インストールの終了時に INSTCONFPARTIALSUCCESS と 表示された場合は、user_data_root/profileRegistry/logs/manageprofiles ディレクトリー の下にあるログ・ファイルで、エラー内容を確認してください。 アンインストール後に、再インストールを試行しないでください。 問題を判別できない場合は、IBM サポートに連絡してください。

詳しくは、インストールのトラブルシューティング を参照してください。

i5/OS のデフォルト・ファイルの例

ディスクに同梱される応答ファイルのフォーマットを以下に示します。

################################################################################
#
# V6.1 InstallShield Options File
#
# Wizard name: Install
# Wizard source: setup.jar
#
# This file can be used to configure Install with the options specified below
# when the wizard is run with the "-options" command line option. Read each
# setting's documentation for information on how to change its value.
# Enclose all values within a single pair of double quotes.
# 
# A common use of an options file is to run the wizard in silent mode. This lets
# the options file's author to specify wizard settings without having to run the
# wizard in graphical or console mode. To use this options file for silent mode
# execution, use the following command line arguments when running the wizard:
# 
#    -options "/responsefile.path/responsefile.express.txt"
#
################################################################################

################################################################################
#
# Invoke the install wizard in silent mode for both local and remote install 
# whenever the response file is used.
#

-silent

#################################################################################
#
# License Acceptance
#
# Valid Values:
#	true - Accepts the license. Will install the product.
#	false - Declines the license. Install will not occur.
#
# If no install occurs, log files can be found in the user_home/waslogs 
# directory.
#
# By changing the silentInstallLicenseAcceptance property in this response file 
# to "true", you agree that you have reviewed and agree to the terms of the 
# IBM International Program License Agreement accompanying this program, which
# is located at CD_ROOT/WAS/lafiles.  If you do not agree to these terms, do not 
# change the value or otherwise download, install, copy, access, or use the 
# program and promptly return the program and proof of entitlement to the party 
# from whom you acquired it to obtain a refund of the amount you paid.
# 

-OPT silentInstallLicenseAcceptance="false"


################################################################################
# Custom Install Package (CIP) Special Paramaters
#
# If you want to install CIP on an existing installation, e.g. apply maintenance or add feature, you
# need to set the 'installType' option to 'installAndPatch', for example:
#
# -OPT installType="installAndPatch"
# 
# Please make sure you only set it once.  This applies to other parameters as well.
#
# You can use 'feature' option to control whether to install samples or not. See the "feature" section
# below for valid values for 'feature' option.
#
# In CIP install scenario, set 'installType' to 'addFeature' is the same as set it to 'installAndPatch'. 
# It is different from non-CIP install.
#
# By using the following option, you can choose whether to install profile customization at CIP install time.
#
#  Valid Options :
#        maintenanceOnly                - Only installs product binary files.  If the CIP contains profile customizations, they will NOT be installed.
#        customizationAndMaintenance    - Installs both product binary files and profile customizations (if any).
#
#
-OPT if_cip_modifyexistinginstall=customizationAndMaintenance


################################################################################
#
# Operating System Prerequisite Checking
#
# If you want to disable operating system prerequisite checking, uncomment
# the following line. This will notify the installer to continue with
# the installation and log the warnings even though the prerequisite checking
# has failed.
#
#-OPT disableOSPrereqChecking="true"

################################################################################
#
# Non-blocking Prerequisite Checking
#
# If you want to disable non-blocking prerequisite checking, uncomment
# the following line. This will notify the installer to continue with
# the installation and log the warnings even though the prerequisite checking
# has failed.
#
#-OPT disableNonBlockingPrereqChecking="true"

################################################################################
#
# Install Type Settings 
#
# The installType option designates the type of installation that will be
# performed.
#
# The default installType option is to install a new copy of WebSphere
# Application Server.#
# Valid Values:
#	installNew - default value, installs a new copy.
#	addFeature - add features to an existing installation.
#	upgrade - upgrade a trial edition to a licensed version.
#

################################################################################
#
# Install a New Copy
#
# To install a new copy, be sure that the installLocation option is set to a 
# new install location.
#

-OPT installType="installNew"
################################################################################
#
# Incremental Install
#
# If you are installing additional features on top of an existing installation,
# (e.g. incremental install), uncomment the following line.  This will notify
# the installer that you are doing an incremental install.
#
#-OPT installType="addFeature"
#
# Define the new features you want to install on top of an existing WebSphere 
# Application Server.  The only additional feature available in WebSphere 
# Application Server is Application Server Samples.
#
# Ensure the feature option below is set to "samplesSelected" (-OPT feature="samplesSelected") 
# and the installLocation option is set to an "existing" WebSphere Application 
# Server install location.
#

################################################################################
#
# Upgrade from Express Trial to Licensed version
#
# NOTE: Do NOT set this option unless you have an Express Trial edition installed.
#       You cannot do an upgrade unless you have at least one Express Trial edition installed.
#
# To setup an upgrade install, UNcomment the following entry
#
# -OPT installType="upgrade"
#
# Be sure the installLocation option is set to your existing Express trial install location.
#

################################################################################
#
# Create Profile for an Existing V6.1 Installation
#
# Valid Values:
#       true - creates a profile for an existing installation
#       false - does not create a profile
# 
# To create a profile for an existing installation, uncomment the following
# entry. Comment out the "installType" option above since "installType"
# and "createProfile" options cannot be specified at the same time.
#
# Be sure the installLocation option is set to your existing install location.
#
#-OPT createProfile="true"
#

################################################################################
#
# "Application Server samples" feature
#
# The selection state of the "Application Server samples" feature.# 
# Valid Values:
#    samplesSelected  - Indicates that the feature is selected for installation.
#    noFeature - Indicates that the feature is not selected for installation,
#                this is the default option.
# 
# For example, to select "Application Server samples" for installation, use
# 
#    -OPT feature="samplesSelected"
#
# Note if feature="samplesSelected" and PROF_enableAdminSecurity="true",
# you must provide a password by uncommenting and specifying a value for
# PROF_samplesPassword in the Administrative Security section below
#

-OPT feature="noFeature"

################################################################################
#
# Install Location
#
# The install location of the product. Specify a valid directory into which the
# product should be installed. For new installs, this directory must be either
# empty or not exist.  Otherwise, this directory must be the product install
# location for the product to be modified.
# 
# Below is the default WebSphere Application Server install location for the i5 
# operating system.
#
# i5OS Default Install Location:
#
#  -OPT installLocation="/QIBM/ProdData/WebSphere/AppServer/V61/Express"
#

-OPT installLocation="/QIBM/ProdData/WebSphere/AppServer/V61/Express"

################################################################################
#
# Profile Location
#
# The desired install location of profiles.  For new installs, specify a valid 
# directory into which the profiles should be installed.  This directory must be 
# either empty or not exist.
#
# Below is the default profile install location for the i5 operating system.
#
# i5OS Default Profile Install Location:
#
#  -OPT defaultProfileLocation="/QIBM/UserData/WebSphere/AppServer/V61/Express"
#

-OPT defaultProfileLocation="/QIBM/UserData/WebSphere/AppServer/V61/Express"

################################################################################
#
# Allow Profile Location Override
#
# This option allows users to overrule the empty default profile location requirement.
#
# Valid Values:
#	true - Allow profile location override
#	false - Do not allow profile location override
#
# If desired, uncomment the following entry
#
# -OPT allowOverrideProfileLocation="true"

################################################################################
#
# Profile Creation Selection 
#
# A default WebSphere Application Server profile will be created automatically 
# during Express install.  Use this option to instruct the installer not to create
# a default profile.
#
# Valid Values:
#	none - a profile will not be created during installation.
# 
# To not create a profile, uncomment the following entry
#
#-OPT profileType="none"

################################################################################
#
# Administrative Security 
#
# Choose whether to enable Administrative security for the profile which
# will be created during install.
#
# If profileType="none", Administrative security should be disabled.  
# Use -OPT PROF_enableAdminSecurity="false" to disable security.
#
# Valid Values:
#	true - Administrative security is enabled, user name and password required
#	false - Administrative security is not enabled
#

-OPT PROF_enableAdminSecurity="true"

################################################################################
# 
# Security Options
#
# The following two options should only be uncommented when
# PROF_enableAdminSecurity="true".
#
# If PROF_enableAdminSecurity="false", the following entries will be
# disregarded.
#
# If PROF_enableAdminSecurity="true", the following entries are required and must
# be filled out before proceeding with silent installation.
#
# Specify the user name for administrative security
#
# Valid Values:
#       a character string - do not use the following characters:
#       /, ¥, *, , , :, ;, =, +, ?, |, <, >, &, %, ', ", ]]>, #, $, ^, {, }
# Note: a period (.) is not valid if it is the first character.
#
-OPT PROF_adminUserName=
#
# Specify the password for the user specified in PROF_adminUserName
#
# Valid Values:
#       a character string
#
-OPT PROF_adminPassword=
#
# The following option should only be uncommented when feature="samplesSelected" and
# PROF_enableAdminSecurity="true"
# Specify the password for the samples user
#
# Valid Values:
#       a character string
#
#-OPT PROF_samplesPassword=

#####################################################################################
# if createProfile="true", you may use the following profile creation options:
#####################################################################################
################################################################################
#
# Stand-Alone Profile
#
################################################################################
# 
# Profile name
#
# Specify the name of the profile for the Application Server. The profile 
# name must be unique for this WebSphere Application Server installation.
#
# Valid Values:
#       a character string - do not use the following characters:
#       /, ¥, *, , , :, ;, =, +, ?, |, <, >, &, %, ', ", ]]>, #, $, ^, {, }
# Note: a period (.) is not valid if it is the first character.
#
#-OPT PROF_profileName=

################################################################################
# 
# Profile path
#
# Specify a valid directory to contain the files that define the run-time environment, 
# such as commands,configuration files, and log files.#
# Valid Values: An empty directory, the user must have proper permissions to the directory
# and there must be adequate disk space
#
#-OPT PROF_profilePath=

################################################################################
#
# Default Profile
#
# To make this profile the default target of commands that do not use their profile parameter.
#
# Valid Values:
#     true - make this the default profile.
#     false - do not make this the default profile.
#
#-OPT PROF_isDefault="true"

################################################################################
#
# 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.
#
# Valid Values: a valid hostname or IP address
# 
#-OPT PROF_hostName=

################################################################################
# 
# Application Server Node name
#
# Specify the node name for the Application Server. Node names under one cell 
# must be unique. 
#
# Valid Values:
#       a character string - do not use the following characters:
#       /, ¥, *, , , :, ;, =, +, ?, |, <, >, &, %, ', ", ]]>, #, $, ^, {, }
# Note: a period (.) is not valid if it is the first character.
#
#-OPT PROF_nodeName=

################################################################################
#
# Cell name
#
# Specify the cell name for the profile to be created.
#
# Valid Values:
#       a character string - do not use the following characters:
#       /, ¥, *, , , :, ;, =, +, ?, |, <, >, &, %, ', ", ]]>, #, $, ^, {, }
# Note: a period (.) is not valid if it is the first character.
#
#-OPT PROF_cellName=

################################################################################
# 
# Server name
#
# Specify the server name for the Application Server. 
# Server names under one node must be unique.
#
# Valid Values:
#       a character string - do not use the following characters:
#       /, ¥, *, , , :, ;, =, +, ?, |, <, >, &, %, ', ", ]]>, #, $, ^, {, }
# Note: a period (.) is not valid if it is the first character.
#
#-OPT PROF_serverName=

################################################################################
#
# OS/400 Passwords
#
# If specified, the profile will be configured to store the encoded passwords in
# an i5/OS validation list object.
#
# Valid Values:
#     true - use i5/OS password encoding
#     false - do not use i5/OS password encoding (use the default XOR encoding)
#
#-OPT PROF_os400passwords=

################################################################################
#
# OS/400 Password Validation List
#
# Validation list to use if PROF_os400passwords is specified.
#
# Valid Values:
#     A fully qualified validation list object name.
#     Format is LIBRARY/OBJECTNAME, eg. MYLIB/MYVLDL
#
#-OPT PROF_validationlist="QUSRSYS/EJSADMIN"

################################################################################
#
# External HTTP port
#
# The external HTTP port for your Web server instance.
#
# Valid Values: a positive integer port value, within the valid port range
#
#-OPT PROF_exthttp="80"

################################################################################
#
# Starting Port
#
# Specify the starting port number for generating all ports for the profile.
# Do not use this parameter with the PROF_portsFile or PROF_defaultPorts parameters.
#
# Valid Values: a positive integer port value, within the valid port range
#
#-OPT PROF_startingPort=

################################################################################
#
# Port File
#
# Specify the path to a property file containing the desired port values for
# the new profile. Do not use this parameter with the PROF_startingPort or
# PROF_defaultPorts parameters.
#
# Valid Values: A fully qualified path to a valid ports property file
#
#-OPT PROF_portsFile= 

################################################################################
#
# Default Ports
#
# Specify that default ports are to be used for the new profile. 
# Do not use this parameter with the PROF_portsFile or PROF_startingPort parameters.
#
# Valid Values:
#     true - use WAS default ports.
#     false - do not use WAS default ports.
#
#-OPT PROF_defaultPorts="true"

################################################################################
#
# Validate Ports
#
# Validate ports to ensure they are not reserved or in use.
#
# Valid Values:
#     true - enables port validation
#     false - disables port validation
#
#-OPT PROF_validatePorts="true"

################################################################################
#
# WebServer Check
#
# Specify whether you wish to set the web server definition.
#
# Valid Values:
#     true - enable the creation of a webserver definition.
#     false - do not enable the creation of a webserver definition.
#
#-OPT PROF_webServerCheck="true"

################################################################################
#
# WebServer Type
#
# Specify the type of web server you are creating.
# Uncomment the following if and ONLY if PROF_webServerCheck="true".
#
# Valid values (case sensitive): IHS | DOMINO
#
#-OPT PROF_webServerType=
                      
################################################################################
#
# WebServer OS
#
# Specify the operating system of the system where the web server is
#                                    installed. 
Uncomment the following if and ONLY if PROF_webServerCheck="true".
#
# Valid Values: linux | windows | aix | hpux | solaris | os390 | os400
#
#-OPT PROF_webServerOS=

################################################################################
#
# WebServer Name
#
# Specify the name of the web server. Uncomment the following if and ONLY if
# PROF_webServerCheck="true".
#
# Valid Values:
#       a character string - do not use the following characters:
#       /, ¥, *, , , :, ;, =, +, ?, |, <, >, &, %, ', ", ]]>, #, $, ^, {, }
# Note: a period (.) is not valid if it is the first character.
#
#-OPT PROF_webServerName=

################################################################################
#
# WebServer Hostname
#
# Specify the hostname of the system with the web server. Uncomment the following
# if and ONLY if PROF_webServerCheck="true".
#
# Valid Values: a valid hostname or IP address
#
#-OPT PROF_webServerHostname=

################################################################################
#
# WebServer Port
#
# Specify the port from which the web server can be accessed. Uncomment the
# following if and ONLY if PROF_webServerCheck="true".
#
# Valid Values: a valid port number
#
#-OPT PROF_webServerPort=

################################################################################
#
# WebServer Install Path
#
# Specify the installation path of the web server (local or remote).
# Uncomment the following if and ONLY if PROF_webServerCheck="true".
#
# Valid Values: a valid directory path
#
#-OPT PROF_webServerInstallPath=

################################################################################
#
# WebServer Plugin Path
#
# Specify the path to the plugins that will be used by this web server.
# Uncomment the following if and ONLY if PROF_webServerCheck="true".
#
# Valid Values: a valid directory path
#
#-OPT PROF_webServerPluginPath=

################################################################################
#
# Omit Action
#
# Use this option to omit the config action specified
#
# Valid Values: one of the following optional config actions 
#               deployAdminConsole
#              defaultAppDeployAndConfig
#              samplesInstallAndConfig
#
#-OPT PROF_omitAction=

################################################################################
#
# Developer Server
#
# Use this option to indicate that the default server is meant for development purposes only.
#
# Valid Values:
#     true - mark this default server for development purposes only.
#     false - do not mark this default server for development purposes only.
#
#-OPT PROF_isDeveloperServer="true"

################################################################################
#
# Tracing Control
#
# The trace output format can be controlled via the option 
# -OPT traceFormat=ALL
#
# The choices for the format are 'text' and 'XML'. By default, both formats will be produced,
# in two different trace files. 
#
# If only one format is required, use the traceFormat option to specify which one, as follows:
#
# Valid Values:
#       text - Lines in the trace file will be in a plain text format for easy readability. 
#       XML  - Lines in the trace file will be in the standard Java logging XML format which
#              can be viewed using any text or XML editor or using the Chainsaw tool from Apache
#              (http://logging.apache.org/log4j/docs/chainsaw.html).
#
# The amount of trace info captured can be controlled using the option:
# -OPT traceLevel=INFO
#
# Valid Values:
#       Level          Numerical Level       Description
#       OFF                 0              No trace file is produced
#       SEVERE              1              Only severe errors are output to trace file
#       WARNING             2              Messages regarding non-fatal exceptions and warnings are added to trace file
#       INFO                3              Informational messages are added to the trace file (this is the default trace level)
#       CONFIG              4              Configuration related messages are added to the trace file
#       FINE                5              Tracing method calls for public methods
#       FINER               6              Tracing method calls for non public methods except getters and setters
#       FINEST              7              Trace all method calls, trace entry/exit will include parameters and return value

オプションのインストール・タイプおよびプロファイルのオプション

サイレント・インストールに使用できるオプションは、実行しているインストール・タスク に応じて異なります。
  • installNew
  • addFeature
  • upgrade

新規インストールのオプション

-OPT silentInstallLicenseAcceptance=
-OPT installType="installNew"-OPT feature=
-OPT installLocation="/QIBM/ProdData/WebSphere/AppServer/V61/<edition>"
-OPT defaultProfileLocation="/QIBM/UserData/WebSphere/AppServer/V61/<edition>"

スタンドアロン・アプリケーション・サーバー・セルの作成のオプション

-OPT feature="samplesSelected"-OPT installLocation="/QIBM/ProdData/WebSphere/AppServer/V61/<edition>"
-OPT createProfile="true"
-OPT defaultProfileLocation="/QIBM/UserData/WebSphere/AppServer/V61/<edition>"
-OPT profileType="standAlone"
-OPT silentInstallLicenseAcceptance="true"-OPT traceFormat=ALL
-OPT traceLevel=INFO
-OPT PROF_cellName=
-OPT PROF_defaultPorts=-OPT PROF_enableAdminSecurity="false"
-OPT PROF_hostName=
-OPT PROF_isDefault=
-OPT PROF_nodeName=
-OPT PROF_omitAction=
-OPT PROF_portsFile=
-OPT PROF_profileName=
-OPT PROF_profilePath=
-OPT PROF_serverName=
-OPT PROF_startingPort=
-OPT PROF_validatePorts=
-OPT PROF_webServerCheck=
-OPT PROF_webServerHostname=
-OPT PROF_webServerInstallPath= 
-OPT PROF_webServerName= 
-OPT PROF_webServerOS=
-OPT PROF_webServerPluginPath=
-OPT PROF_webServerPort= 
-OPT PROF_webServerType=
-OPT PROF_winserviceAccountType=
-OPT PROF_winserviceCheck=
-OPT PROF_winservicePassword=
-OPT PROF_winserviceStartupType=
-OPT PROF_winserviceUserName=
参照トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 7:05:28 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.iseries.doc/info/iseriesexp/ae/rins_responsefile_express61_cip.html