Hitachi

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


15.2.6 Preventing duplicated reception of job result files

When a standard job or action job being executed on an agent host has ended, the agent host transfers job result files (standard output and standard error output files) to the manager host. Normally, when the agent host has transferred the files, it waits 10 minutes for a response from the manager host. However, if the files are large, file analysis on the manager host takes time, and the wait for a response from the manager host times out. If a timeout occurs, the agent host tries to resend the files until they are transferred successfully. 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 use an environment setting parameter to prevent the manager host from receiving job result files resent by agent hosts, thereby reducing the load on the manager. Although the setting for enabling the resending of job result files can also be specified on the agent host side, using that setting is not suitable for a large-scale configuration that includes many agent hosts. This is because the setting must be specified on each agent host. For details about how to specify the setting on the agent host side, see also 15.2.5 Changing the interval and number of resend attempts for job result files.

The environment setting parameter described in this subsection allows you to stop all agent hosts from resending job result files by simply changing the definition on the manager host.

The following describes how to prevent the duplicated reception of 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 parameter described in (2) below:

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

    The new settings are applied.

(2) Environment setting parameter

Table 15‒17: Environment setting parameter used to prevent duplicated reception of job result files

Definition key

Environment setting parameter

Explanation

  • For all scheduler services

    [{JP1_DEFAULT|logical-host}\JP1AJS2\SCHEDULER\QUEUE\MANAGER\Job]#

  • For a specific scheduler service

    [{JP1_DEFAULT|logical-host}\JP1AJSMANAGER\scheduler-service\QUEUE\MANAGER\Job]#

  • For submit jobs

    [{JP1_DEFAULT|logical-host}\JP1NBQMANAGER\Job]#

"ReceiveFileOption"=

Specifies whether to prevent duplicated reception of 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 this environment setting parameter, see 20.5.2(17) ReceiveFileOption.