15.2.9 Setting the method for determining the agent host to which a job will be delivered
When a job (a PC, UNIX, action, or custom job other than a queueless job) is delivered, if there are multiple agent hosts that have the same priority and agent usage rate, the most effective way to evenly distribute the load is to specify the execution agent that has not been used for the longest time as the agent for delivering the job.
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
-
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.
-
Execute the following command to set the environment setting parameter described in (2) below:
jajs_config -k definition-key "parameter-name"=value
-
Restart JP1/AJS3.
The new settings are applied.
(2) Environment setting parameter
Definition key |
Environment setting parameter |
Explanation |
---|---|---|
|
"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 2.3.2(34) LeastRecentlyUsed in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.