ps process scheduler

35
Process Scheduler in Depth Process Scheduler in Depth May 19, 2011 May 19, 2011

Upload: marc-fellhauer

Post on 12-Mar-2015

143 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: PS Process Scheduler

Process Scheduler in DepthProcess Scheduler in Depth

May 19, 2011May 19, 2011

Page 2: PS Process Scheduler

AGENDA

System Settings Servers Processes Reporting Console

Page 3: PS Process Scheduler

SYSTEM SETTINGS

SYSTEM SETTINGS

Page 4: PS Process Scheduler

SYSTEM SETTINGS: Process System

Page 5: PS Process Scheduler

SYSTEM SETTINGS: Process System

Retention Days: Expiration date for reports in Report Manager when retention daysare not specified in Process Type definition, Process definition, or Run Control.

Primary OS: Operating system to process most of the workload.  The Master Scheduler will distribute a greater percentage of the workload to the primary OS.

System Load Balancing: This field will be ignored if no Master Scheduler serveris available to perform the load balancing.

This setting is extremely important and should not be left BLANK.  If left unset and the Master Scheduler is configured, processes with a blank server name will remain QUEUED.

Page 6: PS Process Scheduler

SYSTEM SETTINGS: Process Output Type

Active: Activates output type on Process Request page.

Default Output: Default output type on Process Request page.

Page 7: PS Process Scheduler

SYSTEM SETTINGS: Output Format

Page 8: PS Process Scheduler

SYSTEM SETTINGS: Purge

This operation will schedule the Application Engine program PRCSYSPURGE. This program purges both the Process Request and Report Manager tables and archives the data into the Report Archive table.

Days before purge: # of days before a process should be physically deleted from the request table.

Removed in 8.51

Page 9: PS Process Scheduler

SYSTEM SETTINGS: Distribution File

Identify all the different types of files and the manner in which they are distributed throughout the system.

Binary File: Deselect for TXT and HTML files.

System File: The file will be available to be viewed in the Process Monitor regardless of output type.

Display: The file will be shown on the report list page.

Page 10: PS Process Scheduler

SYSTEM SETTINGS: Report Folders

Create folders for organizing reports in Report Manager

Page 11: PS Process Scheduler

SYSTEM SETTINGS: Event Notification

Event Notification is a feature that is associated with the output type “Window”.

Any Process Scheduler can use a REN server. The REN server is an optional component of the PeopleSoft Application Server.

Page 12: PS Process Scheduler

SYSTEM SETTINGS: Process Category

Processes can be assigned to Process Categories for the purpose of load balancing and prioritization.

A priority (high/medium/low) can be assigned to each category.

For example, all Financial processes should take priority over other processes.

Page 13: PS Process Scheduler

SYSTEM SETTINGS: Process Category

Load Application Server Cache: Pre-loads File cache with all PeopleTools metadata and thus improves performance for end users.

2 Options of loading Cache:-Serial: LOADCACHE AE adds each applicable cache object to the cache, sequentially-Parallel: PLCACHE Job splits work of LOADCACHE AE into 2 separate App Engines and therefore reduces time to build cache.

LOADCACHE Process Category: Only used to run the Parallel LoadCache job !

Steps to load shared file cache:1. Check that SYSAUDIT is clean. Cache load might fail otherwise.2. Go to Load Application Server Cache page (RUN_LOADCACHE)and specify languages to load3. Choose Serial or Parallel LoadCache (Process Category needs to be enabled)5. Restart Process Scheduler server for changes to take effect.6. Use Process Monitor to track progress. The first time that you run the program, the process may take numerous hours to complete 7. Once complete, verify cache contents in PS_CFG_HOME\appserv\prcs\ProcessScheduler_domain\cache\stage\stage8. Shut down App Server, and update ServerCacheMode=1 in PSAPPSRV.CFG9. Copy the contents of the output directory into the PS_CFG_HOME\appserv\domain\cache\share10. Start App Server.

Page 14: PS Process Scheduler

SYSTEM SETTINGS: Console Preferences

- Identify the icons that are displayed in the Reporting Console for each process type.

Page 15: PS Process Scheduler

SERVERS

SERVERS

Page 16: PS Process Scheduler

SERVERS: Server Definition

Page 17: PS Process Scheduler

SERVERS: Server Definition

Sleep Time: # of seconds that you want the Process Scheduler Server agent to wait, before it checks for queued process requests in the Process Request table.

Heartbeat: Time interval for issuing a heartbeat message to track server status (running, down, or suspended)

Max API Aware: # of API-aware tasks that can run concurrently on this server

CPU Util. Threshold: If exceeded, scheduler's status will change to Overload and it will wait to launch any new processes.

Memory Util. Threshold: If exceeded, scheduler's status will change to Overload and it will wait to launch any new processes.

Server Load Balancing: If used, server name can be left blank on Process Request page.

Redistribute Workload: Do Not Redistribute, Redistribute to any O/S, or Redistribute to Same O/S.

Page 18: PS Process Scheduler

SERVERS: Distribution

Max. Transfer Retries: # of times that the server can try to send a report to Report Manager before it quits.

Interval Transfer Attempt: # of seconds that must pass before the server tries to transfer the report again.

Page 19: PS Process Scheduler

SERVERS: Operation

Page 20: PS Process Scheduler

SERVERS: Notification

Overload notification: Schedule for sending notification email when the server is overloaded

Server Errors: Notify when a process by the server goes to error.

Suspended/Overloaded: Notify when either CPU Utilization Threshold or Memory Utilization (specified in Server Definition) is exceeded.

Page 21: PS Process Scheduler

SERVERS: Daemon

Daemon Process: Application Engine that runs “continuously” when the Process Scheduler is operational. It triggers other App Engines belonging tothis Daemon Group.

Sleep Time: # of minutes for which the daemon process before it checks for work. When it wakes, it checks for processes that need to be run on this process server.

Recycle Count: # of sleep/work sequence. When Recycle Count is met, daemon process will reboot itself.

Page 22: PS Process Scheduler

PROCESSES

PROCESSES

Page 23: PS Process Scheduler

PROCESSES: Process Definition

Page 24: PS Process Scheduler

PROCESSES: Process Definition

Priority: Determines which process to initiate first if multiple processes are queued to run on a server.

Process Category: Delivered is Default but processes can be assigned to custom Process Categories to further manage priorities.

API Aware: Selecting this option does not mean that the process becomes API-aware. You must still add API code to the process. The PeopleSoft Application Engine, COBOL, SQR, Cube Builder, nVision, Crystal, Data Mover, and XML Publisher process types should be API-aware.

Restart Enabled: Attempt to automatically restart this process if it is marked with a run status of Error

Max Concurrent: # of occurrences of this process that can be active at one time across all process schedulers

Max Proc. Time: System cancels the process if processing exceeds the time that is entered here.

Mutually Exclusive Processes: List of processes that must not run at the same time as this process.

Page 25: PS Process Scheduler

PROCESSES: Process Definition Options

Page 26: PS Process Scheduler

PROCESSES: Process Definition Options

Server Name: Specify the server name only to restrict this particular process to this server. Leave blank to use load balancing.

Recurrence Name: Run this process according to a schedule.

File Dependency: Checks for the existence of the file. If the file is found and no other process is using it, the process will run.

Wait for File: Location and name of the file that this process depends on.

Recovery Process: Optional process that can be run if this process runs to an error

Component: Adding a component to a process definition causes that process definition to appear on the Process Scheduler Request page when you select File, Run in that component, if you have security to run the process.

Process Groups: Process definition can be a member of multiple process groups, which are tied to security profiles.

Page 27: PS Process Scheduler

PROCESSES: Override Options

Page 28: PS Process Scheduler

PROCESSES: Destination

Page 29: PS Process Scheduler

PROCESSES: Page Transfer

The Page Transfer feature enables a user to go directly from the Process Monitor to a designated page in the PeopleSoft application to view the results from a successfully completed process.

Page 30: PS Process Scheduler

PROCESSES: Notification

Send messages to a group (using a role ID) or individuals (using a user ID) when a specific activity occurs with the process, such as an error, warning, or successful completion of the process

Page 31: PS Process Scheduler

PROCESSES: Message

Page 32: PS Process Scheduler

PROCESSES: Runtime Parameters

Enable Generic Prompting: Allow users to schedule this process from the Reporting Console

Allow Access By User With: Full Process Security = Component + Process GroupProcess Group Security = Process Group only

Run Time Parameters: Parameter fields with optional validation via Application Class method

Page 33: PS Process Scheduler

PROCESSES: URL Links

- Associate multiple URLs with a process definition.

- The links appear on the Process Detail page (View Log/Trace), which is accessible from the Process Monitor

Page 34: PS Process Scheduler

REPORTING CONSOLE

REPORTING CONSOLE

Page 35: PS Process Scheduler

REPORTING CONSOLE

The Reporting Console provides a single interface for a user to manage reports.

• Schedule / Run process request • Monitor process request • View report output • Edit definitions • Create New definition