Hitachi

JP1 Version 11 JP1/Automatic Job Management System 3 Administration Guide


12.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.

Figure 12‒19: Example in which a job is defined for each agent host

[Figure]

Furthermore, if agent hosts are added or deleted by auto-scaling, jobs must also be added or deleted.

Figure 12‒20: Example in which jobs are added or deleted

[Figure]

In the above figure, Agent host C is added as a result of scaling out. Therefore, Job C must also be added.

(2) Problem

(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.

Figure 12‒21: Example in which a broadcast agent distributes a job to multiple agent hosts

[Figure]

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.

Figure 12‒22: Example in which a broadcast agent automatically expands the distribution scope

[Figure]

(4) Configuration procedure

  1. Set up the broadcast agent.

  2. Set up the destination agents.

  3. In JP1/AJS3, create a jobnet in which flexible jobs are defined.

  4. 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