13.1.10 Executing a single job on multiple agent hosts
This subsection describes how to execute a job on all agent hosts in a cloud environment at a fixed time every day as a broadcast execution of a flexible job.
- Organization of this subsection
(1) Operation
In a company, the system management department collects log data from all agent hosts in a cloud environment at a fixed time every day.
In version 11-00 or earlier, to carry out this task, a job must be defined for each agent host from which log data is to be collected.
|
Furthermore, if agent hosts are added or deleted by auto-scaling, jobs must also be added or deleted.
|
In the above figure, Agent host C is added as a result of scaling out. Therefore, Job C must also be added.
(2) Problem
-
Execute a single job on multiple agent hosts.
-
Add or delete agent hosts without having to manually add or delete jobs.
(3) Solution
You can use broadcast execution of a flexible job to execute a single job on multiple agents simultaneously. This requires a broadcast agent.
|
If agent hosts are added or deleted by auto-scaling, the broadcast agent receives heartbeats from destination agents, and automatically expands or shrinks the job distribution scope. Therefore, there is no need to add or delete jobs.
|
(4) Configuration procedure
-
Set up the broadcast agent.
-
Set up the destination agents.
-
In JP1/AJS3, create a jobnet in which flexible jobs are defined.
-
Register the created jobnet (in which flexible jobs are defined) for execution.
(5) Manual references
Type |
item |
Location |
---|---|---|
Overview |
Flexible job |
3.1.1(1)(a) Standard job in the manual JP1/Automatic Job Management System 3 Overview |
Example of defining a flexible job for broadcast execution |
2.4.11 Executing a job on multiple execution agents simultaneously (example of defining a jobnet that uses flexible jobs) in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide |
|
Notes on using flexible Jobs |
7.8 Notes on using flexible jobs in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide |
|
Example of a system configuration used for broadcast execution |
2.10 Considerations for executing a job by broadcast execution in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide |
|
Configuration |
21.3.2 Setup procedure to execute a job by broadcast execution in the JP1/Automatic Job Management System 3 Configuration Guide |
|
Dialog boxes |
12.4.12 Define Details - [Flexible Job] dialog box in the JP1/Automatic Job Management System 3 Operator's Guide |