...
We assume that we have a job in a job chain, to be executed on a JobScheduler Agent.
This requires a process_class that is assigned to the job.
Status | ||
---|---|---|
|
...
Add an order to the job chain jobChainWithAgentJob for each JobScheduler Agent you want.
For example one agent is on HostA with port 4444 and another agent is on HostB with port 4444. The orders must have the parameter agent_host_ and _agent_port.
So you have the configuration files ./config/live/jobChainWithAgentJob,hostA-4444.order.xml and ./config/live/jobChainWithAgentJob,hostB-4444.order.xml :
Code Block language html/xml <?xml version="1.0" encoding="ISO-8859-1"?> <order> <params > <param name="agent_host" value="HostA"/> <param name="agent_port" value="4444"/> </params> <run_time/> </order>
Code Block language html/xml <?xml version="1.0" encoding="ISO-8859-1"?> <order> <params > <param name="agent_host" value="HostB"/> <param name="agent_port" value="4444"/> </params> <run_time/> </order>