Show TOC

Background documentationQueues and Process Servers Locate this document in the navigation structure

 

This graphic is explained in the accompanying text.

The following figure shows the main architecture behind SAP CPS

Queues

Groups of jobs are managed using queues. Queues distribute jobs to process servers, where the jobs actually run.

You can use queues to limit the number of jobs that can run simultaneously, distribute workload across multiple systems, and provide failover facilities. One queue can be attached to multiple process servers, in which case SAP CPS decides which process server to run the job and when the job starts. You can attach a process server to multiple queues, in which case it can run jobs from any of those queues.

Queues have limits attached to them. These limits can be dynamic or static. Dynamic limits are set based on performance measurements made by the process servers. Static limits are based on the number of jobs running in the queue. If a limit on the queue is exceeded, then the queue is held. This prevents new work from starting, but existing work is left to complete. These limits are re-evaluated as new performance measurements are made, or existing running jobs complete.

You need privileges to view process servers and queues. A queue might appear held to you while it is open to others; this is usually due to the fact that you cannot see any of the running process servers that are serving the queue.

Note Note

SAP recommends you to specify a time zone on a queue, especially when you tie a time window to it to make sure the correct time is used.

End of the note.
Process Servers

Process servers are responsible for running and monitoring jobs. They run jobs in local and remote systems. Process servers host services, which allow jobs of different types to be run and are used to connect to remote systems, like an SAP System, a Windows or Unix system.

Note Note

Connecting to Windows and Unix systems requires the ProcessServerService.OS.limit license key to be set to a number, you also need a free slot in ProcessServerService.External.limit.

End of the note.

The different types of jobs supported by SAP CPS include:

  • SAP ABAP jobs (via the XBP interface) in R/3 and InfoPackages and Process Chains via Business Information Warehouse - Job Scheduling (BW-SCH) in BI.

  • System jobs (locally) for maintenance tasks.

  • SAP Java jobs via Java External Background Processing (JXBP) in the SAP NetWeaver AS Java.

  • CMD, KSH and many others for platform jobs

There is one process server for each SAP System or Platform Agent in the landscape. This allows Platform systems, SAP Systems and interfaces to be managed in a granular manner. For SAP Systems, this also makes it possible to manage scheduling on both a per-system and a per-interface basis.

More Information

Distribute Workload