Versions Compared

Key

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

Table of Contents

Introduction

Using Use of a JS7 - Agent Cluster provides high availability and is a feature that is subject to the JS7 - License.

...

  1. Create a workflow from the Configuration view and assign the same Agent Cluster to all jobs. Once the configuration is completed deploy the workflow.



  2. The Agent Cluster is configured for round-robin scheduling and executes each next subsequent job with the next Subagent.
  3. To test cluster behavior navigate to the Workflows view and select a workflow from the tree.

  4. Expand the workflow and add an order.



  5. Once the workflow has completed successfully open the log from the history panel.



  6. In the log, you can identify that all jobs use different Subagents as the Agent Cluster is set up for round-robin scheduling. Each next job is executed with the next Subagent.

...

  1. Kill one of the Active Subagents from the command line to force fail-over with one of the below commands.
    • An Active Subagent is killed, for example:
      • for on Unix with a SIGKILL signal corresponding to the command: kill -9
      • for on Windows with the command: taskkill /F
    • From the command line, the Agent Instance Start Script can be used like this:
      • agent_<port>.sh | .cmd abort
      • agent_<porr>.sh | .cmd kill



  2. Check the order log to verify that jobs in the workflow are successfully executed with all the remaining Subagents.

Fixed-priority Subagent Cluster

Anchor
fixed_priority_normal_operation
fixed_priority_normal_operation
Scenario for normal Cluster Operation

The This scenario is similar to the the Scenario for normal Cluster Operation of a of a round-robin Subagent Cluster with the exception that jobs are assigned a Subagent Cluster that which is set up for fixed-priority scheduling.

...

  1. Kill the Active Subagent from the command line to force fail-over with one of the commands listed below commands.
    • The Active Subagent is killed, for example:
      • for on Unix with a SIGKILL signal corresponding to the command: kill -9
      • for on Windows with the command: taskkill /F
    • From the command line the Agent Instance Start Script can be used like this:
      • agent_<port>.sh | .cmd abort
      • agent_<porr>.sh | .cmd kill



  2. Check the order log to verify that any jobs in the workflow are successfully executed with the next Subagent.

...