MustGather information to diagnose problems with IBM z/OS Connect server containers in Red Hat CodeReady Workspaces.
MustGather describes the information you need to collect when diagnosing a problem with IBM z/OS Connect server running in a Red Hat CodeReady Workspaces container.
Before you begin
About this task
This topic describes the procedure for getting diagnostic data from IBM z/OS Connect server containers in Red Hat CodeReady Workspaces.
- List the namespaces and get the required namespace. From the oc client command line, enter the following command:
oc get namespace
- List the pods Use the oc get pods command. This command has the following format:
oc get pods -n <namespace>For example,
oc get pods -n employeeProject
- Collect the must gather documents Use the oc exec command to invoke the zosconnect_must_gather.sh script. This command has the following format:
oc exec -it <pod_name> /opt/ibm/zosconnect/zosconnect_must_gather.sh -n <namespace>For example,
oc exec -it ibm-zcon-server-5467d7989b-m8kpw /opt/ibm/zosconnect/zosconnect_must_gather.sh -n employeeProject
- Use the oc cp command to copy the must gather documents to the host
system. The command has the following format:
oc cp <pod_name>:/logs/zosconnect_mustgather.<timestamp>.tar.gz /logsToIBM/ -n <namespace>For example,
oc cp ibm-zcon-server-5467d7989b-m8kpw::/logs/zosconnect_mustgather.22.02.15_15.38.55.tar.gz /logsToIBM/ -n employeeProject