Scope
- Jobs and Job Chains can be executed with Agents.
- There are various ways how to assign Agents to jobs and job chains.
Assignement of Agents
- Jobs and job chains are linked to Agents by means of Process Classes.
- A process class is assigned an Agent.
- A job or job chain is assigned a process class.
- A job chain can be configured to use a specific process class for subsequent job nodes. This enables a more flexible configuration than assigning the process class to a specific job that would be used for all jobs chains.
Related Features
- Jobs
- Job Chains
- Various
Use Cases
A Job Chain is assigned a default Agent for all Job Nodes
Explanations
- The job chain is assigned a default Agent.
- All jobs are executed with the same Agent.
Example
- Download job_chain_default_agent.zip
- Extract the archive to your
live
folder, a directoryjob_chain_default_agent
will be created.
- Extract the archive to your
- Adjust the process class
01_ProcessClass_Default_Agent
to point to your default Agent installation:- The process class is configured for an Agent on the
localhost
and port4445
.
- The process class is configured for an Agent on the
A Job Chain is assigned a default Agent and one Job is assigned a second Agent
Explanations
- The job chain is assigned a default Agent.
- One job is executed with the second Agent.
Example
- Download job_chain_default_second_agent.zip
- Extract the archive to your
live
folder, a directoryjob_chain_default_second_agent
will be created.
- Extract the archive to your
- Adjust the process class
01_ProcessClass_Default_Agent
to point to your default Agent installation:- The process class is configured for an Agent on the
localhost
and port4445
.
- The process class is configured for an Agent on the
- Adjust the process class
01_ProcessClass_Second_Agent
to point to your second Agent installation:- The process class is configured for an Agent on a host
Andreas-MacBook-Pro.local
and port4445
.
- The process class is configured for an Agent on a host
A Job Chain is assigned a default Agent and a different Agent for the File Order Source
Explanations
- The job chain is assigned
- an Agent for File Watching with a file order source and file order sink.
- The Agent watches for incoming files and will move or remove the file with the file order sink.
- a default Agent for executing the jobs in the job chain.
- an Agent for File Watching with a file order source and file order sink.
Example
- Download job_chain_default_file_watching_agent.zip
- Extract the archive to your
live
folder, a directoryjob_chain_default_file_watching_agent
will be created.
- Extract the archive to your
- Adjust the process class
01_ProcessClass_Default_Agent
to point to your default Agent installation:- The process class is configured for an Agent on a host
Andreas-MacBook-Pro.local
and port4445
.
- The process class is configured for an Agent on a host
- Adjust the process class
01_ProcessClass_FileWatching_Agent
to point to your File Watching Agent installation:- The process class is configured for an Agent on
localhost
and port4445
.
- The process class is configured for an Agent on
- Adjust the folders that are used for file watching:
- The folder that is watched for incoming files:
/tmp/jobscheduler/file/incoming/agent_file_watching
- The folder that files are moved to on success:
/tmp/jobscheduler/file/success
- The folder that files are moved to on error:
/tmp/jobscheduler/file/error
- The folder that is watched for incoming files:
Jobs in a Job Chain are assigned different Agents
Explanations
- The job chain is not assigned an Agent.
- The Agents are assigned directly to jobs.
- Jobs are executed by the assigned Agent independently from their use with different job chains.
- Each job is executed with a different Agent (Cross-Platform Scheduling).
References
Change Management References
Documentation
- ... Reference Documentation
- Neues Attribut <job_chain file_watching_process_class="..."/>
- Neues Attribut <job_chain process_class="..."/>