The Data Gate server is unavailable

On the dashboard of a Data Gate instance, you see a message saying that the Data Gate server is unavailable.

Symptoms

The Data Gate dashboard shows the message Data gate server unavailable.

Causes

The Data Gate server pod has not been started correctly, or a connection problem exists between the Db2 for z/OS data source or between the Data Gate server between the Data Gate server and the target database.

Resolving the problem

  1. Check if the Data Gate server pod has been started correctly by running the appropriate command as user root from the command-line of the machine where Cloud Pak for Data is installed. Example:
    oc get pod -n $PROJECT_CPD_INST_OPERANDS -l icpdsupport/app=dg-instance-server,\
    icpdsupport/serviceInstanceId=`echo $DG_INSTANCE_ID | sed 's/^dg//'` -o jsonpath='{.items[0].metadata.name}'
    dg-1591613435477-data-gate-64d8bb54dc-2t687

    To use this example, replace the Data Gate instance ID dg-1591613435477-data-gate-64d8bb54dc-2t687 with your Data Gate instance ID.

  2. Check the connection between the Db2 for z/OS data source and the Data Gate server.
  3. Check if the target database is up and running.