Master Scheduler Request Prioritization
When Master Scheduler tallies all new queued requests, it attempts to prioritize all incoming requests before checking all registered active servers to find the appropriate server. A set of rules were implemented to help the Master Scheduler prioritize the accumulated queued requests that are found in the Process Request table. All requests are sorted based on these conditions:
Restartable or recovery process.
Any process that is set in the process definition as restartable with a non-zero retry count that failed in previous attempts and currently has a run status of Restart is given a higher priority and will be on top of the priority list. Similarly, a process that is automatically scheduled by PeopleSoft Process Scheduler as a recovery process for a failed request is also placed on top of the priority list.
Processes contained in active PSJobs.
The Master Scheduler monitors all active PSJobs that have processes that are currently initiated in one or more Process Scheduler (remote) servers. When the Master Scheduler detects that available slots are available to assign requests to a remote server and prepares to evaluate all queued requests, it initiates processes within these active PSJobs prior to querying the Process Request table for new queued requests.
Accumulated priority value.
Each request is given an overall priority value based on the different priority options that are available in the system. Master Scheduler calculates the overall priority based on the order of importance of this priority, and ranks the request accordingly. However, each server definition may be configured with different priority options, and therefore may result in the same request ranking high in one server while it is positioned at the bottom of the list in another.
For example, an SQR report has a process category of Financials. This category has a priority of High in the PSNT server definition, while the same category has a priority of Low in the PSNT2 server definition. In this situation, the SQR report will likely be assigned to the PSNT server.
The overall priority will be calculated based on this order of importance of all these priority options that can be assigned to a request:
Process Category Priority: The system will assign the priority value of the process category that is specified in the server definition to the request. If a process belongs in a PSJob, then all processes in this PSJob will be assigned the process category of the PSJob. In the case of a complex PSJob in which a PSJob is embedded within another PSJob, then all the processes will be assigned the process category of the main PSJob.
Process/Job Priority: This is the priority as defined in either the process or job definition. Similar to the process category, all processes within a PSJob will have the priority of the main PSJob.
Process Type Priority: This is the priority that is specified in the server definition for each process type it can process. In the case of PSJob, the process within a PSJob will have the priority based on its own process type.
Run date and time.
In the event of two or more requests having the same calculated priority based on all the criteria noted above, the request with an earlier run date and time will be scheduled first by the Master Scheduler.