2.10 Considerations for executing a job by broadcast execution
If you want a job to be executed by multiple execution agents at the same time, use a function called broadcast execution. This section describes the system configuration and system components required to execute a flexible job by broadcast execution. For details about the system components, such as relay and destination agents, and other considerations required to execute flexible jobs, see 2.9 Executing jobs in a cloud environment.
The broadcast execution function sends a job defined on the manager host to a broadcast agent. The broadcast agent manages destination agents, and distributes a job to all of the destination agents. A maximum of 100 destination agents can be managed.
The following figure shows an example in which a broadcast agent distributes a job to multiple destination agents.
The broadcast agent manages the destination agents in the following way:
-
During setup of the destination agents, the user specifies the broadcast agent that will manage the destination agents.
-
The destination agents periodically send a heartbeat to the broadcast agent to notify the broadcast agent that they are alive (running).
-
Upon receiving a heartbeat, the broadcast agent responds to the destination agents.
-
The broadcast agent manages the destination agents.
The following figure shows an example in which a broadcast agent manages destination agents.
The following figure shows an example of a system configuration that uses a broadcast agent.
Note that the broadcast agent must be a host that meets the following conditions:
-
A host that has a static IP address
-
A host that is not scaled in or out
- Supplementary notes
-
-
Flexible jobs that are set to be executed by broadcast execution can be used with version 11-10 or later of JP1/AJS3 - Manager, JP1/AJS3 - Agent, and JP1/AJS3 - View.
-
A relay agent, a broadcast agent, and a destination agent can be installed on the same host. However, if you want to use some of the agents in a cloud environment, we recommend that you install them on separate hosts.
-
For details about working through a firewall, see 2.3.2 Firewall and communication basics.
-
For notes on using broadcast execution for flexible jobs, see 7.8 Notes on using flexible jobs in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide.
-