Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide
When a QUEUE job or submit job is distributed to an agent host, if two or more agent hosts have the same priority and usage rate, the agent host with the highest agent ID# is selected by default.
However, if the jobs are short and quickly completed, the execution agent's usage rate hardly increases and differs only slightly from that of other agents. Consequently, because jobs are always assigned to the agent with the highest ID, that agent executes more jobs than the others, resulting in asymmetric agent usage across the system.
In such situations, you can distribute jobs more evenly if, instead of the agent ID method, you set a job distribution method that prioritizes the agent host that has not been used for the longest time.
- #
- The agent ID is the value defined in jpqsetup.conf (job execution environment configuration definition file for QUEUE jobs and submit jobs) by the jpqimport command. Agents added using the jpqagtadd command are added in ascending order of the unused IDs, and are displayed in ascending order of the agent IDs when listed using the jpqagtshow command.
- For the jpqimport command syntax, see jpqimport in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
- For the jpqagtadd command syntax, see jpqagtadd in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
- For the jpqagtshow command syntax, see jpqagtshow in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
To set the method for determining which agent host to distribute QUEUE jobs and submit jobs to, follow the procedure below.
There is no need to perform this setting for queueless jobs.
- Organization of this subsection
- (1) Setting procedure
- (2) Environment setting parameter
(1) Setting procedure
- Stop JP1/AJS3.
- In Windows:
- From Administration Tools in the Windows Control Panel, choose Services and stop the following service:
- - JP1/AJS3 service
- In UNIX:
- Execute the following commands to stop the JP1/AJS3 processes and to check that all processes have stopped:
- # /etc/opt/jp1ajs2/jajs_stop#
- # /opt/jp1ajs2/bin/jajs_spmd_status
- #
- First check whether the JP1/AJS3 processes are set to stop automatically.
- Execute the following command to set the environment setting parameter described in (2) below.
jajs_config -k definition-key-name "parameter-name"=definition-contents- Restart JP1/AJS3.
The setting takes effect.
(2) Environment setting parameter
Table 7-5 Environment setting parameter for setting the method of determining the agent host for distributed jobs
Definition key Environment setting parameter Definition contents [{JP1_DEFAULT|logical-host-name}\JP1NBQMANAGER\Agent]# "LeastRecentlyUsed"= Method of determining the distribution-destination agent host
- #
- In the portion {JP1_DEFAULT|logical-host-name}, specify JP1_DEFAULT for the physical host, or logical-host-name for a logical host.
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.