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

Compare with Current View Page History

« Previous Version 13 Next »

Introduction

Process classes limit the number of jobs that are running concurrently.

Process classes specify remote JobScheduler Workload instances and Agents on which jobs should be executed.

Use of Process Classes

A process class is an object that can be assigned to a job. It has a number of functions.

Resource Contention Management

  • To limit the number of processes that can start in parallel.
    • If that limit were reached then an additional job would be caused to wait for the process class to become available.
    • Jobs waiting for a process class to become available will not consume system resources such as CPU or memory.
  • Example
    • Process class for Resource Contention Management
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <process_class  max_processes="10"/>

Remote Execution

  • To run a job on a remote JobScheduler Workload instance or Agent for remote execution
    • Process classes can reference remote JobScheduler instances for execution of a job:
      • At the time of job execution the initiating JobScheduler hands over the job configuration to the remote JobScheduler instances.
      • After completion of the job the initiating JobScheduler regains full control and would continue execution e.g. with the next job in a job chain.
  • Example
    • Process class for Resource Contention Management
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <process_class  max_processes="10" remote_scheduler="somehost:4444"/>

High Availability

  • Process classes can be used as a means to implement high availability:
    • FEATURE AVAILABILITY STARTING FROM RELEASE 1.8
    • A sequence of JobScheduler Agents can be specified that would be checked for availability by the initiating JobScheduler instance at run-time.
    • If a JobScheduler Agent were not avaiable then the next Agent would be selected for execution of a job.
  • Example
    • Process class for Resource Contention Management
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <process_class  max_processes="10"/><remote_schedulers ><remote_scheduler remote_scheduler="http://Andreas-MacBook-Pro.local:4445" http_heartbeat_timeout="15" http_heartbeat_period="10"/>
       <remote_scheduler remote_scheduler="http://localhost:4445" http_heartbeat_timeout="15" http_heartbeat_period="10"/>
       </remote_schedulers>
      </process_class>

See also

 

  • No labels