Hitachi

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


2.4.11 Executing a job on multiple execution agents simultaneously (example of defining a jobnet that uses flexible jobs)

In JP1, the act of simultaneously executing a single job on multiple execution agents is called broadcast execution. To use broadcast execution, define a flexible job in a jobnet.

Broadcast execution of a flexible job allows the user to simultaneously execute a job on multiple execution agents by defining only one flexible job. If the number of execution agents is increased or decreased, the agent that simultaneously distributes a job (the broadcast agent) automatically expands or shrinks the distribution scope. Therefore, you do not need to add or delete jobs.

The following figure shows an example of defining a jobnet that uses broadcast execution of a flexible job. For details about the system components and other considerations required to execute flexible jobs, see 2.9 Executing jobs in a cloud environment in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide, and see 2.10 Considerations for executing a job by broadcast execution in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide.

Figure 2‒108: Example definition of a jobnet that uses broadcast execution of a flexible job

[Figure]

When the jobnet defined in the above figure is executed, the following operations take place:

When you use broadcast execution of a flexible job, you do not need to add or delete jobs even if the number of destination agents increases or decreases as a result of auto-scaling. In addition, you can set up a single destination agent and then set up auto-scaling to replicate the other destination agents based on a machine image of the destination agent you set up. If you use auto-scaling in this way, you do not need to set up each destination agent individually.

Sync mode and async mode

Broadcast execution of a flexible job can be executed in sync mode or async mode. Each successive job will be executed at a different time depending on the mode. The following describes sync mode and async mode.

Sync mode

After all destination agents notify the broadcast agent that execution of a job finished, the next job starts.

Async mode

When the broadcast agent finishes sending a job execution request to all destination agents, the next job starts.

For notes about using broadcast execution, see 7.8 Notes on using flexible jobs.

For details about the settings necessary to perform broadcast execution, see 21.3.2 Setup procedure to execute a job by broadcast execution in the JP1/Automatic Job Management System 3 Configuration Guide.