Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 System Design (Configuration) Guide


7.1.7 Method of determining the agent host to which a job is distributed

When a QUEUE job or submit job is to be distributed to execution agents, if the priority and usage rate of these agents are the same, the load on the agents can be balanced by selecting the agent with the longest idle time.

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

  1. 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#1

    # /opt/jp1ajs2/bin/jajs_spmd_status

    #1

    First check whether the JP1/AJS3 processes are set to stop automatically.

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

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

    The setting takes effect.

(2) Environment setting parameter

Table 7‒4: 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.

For details about what is defined in this environment setting parameter, see 20.5.2(35) LeastRecentlyUsed in the JP1/Automatic Job Management System 3 Configuration Guide.