Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titleDead link
Please read here to know how you create the process class for a JobScheduler Agent and how you assign it to a job.

...

  • 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
    languagehtml/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
    languagehtml/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>