Starting IBM® Db2 Warehouse

The Db2 Warehouse container and services are started automatically when you issue a docker run command. However, there are other ways that you can start the Db2 Warehouse container and services.

About this task

To perform this task, you require root authority.

Procedure

  1. Use one of the following approaches:
    • If you did not use Db2 Warehouse Orchestrator for the deployment, start the Db2 Warehouse container and services by issuing the following Docker or Podman command:
      docker start Db2wh
      podman start Db2wh
      In an MPP deployment, if you want the services to be started on all nodes, you must issue the command on all nodes.
    • If you used Db2 Warehouse Orchestrator for the deployment, start the Db2 Warehouse containers and services on all nodes in the cluster by running the db2wh_orchestrator.sh script on the head node.
      path_to_scripts/db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --start 
  2. Check whether the container and services started by issuing the following command:
    docker exec -it Db2wh status
    podman exec -it Db2wh status

Results

After the Db2 Warehouse services start, you will see success messages, and you can log in to the web console.