Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide


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

To distribute QUEUE jobs or submit jobs when multiple agent hosts have the same priority and agent usage rate, use a job distribution method that selects the execution agent that has not been used for the longest time. This method is effective for distributing jobs more evenly.

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.