Update Installer for WebSphere Software は、オプション応答ファイルを使用して、コマンド行インターフェースから 保守パッケージをインストールすることができます。
install.txt ファイルは、サービス・アップデートをインストールするための バックアップ・ファイルを識別する 1 つのディレクティブを持っています。ファイルのコメントには、ストリング値を設定する方法が記載されています。
Update Installer for WebSphere Software ウィザードはオプション・ファイルを読み取って、インストールの選択を決定します。 アップデート・インストーラーは、グラフィカル・ユーザー・インターフェースを表示しないで、 サイレント・モードで保守パッケージをインストールします。
サンプルのオプション応答ファイルは、install.txt と呼ばれます。 ファイルは、WebSphere ソフトウェア製品のインストール・ルート・ディレクトリー内に Update Installer for WebSphere Software を unzip すると、 app_server_root/updateinstaller/responsefiles ディレクトリー 内に入っています。
オプション・ファイルは、サイレントにインストールするとき、Update installer wizard への値を提供します。 ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。
./update -options "responsefiles/myresponsefile.txt" -silent
./update -options "responsefiles/myresponsefile.txt"
サイレント・インストールでは、応答ファイル妥当性検査はインストール内へコード化されます。 妥当性検査がパスしない場合は、 app_server_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。
/opt/IBM/WebSphere/AppServer/updateinstaller/maintenance/PQ20029.pak
他の製品への保守の適用が可能であっても、更新する製品のディレクトリー構造内で、 可能な場合は常時 Update installer wizard を使用します。 例えば、製品 SDK の間にミスマッチが発生すると、問題が発生します。
絶対に必要でない限り、このディレクティブを使用しないでください。
/opt/IBM/WebSphere/AppServer2
################################################################################ # # 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¥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 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¥WebSphere¥AppServer" # # 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"