Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1

[Contents][Glossary][Index][Back][Next]


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

When there are execution agents that have the same priority and agent usage rate, by default, a job (a PC, UNIX, action, or custom job other than a queueless job) is delivered to the agent with the highest agent ID#.

In this situation, if several jobs requiring little processing time are executed, because the agent usage rate does not increase soon, the difference in the agent usage rate with other execution agents also does not increase soon. As a result, jobs tend to be delivered to execution agents whose agent ID is high, causing a bias in system use.

To counteract this bias and balance the job distribution load, you can use a method that selects the least recently used agent, instead of the method that selects the agent with the highest agent ID.

#:
An agent ID is internally assigned in ascending order to each execution agent in the order the execution agents are registered. A list of execution agents displayed by the ajsagtshow command is sorted in ascending order by agent ID.
For details about the ajsagtshow command, see ajsagtshow in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.

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
(2) Environment setting parameter

(1) Definition procedure

  1. 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.
  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 14-17 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 2.3(34) LeastRecentlyUsed in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.

[Contents][Back][Next]


[Trademarks]

Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.