Starting Db2ZAI

Start the Node server before starting the Liberty server.

Before you begin

This task must be completed by the ID that starts the Db2ZAI Node.js and Akira Liberty servers.

About this task

The Node server must be up and running in order to support the Liberty processes that execute on startup.

Procedure

To start Db2ZAI from a JCL procedure:

  1. To start the Node server from a proc, use the JCL contained in the file hlq.SCOYSAMP(COYZAIST).
    To start the Node server, use the following z/OS® SDSF command:
    /S COYZAIST

    where COYZAIST is the default name for the proc.

    See the comments inside COYZAIST and COYZAISP for instructions on how to customize them for your environment.

    Note: When starting the Db2ZAI processes from JCL, the processes will no longer run under the OMVS subsystem type. Instead, the subsystem type will be changed to STC.

    Verify that your WLM settings are appropriate for these started tasks when running under the STC subsystem type.

  2. To start the Liberty server from a proc, use the JCL contained in the file named hlq.SCOYSAMP(COYAKIRA).
    To start the Liberty server, use the following command:
    /S COYAKIRA

    where COYAKIRA is the default name for the proc.

    See the comments in the JCL for instructions on how to customize the JCL for your environment.

(Optional) To start Db2ZAI from USS:

  1. If you want to start Db2ZAI from USS rather than a JCL procedure, go to the $DB2ZAI_HOME/scripts directory and run the db2zai_services_start script to start the Db2ZAI user interface and services.
    ./db2zai_services_start
    Note: This script starts both the Liberty and Node servers.

To stop Db2ZAI from JCL:

  1. To stop Db2ZAI from JCL, see Stopping the Liberty and Node.js servers with JCL.

To stop Db2ZAI from USS:

  1. To stop Db2ZAI from USS, see Stopping the Liberty and Node.js servers with USS.