The Db2 Data Gate server is unavailable

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

Symptoms

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

Causes

The Db2 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 Db2 Data Gate server between the Db2 Data Gate server and the target database.

Resolving the problem

  1. Check if the Db2 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 po|grep dg
    dg-1591613435477-data-gate-64d8bb54dc-2t687

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

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