サンプル応答ファイル: install.txt

応答ファイルを使用して、サイレントに更新をインストールできます。

install.txt ファイルは、サービス・アップデートをインストールするためのバックアップ・ファイルを識別する 1 つのディレクティブを持っています。 ファイルのコメントには、ストリング値を設定する方法が記載されています。

Update Installer for WebSphere Software ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。 以下のコマンドでは、myresponsefile.txt という名前の サイレント・インストール用のオプション・ファイルのコピーを使用します。

./update -options "responsefiles/myresponsefile.txt" -silent

-silent オプションを使用しない場合は、応答ファイルがグラフィカル・インターフェースの初期値を提供します。

重要: このトピックでは、便宜上、特定のディレクトリー・パスは Linux および UNIX 形式でのみ示します。これに相当する Windows パスは、ディレクトリー区切り記号以外は同一です。

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

サンプルの応答ファイルは、install.txt と指定 されます。 ファイルは、WebSphere ソフトウェア製品のインストール・ルート ・ディレクトリー内に Update Installer for WebSphere Software を unzip した後に、install_root/updateinstaller/responsefiles ディレクトリー内にあります。

サイレント・インストール

オプション・ファイルは、サイレントにインストールするとき、アップデート・インストーラー・ウィザードへの値を提供します。 ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。 以下のコマンドでは、myresponsefile.txt という名前の サイレント・インストール用のオプション・ファイルのコピーを使用します。

update -options "myresponsefile.txt" -silent

応答ファイル・ユーザー・エントリー妥当性検査

サイレント・インストールでは、応答ファイル妥当性検査はインストール内へコード化されます。 妥当性検査がパスしない場合は、install_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。

インストールされるべき保守パッケージのロケーション
デフォルトのディレクティブ設定
-W maintenance.package=""
有効な設定
このディレクティブを PAK ファイルのロケーションに設定しなければなりません。 例えば、Linux システム上に以下のロケーションを指定できます。
install_root/updateinstaller/maintenance/PQ20029.pak
エラー ID:
  • 保守パッケージ maintenance_package_name は、既にシステム上にインストールされています。
  • 選択された製品は、サポートされていません。
  • 構成は失敗しました。 失敗した構成は configuration_action でした。
  • 現行の保守をターゲット製品にインストールする前に、以下の前提条件 APAR をインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ install
  • 現在インストールしようとしているパッケージをインストールする前に、以下の前提条件保守パッケージをインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ install
  • 現行の保守をターゲット製品に適用する前に、以下の APAR をアンインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • 現行の保守をターゲット製品に適用する前に、以下の保守パッケージをアンインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • the_update_installer の正しいバージョンを配置することができません。 バージョン version_identifier を探しています。
  • Maintenance_package は有効な保守パッケージではありません。
代替の製品ロケーション

他の製品への保守の適用が可能であっても、更新する製品のディレクトリー構造内で、常時アップデート・インストーラー・ウィザードを使用します。 絶対に必要でない限り、このディレクティブを使用しないでください。

デフォルトのディレクティブ設定
-W product.location=""
有効な設定
このディレクティブを、代替製品のインストール・ルート・ディレクトリーに設定しなければなりません。 例えば、Solaris システム上に以下のロケーションを指定できます。
/opt/IBM/WebSphere/ProcServer2
エラー ID:
  • 保守パッケージ maintenance_package_name は、既にシステム上にインストールされています。
  • 選択された製品は、サポートされていません。
  • 構成は失敗しました。 失敗した構成は configuration_action でした。
  • 現行の保守をターゲット製品にインストールする前に、以下の前提条件 APAR をインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ install
  • 現在インストールしようとしているパッケージをインストールする前に、以下の前提条件保守パッケージをインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ install
  • 現行の保守をターゲット製品に適用する前に、以下の APAR をアンインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • 現行の保守をターゲット製品に適用する前に、以下の保守パッケージをアンインストールします: list_ of_ prerequisite_ maintenance_ packages_ to_ uninstall
  • the_update_installer の正しいバージョンを配置することができません。 バージョン version_identifier を探しています。
  • Maintenance_package は有効な保守パッケージではありません。
  • Alternate_product_directory は、既存のディレクトリーとして検証できませんでした。

使用上の注意

install.txt ファイルの例

Update Installer for WebSphere Software ZIP ファイル内に含まれているファイルのバージョンを編集します。 以下の例は、実際のファイルの正確な表現であることが保証されていません。
################################################################################
#
# This is the silent install response file for installing maintenance packages
# using the update installer.
# 
# A common use of an options file is to run the wizard in silent mode. This lets
# the options file author specify wizard settings without having to run the
# wizard in graphical or console mode. To use this options file for silent mode
# execution, *uncomment* and modify the parameters defined within.
#
# Use the following command line when running the wizard from the update
# installer directory:
# 
#    update -options responsefiles/install.txt -silent
#
################################################################################
################################################################################
#
# Used to input the maintenance package full filename specification to be installed.
# Edit as appropriate.
#
# ie. -W maintenance.package="C:¥Program Files¥IBM¥WebSphere¥ProcServer¥
#          updateinstaller¥maintenance¥PQ20029.pak"
#
# Note: If no package is specified, a default of the last downloaded maintenance
# package will be used (based on timestamp).
#
#-W maintenance.package=
################################################################################
#
# Used to modify the product install location that will be updated.
# This value should be left commented out if the Update Installer is
# being run from the recommended location
#
# ie. -W product.location="C:¥Program Files¥IBM¥WebSphere¥ProcServer"
#
# Note: If no location is specified, the parent directory to update installer
# will be used as default
#
#-W product.location=""
################################################################################
#
# Do not edit these values.
#
#
-W update.type="install"

(c) Copyright IBM Corporation 2005, 2006.
このインフォメーション・センターには Eclipse テクノロジー (http://www.eclipse.org) が採用されています。