Scope
- Jobs and Job Chains can be executed by Agents.
- This article describes some of the possible ways available for assigning Agents to jobs and job chains.
- Example configuration files are provided for downloading.
Assignment of Agents
- Jobs and job chains are linked to Agents by means of Process Classes.
- A job chain can be configured to use:
- A default 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.
- A second process class for File Watching that is assigned an Agent that triggers file orders for incoming files on the Agent host.
Related Features
- Jobs
- Job Chains
Use Cases
A Job Chain is assigned a default Agent for all Job Nodes
Description
- The job chain is assigned a default Agent.
- All jobs are executed by this 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
- The process class -
01_ProcessClass_Default_Agent
- has been configured for an Agent on thelocalhost
and port4445
: adjust these values to point to your default Agent installation.
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 by a 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
- The process class -
01_ProcessClass_Default_Agent
- has been configured for an Agent on thelocalhost
and port4445
: adjust these values to point to your default Agent installation. - The process class -
01_ProcessClass_
- has been configured for an Agent on theSecond
_AgentAndreas-MacBook-Pro.local
and port4445
: again, adjust these values to point to your default Agent installation.
A Job Chain is assigned a default Agent and a different Agent for File Watching
Explanations
- The job chain is assigned:
- An Agent for File Watching with a file order source and file order sink.
- This Agent will watch 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
- The
01_ProcessClass_Default_Agent
process class is configured for an Agent on a hostAndreas-MacBook-Pro.local
and port4445
. Adjust this class to point to your default Agent installation. - The
01_ProcessClass_FileWatching_Agent
process class has been configured for an Agent onlocalhost
and port4445
. Adjust this class to point to your File Watching Agent installation. - 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 of their use in other job chains.
- Each job is executed by a different Agent (Cross-Platform Scheduling).
Example
- Download job_chain_different_agents.zip
- Extract the archive to your
live
folder, a directoryjob_chain_different_agents
will be created.
- Extract the archive to your
- The
01_ProcessClass_Agent_1
process class has been configured for an Agent on thelocalhost
and port4445
. Adjust this process class to point to your first Agent installation. - The
01_ProcessClass_Agent_2
process class has been configured for an Agent on theAndreas-MacBook-Pro.local
and port4445
. Adjust this process class to point to your second Agent installation. - The
01_ProcessClass_Agent_3
process class has been configured for an Agent on thelocalhost
and port4445
. Adjust this process class to point to your third Agent installation.
References
Change Management References