How To
Summary
Steps to transfer files from the dv headpod (c-db2u-dv-db2u-0) and share them with technical support.
Objective
To facilitate troubleshooting it is necessary to transfer files from a DV pod to a server that is sftp accessible. These steps can be used to transfer the files
Steps
1) log into the api host of the OCP cluster
2) login in so that you can run oc commands >> oc login -u <username> -p <password>
3) create a directory to use as the target (eg: test)
4) oc rsh c-db2u-dv-db2u-0 bash
5) su - db2inst1 **or whatever user that makes sense in your env
6) mkdir <directory name>
7) chmod 777 <directory name>
8) cd <directory name>
9) tar -czvf node0000.tar.gz /var/ibm/bigsql/diag/NODE0000/ ** this gz will have all the files from that directory
10) exit back to your api node/host
11) navigate/cd to the directory you created in step 3 above
12) oc cp c-db2u-dv-db2u-0:/mnt/blumeta0/home/db2inst1/<directory name>/node0000.tar.gz node0000.tar.gz
13) use filezilla or another sftp tool to transfer the file from the api host to your local machine
14) upload the file to the case from your salesforce ticket
2) login in so that you can run oc commands >> oc login -u <username> -p <password>
3) create a directory to use as the target (eg: test)
4) oc rsh c-db2u-dv-db2u-0 bash
5) su - db2inst1 **or whatever user that makes sense in your env
6) mkdir <directory name>
7) chmod 777 <directory name>
8) cd <directory name>
9) tar -czvf node0000.tar.gz /var/ibm/bigsql/diag/NODE0000/ ** this gz will have all the files from that directory
10) exit back to your api node/host
11) navigate/cd to the directory you created in step 3 above
12) oc cp c-db2u-dv-db2u-0:/mnt/blumeta0/home/db2inst1/<directory name>/node0000.tar.gz node0000.tar.gz
13) use filezilla or another sftp tool to transfer the file from the api host to your local machine
14) upload the file to the case from your salesforce ticket
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSK1AQ","label":"IBM Data Virtualization"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":""}]
Was this topic helpful?
Document Information
Modified date:
05 June 2025
UID
ibm17235767