インストールおよびインスタンス作成時の問題に関する診断データの収集
Db2®ソフトウェアのインストールやインスタンスの作成時に発生した問題を解決するために、診断データを収集する必要があるかもしれません。 Db2 インストーラーによって DBI2047E エラー・メッセージが生成され、インストールまたはインスタンスの作成が失敗したという通知が出された場合は、db2support コマンドを使用して、診断データを自動収集できます。
始める前に
-host パラメーターを使用してリモート・ホストについての情報を収集するには、SSH 接続が必要です。
このタスクについて
Db2インストールイメージに同梱されている'db2supportコマンドは、Db2製品をインストールした後に使用できるコマンドパラメータのサブセットのみをサポートしています。 Db2 製品のインストールが完了するまで、db2support コマンド・パラメーターのうち、使用できるものは -install と -host パラメーターのみです。
プロシージャー
診断データを収集するには、以下のようにします。
結果
例
_______ D B 2 S u p p o r t ______
Output file is "/home/hotellnx96/db2docs1/db2support.zip"
Time and date of this collection: 2010-11-01-10.06.16.559562
Creating directory /home/hotellnx96/db2docs1/DB2SUPPORT
Starting collection on host hotellnx96
Creating directory /home/hotellnx96/db2docs1/DB2SUPPORT/hotellnx96_IIH
Collecting resources group information
Collecting user identity information
Collecting current process information
Collecting active interprocess communications facilities information
Collecting system information
Collecting detailed data on system and hardware errors
Collecting registry contents
Collecting GPFS information
Collecting configuration, log and trace information for RSCT
Collecting information about installed Db2 products
Collecting information about state of db2 instance
Collecting "/home/hotellnx96/db2docs1/sqllib/db2dump/db2diag.log"
Collecting /etc/services
Collecting /home/hotellnx96/db2docs1/sqllib/db2nodes.cfg
Collecting directory /home/hotellnx96/db2docs1/sqllib/db2dump
Collection on host hotellnx96 completed
Compressing files in /home/hotellnx96/db2docs1/DB2SUPPORT directory
Collecting /home/hotellnx96/db2docs1/db2support.log
Collecting db2support.out
db2support is now complete.
An archive file has been produced: "/home/hotellnx96/db2docs1/db2support.zip"