Versions Compared

Key

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

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

...

Introduction

  • Two or more JobSchedulers can be operated as a cluster.
  • All

...

  • JobSchedulers in a

...

  • cluster 
    • have to be identified by the same JobScheduler ID and 
    • have to use the same database.

...

  • Furthermore, each JobScheduler in a cluster

...

...

  • The following types of JobScheduler

...

  • clusters can be configured, depending on the cluster start options used

...

  • .

JobScheduler

...

Cluster

JobScheduler Passive Cluster

Backup Cluster

  • We assume a Primary

All JobSchedulers of this cluster type have the start option -exclusive.

Only the primary JobScheduler will be active once all the JobSchedulers in this type of cluster have been started.

The other JobSchedulers will be waiting for activation.

We assume that all JobSchedulers in this type of cluster will have the same configuration (Jobs, Job Chains, Orders, etc.)

If the active JobScheduler is terminated for whatever reason then one of the others will automatically become active and be aware of all the job and order states. That is, the 'new' JobScheduler will be aware of whether Jobs or Job Chains are stopped or active, whether Job Chain Nodes are stopped, skipped or active and whether Orders are suspended or active and which step they were at.

JobScheduler Backup Clusters

...

  • JobScheduler with the start option -exclusive.

...

  • Backup

...

  • JobSchedulers will

...

  • use the start

...

  • options:
    • -exclusive 
    • -backup 
    • -backup-precedence=n 
      • where n is a number.
      • The option -backup-precedence is optional and the number n defines the order in which the

...

      • Backup JobSchedulers become active.

...

  • Exclusively the

...

  • Primary JobScheduler will be active once all the JobSchedulers

...

  • have been started.

...

  • All JobSchedulers in the cluster

...

  • use the same configuration (

...

  • jobs,

...

  • job chains,

...

  • orders, etc.)
  • A Backup JobScheduler

...

  • will not become active if the Primary JobScheduler terminates in a normal way.

...

  • If the

...

  • Primary JobScheduler is aborted or its process is killed (e.g. the

...

  • server crashes) then the (next) Backup JobScheduler will become active and will be aware of

...

  • the job states and order states. That is, the 'new' JobScheduler will be aware of

...

  • whether 
    • jobs or job chains are stopped or active,

...

    •  
    • job chain nodes are stopped, skipped or active

...

    • ,
    • orders are suspended or active

...

    • and 
    • what their current state is.
  • If a Backup JobScheduler is active and the primary JobScheduler is restarted then the Backup JobScheduler has to be terminated in order to reactivate the

...

JobScheduler Active Cluster

Load Balancing

...

Cluster

  • All JobSchedulers in this type of cluster

...

  • use the start

...

  • options -exclusive -distributed-orders.
  • All the JobSchedulers in this type of cluster will be active once they all have been started.
  • Each JobScheduler of this cluster will handle its own

...

  • jobs independently, with the exception of

...

How can I set the cluster start option?

  • You can set cluster options during installation of the JobScheduler.
  • After the installation has been completed, the cluster options can be set by editing the ./bin/jobscheduler_environment_variables file.(sh|cmd).

Unix

...

  • stop the JobScheduler

     

  • edit ./bin/jobscheduler_environment_variables.sh

    Code Block
    languagebash
     SCHEDULER_CLUSTER_OPTIONS=-exclusive
    
  • start the JobScheduler

Windows

...

  • stop the JobScheduler service
  • delete remove the JobScheduler service

    Code Block
    languagebash
     .\bin\jobscheduler.cmd remove
    
  • edit modify .\bin\jobscheduler_environment_variables.cmd

    Code Block
    languagebash
     SET SCHEDULER_CLUSTER_OPTIONS=-exclusive
    
  • install the JobScheduler service

    Code Block
    languagebash
     .\bin\jobscheduler.cmd install
    
  • start the JobScheduler service
  • See also

...

The cluster

...

tab in JOC

If you open the JobScheduler Operating Center (JOC) of a JobScheduler which is member of a cluster then a Cluster tab will be displayed, showing all the cluster members.

Example: Backup Cluster: