Hitachi

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


15.2.5 Changing the interval and number of resend attempts for job result files

When a job being executed on an agent host has ended, the agent host transfers job result files to the manager host, and if the files are transferred successfully, reports termination to the manager host. However, if the transfer fails, the agent host normally retries the transfer at five-minute intervals until the termination status is reported to the manager host. However, if the files are large, analysis of the files burdens the manager host. Normally, if the manager host does not respond within ten minutes of transferring the job result files to the agent host, the agent host assumes a timeout error and tries to send the files again. Repeated resend attempts, however, will cause the manager host to repeatedly perform file analysis, a burden that causes CPU usage to soar. At this point, the manager might no longer be able to accept any other requests.

You can reduce the load on the manager host by changing the interval and the number of resend attempts applied when the transfer of job result files fails.

The following describes how to change the interval and number of resend attempts for job result files.

Note that the procedure described below is not necessary if you use the queueless job execution facility, because the facility does not resend job result files.

Organization of this subsection

(1) Definition procedure

  1. Stop the JP1/AJS3 service.

    Execute the following commands to confirm that all processes have stopped:

    # /etc/opt/jp1ajs2/jajs_stop#1
    # /opt/jp1ajs2/bin/jajs_spmd_status
    #1:

    Confirm that automatic termination has been set.

  2. Execute the following command to set the environment setting parameters described in (2) below:

    jajs_config -k "definition-key" "parameter-name-1"=value-1 ["parameter-name-2"=value-2]
  3. Restart JP1/AJS3.

    The new settings are applied.

(2) Environment setting parameters

Table 15‒16: Environment setting parameters used to change the interval and number of resend attempts for job result files

Definition key

Environment setting parameter

Explanation

[{JP1_DEFAULT|logical-host}\JP1NBQAGENT\Network]#

"NotfyJobStateInterval"=

Specifies the interval for attempts to resend job result files.

"NotfyJobStateCount"=

Specifies the maximum number of resend attempts for job result files.

#:

The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.

For details about the definition of these environment setting parameters, see the following: