Update Installer for WebSphere Software は、オプション応答ファイルを使用して、コマンド行インターフェースから 保守パッケージをインストールすることができます。
Update Installer for WebSphere Software ウィザードはオプション・ファイルを読み取って、インストールの選択を決定します。 アップデート・インストーラーはサイレント・モードで保守パッケージをインストールします。
サンプルのオプション応答ファイルは、install.txt と呼ばれます。 ファイルは、最新の WebSphere Application Server for i5/OS のグループ PTF を 適用するか、あるいは、Update Installer for WebSphere Software をインストールすると、updi_root/responsefiles ディレクトリー内に入っています。
オプション・ファイルは、Update installer wizard への値を提供します。
update -options responsefiles/myresponsefile.txt-silent パラメーターは更新スクリプトで既に定義されているので、 指定する必要はありません。
サイレント・インストールでは、応答ファイル妥当性検査はインストール内へコード化されます。 妥当性検査がパスしない場合は、 app_server_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。
以下の例は、実際のファイルの正確な表現であることが保証されていません。
################################################################################ # # 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 # # Please enclose all values within a single pair of double quotes. # ################################################################################ ################################################################################ # # Used to input the maintenance package full filename specification to be installed. # Edit as appropriate. # # ie. -W maintenance.package="/qibm/proddata/WebSphere/AppServer/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 input the product install location that will be updated. # # ie. -W product.location="/qibm/proddata/WebSphere/AppServer" # # Note: The product install location should always been specified, and it should # always be the full path. # -W product.location="" ################################################################################ # # Do not edit these values. # -W update.type="install"