Using the db2support tool in Db2

You can run a command to gather information about your Db2 environment to be used by IBM® Support for Db2.

Procedure

  1. Exec into the Db2 pod.
  2. Become the Db2 instance owner:
    su - ${DB2INSTANCE}
  3. Run the db2support tool:
    db2support

    The resulting db2support.zip file is saved in the current directory, /mnt/blumeta0/home/db2inst1.

  4. Create a db2support directory and store the db2support.zip file in the directory:
    mkdir /mnt/blumeta0/home/db2inst1/db2support
    mv db2support.zip /mnt/blumeta0/home/db2inst1/db2support
  5. Exit the pod and copy the db2support.zip file from the Db2 pod directory to the current directory:
    oc cp c-db2oltp-1658911541231208-db2u-0:/mnt/blumeta0/home/db2inst1/db2support .