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

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


2.5.2 Load distribution

When multiple agent hosts are used to execute jobs, you can distribute the processing load by grouping the execution hosts and assigning job execution priorities to the agents within an execution agent group. Points to consider when distributing the load in this way are discussed below.

For examples of how to distribute processing loads, and the order in which the execution agent hosts are determined, see 2.3.1 Processing with a distributed load in the Job Management Partner 1/Automatic Job Management System 3 System Design (Work Tasks) Guide.

Organization of this subsection
(1) Grouping execution agents
(2) Execution agent priority
(3) Load distribution example

(1) Grouping execution agents

Decide which execution agents to group together and the group name.

A maximum of 1,024 execution agents can belong to a group, and a maximum of 1,024 groups can be registered in one manager host.

When using execution agent groups to distribute the processing load, specify the execution agent group name in the job or jobnet definition. The manager host references the registered execution agent group information, and determines which execution agent to forward the job to based on the priority of the agents within the execution agent group, and the maximum number of concurrently executable jobs.

(2) Execution agent priority

In a load-balancing system based on execution agent groups, you specify the priority of each agent in the group as the destination host when a job needs to be executed.

The specifiable values are 1 to 16, in ascending order of priority. The lowest priority is 1, and the default is 16 (highest priority).

(3) Load distribution example

The following describes an example of load distribution and discusses how the execution agent is determined for each job.

Suppose that the job execution environment is defined as follows:

In this example, the job execution order is determined as follows, where the priorities of the three execution agents (AGT1, AGT2, and AGT3) in execution agent group AGTGR1 are 16 (highest), 15 (second highest), and 14 (third highest), and a maximum of two jobs can be executed concurrently by each agent.

  1. Determine the execution agent for job1.
    Ratio: number of active jobs / maximum number of concurrently executable jobs:
    • Execution agent AGT1: 0 / 2
    • Execution agent AGT2: 0 / 2
    • Execution agent AGT3: 0 / 2
    Because AGT1 has the highest priority, AGT1 becomes the execution agent for job1.
  2. Determine the execution agent for job2.
    Because job1 has been assigned to execution agent AGT1, the ratio (active jobs / maximum concurrent jobs) is now:
    • Execution agent AGT1: 1 / 2
    • Execution agent AGT2: 0 / 2
    • Execution agent AGT3: 0 / 2
    Although AGT2 and AGT3 have a lower load, AGT1 has highest priority, so AGT1 becomes the execution agent for job2.
  3. Determine the execution agent for job3.
    Because job2 has been assigned to execution agent AGT1, the ratio (active jobs / maximum concurrent jobs) is now:
    • Execution agent AGT1: 2 / 2
    • Execution agent AGT2: 0 / 2
    • Execution agent AGT3: 0 / 2
    Although AGT1 has the highest priority, it has now reached its maximum number of concurrently executable jobs. Therefore, job3 is assigned to execution agent AGT2, which has the next highest priority.
  4. Determine the execution agent for job4.
    Because job3 has been assigned to execution agent AGT2, the ratio (active jobs / maximum concurrent jobs) is now:
    • Execution agent AGT1: 2 / 2
    • Execution agent AGT2: 1 / 2
    • Execution agent AGT3: 0 / 2
    As with job3, execution agent AGT2 is determined for job4.
  5. Determine the execution agent for job5.
    Because job4 has been assigned to execution agent AGT2, the ratio (active jobs / maximum concurrent jobs) is now:
    • Execution agent AGT1: 2 / 2
    • Execution agent AGT2: 2 / 2
    • Execution agent AGT3: 0 / 2
    Because AGT1 and AGT2 have both reached their maximum number of concurrently executable jobs, job5 is assigned to execution agent AGT3.
  6. Determine the execution agent for job6.
    Because job5 has been assigned to execution agent AGT3, the ratio (active jobs / maximum concurrent jobs) is now:
    • Execution agent AGT1: 2 / 2
    • Execution agent AGT2: 2 / 2
    • Execution agent AGT3: 1 / 2
    Because AGT1 and AGT2 have both reached their maximum number of concurrently executable jobs, job6 is assigned to execution agent AGT3.

[Contents][Back][Next]


[Trademarks]

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