You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Scope

  • JobScheduler implements the concept of a "critical path", i.e. the fact that in case of time constraints some less critical jobs should be skipped during daily or nightly processing.
  • This article introduces the solution for JobScheduler.

Download & Installation

  • Download the attached file: operations.zip
  • Unzip the archive to your ./config/live/sos folder. All files contained will be unzipped to an operations sub-folder.

Explanations

The functionality includes job nodes to be skipped for critical path processing. This is achieved by

  • marking a job node being part of a critical path by prefixing the job node state either with "+" (required) or "-" (skippable).
  • running a new JITL job "activate_critical_path" that depending on its parameterization would run in one of these processing modes:
    • skip the job nodes that are marked as being skippable ("-") (default) or
    • skip the job nodes that are not marked as being required ("+").
  • running a new JITL job "deactivate_critical_path" that would reverse the above operation.

The different processing modes are supported by the following configuration:

  • Job node states in job chains can be marked to be skipped for critical path processing by prefixing them with a "-" character.
  • Job node states in job chains can be marked to be required for critical path processing by prefixing them with a "+" character.

Usage IN PROGRESS

A business process is comprises of 1 or more individual steps (jobs). A job may or many not need a precondition to start i.e. previous job must be successfully completed or its outcome doesn't affect the rest of the jobs in the job chain. such jobs are called optional or non critical jobs. Few common examples of such jobs are delete temporary files, create DB index or generate a XSL report. The  The critical path is series of steps(job) in a business process( job chain), which should be completed to achieve business process's goals i.e. complete transaction loading, generate Bills etc. 

  • More often then not business process has a fix start time, average run time and a expected end time, but in case of circumstances  where fix start time has to be changed i.e. System maintenance, later then usual availability of input data etc.
  • In such a exceptional situation to achieve the business process goals with adherence to the SLA, some jobs can be excluded from the business process (job chains).
  • A non critical job can be marked in a job chain either "-" skippable or "+" critical job during job chain development.
  • If a situation arises where part of the job chain has to be skipped, JobScheduler admin can start the  job activate_critical_path.job.xml. Job activate_critical_path.job.xml  will search through the JobScheduler configuration and set the non-critical job(s) as skip.
  • A job chain with 

  • The JobScheduler operations job activate_critical_path.job.xml 

 

  • No labels