Collecting diagnostic data for installation and instance-creation problems
You might have to collect diagnostic data to solve problems that you encounter when installing Db2® software or creating an instance. If the Db2 installer generates the DBI2047E error message, informing you that installation or instance creation failed, you can use the db2support command to automatically collect diagnostic data.
Before you begin
To gather information about remote hosts with the -host parameter, you require an SSH connection.
About this task
The db2support command that is shipped with Db2 installation images supports only a subset of the command parameters that are available after you install the Db2 product. Until you have installed the Db2 product, the only db2support command parameters that you can use are the -install and -host parameters.
Procedure
To gather diagnostic data:
Results
Example
_______ 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"