Hitachi

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


6.2.9 Setting the method for determining the agent host to which a job will be delivered

JP1/AJS3 allows you to specify a group of execution agents as the agent host on which to execute a job (PC job other than a queueless job, Unix job other than a queueless job, flexible job#, HTTP connection job, action job other than a queueless job, or custom job) or jobnet. This allows the processing load to be distributed among the execution agents in the group.

For details about how to distribute the processing load among the execution agents by specifying a group of execution agents, see 2.3.1 Processing with a distributed load in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide.

When a job is to be delivered to one of the agents, the system determines the destination agent based on priority and usage rate. However, if there are agents that have the same priority and usage rate, from a viewpoint of equally distributing the load, it is recommended to select the agent whose idle time is longest.

#:

For a flexible job, replace execution agent with relay agent.

The following describes how to set the method for determining the agent host to which a job will be delivered.

Organization of this subsection

(1) Definition procedure

  1. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 service

  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 6‒27: Environment setting parameter used to set the method for determining the agent host to which a job will be delivered

Definition key

Environment setting parameter

Explanation

  • For all scheduler services

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

  • For a specific scheduler service

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

"LeastRecentlyUsed"=

Defines a method for determining the agent host to which a job will be delivered.

#:

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(35) LeastRecentlyUsed.