historyInfo コマンドは、properties/version フォルダー および properties/version/history フォルダー内の XML ファイルから 抽出されたデータからレポートを生成します。レポートには、変更されたコンポーネントのリスト、およびインストール済みまたはアンインストール済みの保守パッケージのヒストリーが含まれています。
historyInfo ツールは、ビルド・バージョンおよびビルド日付など、製品およびインストールされたコンポーネントに関する重要なデータを表示します。 保守パッケージのインストールおよび除去のヒストリー情報も、レポート内に表示されます。 このツールは特に、問題の原因を判別するためのサポート要員と作業する場合に役立ちます。
製品ヒストリー・レポート
historyInfo コマンドはスクリプトです。
コマンド・ファイルは、historyInfo という
名前のスクリプトで、app_server_root/bin ディレクトリーに
あります。
コマンド・ファイルは、historyInfo.sh という
名前のスクリプトで、app_server_root/bin ディレクトリーに
あります。
コマンド・ファイルは、historyInfo.bat という
名前のスクリプトで、app_server_root¥bin ディレクトリーに
あります。
コマンド構文は、次のとおりです。
historyInfo [ -format text | html] [ -file file_name] [ -maintenancePackageID ID_of_maintenance_package] [ -component component_name ] historyInfo [ -help | /help | -? | /? | -usage ]
historyInfo.sh [ -format text | html] [ -file file_name] [ -maintenancePackageID ID_of_maintenance_package] [ -component component_name ] historyInfo [ -help | /help | -? | /? | -usage ]
historyInfo [ -format text | html] [ -file file_name] [ -maintenancePackageID ID_of_maintenance_package] [ -component component_name ] historyInfo [ -help | -? | /help | /? | -usage ]
このコマンドは、app_server_root ディレクトリーの bin ディレクトリーから実行します。
<!DOCTYPE event-history SYSTEM "eventHistory.dtd"> <event-history> <update-event event-type="ptf" id="was60_fp1_linux" update-action="install" primary-content="was60_fp1_linux.pak" update-type="replace" log-name= "/opt/WebSphere/AppServer/logs/update/was60_fp1_linux.install/updatelog.txt" backup-name= "/opt/WebSphere/AppServer/properties/version/backup/was60_fp1_linux.pak" start-time-stamp="2004-12-14 06:15:14-0500" result="success"> <update-event event-type="component" parent-id="was60_fp1_linux" id="activity" update-action="install" update-type="replace" start-time-stamp="2004-12-14 06:15:14-0500" result="success"> </update-event> <update-event event-type="component" parent-id="was60_fp1_linux" id=" activity.impl" update-action="install" update-type="replace" start-time-stamp="2004-12-14 06:15:14-0500" result="success"> </update-event> </update-event> <update-event event-type="ptf" id="was60_fp2" update-action="install" primary-content="was60_fp1_linux.pak" update-type="replace" log-name="/opt/WebSphere/AppServer/logs/update/was60_fp2.install/updatelog.txt" backup-name="/opt/WebSphere/AppServer/properties/version/backup/was60_fp2.pak" start-time-stamp="2004-12-14 10:25:34-0500" result="partialSuccess"> <update-event event-type="component" parent-id="was60_fp2" id="activity" update-action="install" update-type="replace" start-time-stamp="2004-12-14 10:25:34-0500" result="partialSuccess"> </update-event> <update-event event-type="component" parent-id="was60_fp2" id=" activity.impl" update-action="install" update-type="replace" start-time-stamp="2004-12-14 10:25:34-0500" result="partialSuccess"> </update-event> </update-event> <update-event event-type="ptf" id="was60_fp2" update-action="uninstall" primary-content=" was60_fp2.pak" update-type="replace" log-name= "/opt/WebSphere/AppServer/logs/update/was60_fp2.uninstall/updatelog.txt" backup-name="not applicable" start-time-stamp="2004-12-18 17:29:12-0500" result="partialSuccess"> <update-event event-type="component" parent-id="was60_fp2" id="activity" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-18 17:29:12-0500" result="partialSuccess"> </update-event> <update-event event-type="component" parent-id="was60_fp2" id=" activity.impl" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-18 17:29:12-0500" result="partialSuccess"> </update-event> </update-event> <update-event event-type="ptf" id="was60_fp1_linux" update-action="uninstall" primary-content=" was60_fp1_linux.pak" update-type="replace" log-name= "/opt/WebSphere/AppServer/logs/update/was60_fp1_linux.install/updatelog.txt" backup-name="not applicable" start-time-stamp="2004-12-23 15:15:14-0500" result="faiurel"> <update-event event-type="component" parent-id="was60_fp1_linux" id="activity" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-23 15:15:14-0500" result="failure"> </update-event> <update-event event-type="component" parent-id="was60_fp1_linux" id=" activity.impl" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-23 15:15:14-0500" result="failure"> </update-event> </update-event> </event-history>
3 つの領域内の変更点: コマンド構文、レポート情報、および event.history ファイル。