Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Overview


5.1.2 Executing jobs concurrently

You can restrict the number of jobs that can be executed concurrently in line with resource availability at the job (Unix jobs, PC jobs, flexible jobs, HTTP connection jobs, action jobs, custom jobs, and passing information setting jobs, other than queueless jobs) execution host. To do so, set the maximum number of concurrently executable jobs when you define the execution agent. This limits the number of jobs that the agent host can run at the same time.

The maximum number of concurrently executable jobs is specified by period, in units of 30 minutes. You can set different limits for different time periods, helping to distribute the processing load.

When the maximum number of concurrently executable jobs is reached, subsequent jobs are made to wait in Now queuing status until the active jobs finish.

For event jobs, you cannot specify the maximum number of concurrently executable jobs.

For notes about concurrent execution, see 2.5.4 Maximum number of concurrently executable jobs in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide.

Organization of this subsection

(1) Specifying a maximum number of concurrently executable jobs

When you use the ajsagtadd command to add an execution agent, you can set the maximum number of concurrently executable jobs by using the -c option. You can also use the Web GUI to set the maximum number of concurrently executable jobs.

If you add an execution agent with the ajsagtadd command, but do not specify a maximum number of concurrently executable jobs, the default setting of 00:00-00:00=5 (maximum of five concurrent jobs, 24 hours a day) is assumed. You can change the setting using the ajsagtalt command. For the command syntax and an example of specifying a maximum number of concurrently executable jobs, see ajsagtalt in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

(2) Load distribution based on maximum number of concurrently executable jobs

By grouping multiple execution agents in an execution agent group, you can distribute the processing load among the agents, based on the agent usage rates (ratio of active jobs to the maximum number of concurrently executable jobs). For details, see 5.4.9 Distributing jobs among execution hosts (agent hosts).

Cautionary note

The maximum number of concurrently executable jobs you specify applies to each execution agent. If different execution agents are mapped to the same execution host, the sum of the maximum number of concurrently executable jobs specified for these execution agents is set for the jobs that will be executed on that execution host.

As an example, take the addition of an execution agent which has the local host name and whose maximum number of concurrently executable jobs is set to 00:00-00:00=10 (a maximum of 10 concurrent jobs, 24 hours a day). In this case, because the maximum number of concurrently executable jobs for the default execution agent is 00:00-00:00=5 (a maximum of five concurrent jobs, 24 hours a day), a maximum of 15 jobs could be executed concurrently.

When you specify the maximum number of concurrently executable jobs, specify a value appropriate for the execution host.