オプションの応答ファイルを使用して、サイレントに更新をインストールできます。
install.txt ファイルには、サービス・アップデートをインストール するためのバックアップ・ファイルを識別するディレクティブが 1 つ含まれています。 ファイル内のコメントには、ストリング値の設定方法が説明されています。
Update Installer for WebSphere Software Wizard は、オプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。 以下のコマンドは、サイレント・インストール用に myresponsefile.txt という名前のオプション・ファイルのコピーを使用し ます。
./update -options "responsefiles/myresponsefile.txt" -silent
-silent オプションを使用しなかった場合は、応答ファイルがグラフィカル・インターフェースの初期値を提供します。
サンプル・オプション応答ファイルは install.txt という名前に なっています。 このファイルは Update Installer for WebSphere Software を WebSphere ソフトウェア製品 のインストール・ルート・ディレクトリーに unzip した後で install_root/updateinstaller/responsefiles ディレクトリーに置かれます。
オプション・ファイルは、サイレントにインストールするときに、アップデート・インス トーラー・ウィザードに値を提供します。 ウィザードは、オプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。 以下のコマンドは、サイレント・インストール用に myresponsefile.txt という名前のオプション・ファイルのコピーを使用し ます。
update -options "myresponsefile.txt" -silent
サイレント・インストールでは、応答ファイル妥当性検査はインストールされたシステム にコーディングされます。 妥当性検査にパスしない場合は、install_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。
install_root/updateinstaller/maintenance/PQ20029.pak
他の製品に保守を適用することは可能ですが、アップデート・インストーラー・ウィ ザードは、常に、更新する製品のディレクトリー構造内で使用してください。 本当に必要な場合を除き、このディレクティブを使用しないでください。
/opt/IBM/WebSphere/ProcServer2
################################################################################ # # 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"