Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


17.2.11 Specifying the settings that control startup and termination of JP1/AJS3 in a logical host environment

This subsection describes how to specify the settings that control JP1/AJS3 when the JP1/AJS3 service in a logical host environment is started or terminated.

Organization of this subsection

(1) Settings for the queueless agent service and the queueless file transfer service

For details about starting and stopping the queueless agent service and queueless file transfer service, see 17.2.7 Setting up the queueless job execution environment.

(2) Settings for the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service

The following describes how to specify the settings for starting and stopping the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service.

(a) Setting startup of the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_start.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. To use a machine running a logical host as a container host machine for the JP1/AJS3 Check Agent service, in the file, delete the following shaded parts:

    [Figure]

  4. Close the file.

(b) Setting stoppage of the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_stop.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. Close the file.

(3) Setting stoppage of the JP1/AJS3 Autonomous Agent service and the JP1/AJS3 Autonomous Agent Messenger service

The following describes how to specify the settings for starting and stopping the JP1/AJS3 Autonomous Agent service and the JP1/AJS3 Autonomous Agent Messenger service.

(a) Setting startup of the JP1/AJS3 Autonomous Agent service and the JP1/AJS3 Autonomous Agent Messenger service

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_start.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. To use a machine on which a logical host operates as a container host machine, in the file, delete the following shaded parts:

    [Figure]

  4. Close the file.

(b) Setting stoppage of the JP1/AJS3 Autonomous Agent service and the JP1/AJS3 Autonomous Agent Messenger service

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_stop.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. Close the file.

(4) Settings for outputting the status of JP1/AJS3 processes when JP1/AJS3 starts

To output the status of JP1/AJS3 processes when JP1/AJS3 starts:

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_start.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. Close the file.

(5) Adjusting the time to wait for JP1/AJS3 to start or to stop

(a) Adjusting the time to wait for JP1/AJS3 to start

The jajs_start.cluster command waits a maximum of 60 seconds for startup of JP1/AJS3 to be confirmed. In cases such as when the automatic reorganization feature for ISAM files is used, JP1/AJS3 might not start within 60 seconds. For these cases, you must adjust the wait time.

The following describes how to set the time to wait for startup of JP1/AJS3 to be confirmed. Note that the following procedure assumes that startup of JP1/AJS3 requires 140 seconds.

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_start.cluster
  2. In the file, change the shaded parts shown below.

    [Figure]

  3. Close the file.

(b) Adjusting the time to wait for JP1/AJS3 to stop

The jajs_stop.cluster command waits a maximum of 60 seconds for stoppage of JP1/AJS3 to be confirmed. If JP1/AJS3 does not stop within 60 seconds, you must adjust the wait time.

The following describes how to set the time to wait for stoppage of JP1/AJS3 to be confirmed. Note that the following procedure assumes that stoppage of JP1/AJS3 requires 140 seconds.

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_stop.cluster
  2. In the file, change the shaded parts shown below.

    [Figure]

  3. Close the file.

(6) Settings for use as a container host machine

The following describes the procedure for specifying the settings for using a logical host on a container host machine so that JP1/AJS3 - Agent can also be used in containers.

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_start.cluster
  2. In the file, change the shaded parts shown below.

    [Figure]

  3. Close the file.