Using db2support to collect diagnostic data
db2support
is a tool mainly used to collect extensive information for a running problem. By using this tool, you no longer need to manually collect traces, dumps, or other files requested by IBM DB2 technical support. The collected data is generated and held organized to be easier to study by IBM support. It can also be used for internal use, to diagnose various performance problems.
Getting ready
This tool has many options; there is also the possibility of use in interactive mode, based on questions and answers. In this recipe, we will execute db2support
by mainly using general options and will give one example of how to use it in interactive mode.
How to do it...
To get a summary description about the possible options, issue the following command:
[db2inst1@nodedb21 ~]$ db2support -help
To collect information for the
NAV
database, issue the following command:[db2inst1@nodedb21 backup]$ db2support /data/support/NAV -d NAV
To start
db2support
in...