You are on page 1of 19

Concurrent Manager

What is Concurrent Manager????

concurrent program that starts other concurrent programs running.

Application user submits a request to run a program.

Request is entered into a database table (FND_CONCURRENT_REQUESTS, FND_CONCURRENT_PROCESSES).

Concurrent managers read requests from the table and start programs running

Responsibilities of Concurrent Manager

Managing the printer

Managing the programs completion status


Class path of a java program Tracing a concurrent program

Interaction with host concurrent program


Optimization options

Types of Concurrent Managers


Internal Concurrent Manager Standard Manager Conflict Resolution Manager Product Specific Manager Scheduler Manager
start up and shutdown the individual concurrent managers, and reset the other managers
This concurrent manager is up and running all the time and has no specialization rule. check concurrent program definitions for incompatibility rules.

specialized to perform Concurrent Processing specifically for those products


assists the ICM and the CRM in scheduling and conflict resolution. Runs conc. request in synchronous mode Monitors the ICM, and restarts any failed ICM on the local node. (PCP environment)
4

Transaction Manager
Internal Monitor

Defining Concurrent Manager

Program Libraries

Library contains immediate concurrent programs that can be called

by your manager
FNDLIBR
program library is the one which is attached to Standard concurrent manager. FNDLIBR executable is located at $FND_TOP/bin. Manages programs like Marketing Data Mining Manage, Transportation Manager, Collections Manager, Oracle Provisioning Manager.

INVLIBR manages Inventory Manager MRCLIB manages MRP Manager PALIBR manages PA Streamline Manager

Concurrent Manager - Forms

Define Define concurrent manager Administer Status of existing managers WorkShifts Define work shifts to attach to Concurrent Managers. Rule To define combined specialization rules.

Define Concurrent Manager

Screen to define new concurrent managers. Cache Size (Concurrent Manager only)

Data Group
(Transaction Manager only)

Nodes (Parallel Processing)

Define Concurrent Manager Specialization Rules Window

Types :
Program
Combined Rule Oracle ID

Request Type
User

Define Concurrent Manager Specialization Rules Window (cont.)

Request Type form

Attaching request

10

Define Concurrent Manager Work Shifts Window

Assign work shifts to a concurrent manager

11

Administer Concurrent Program


Monitor the status of all concurrent managers

12

Administer Concurrent Program


Processes Requests

13

Define work shifts


Overlapping Work Shift Priorities
Priority Work Shift Definition Example April 15, 1994 8:00am5:00pm

Specific date and range of times

Specific date and no range of times

15-Apr-94

Range of days and range of times

Monday-Friday 8:00am5:00pm

Range of days and no range of times

Monday-Friday

Range of times and no date and no range of days

8:00am-5:00pm

Standard work shift. No date, days, or time defined.

Standard work shift is 365 days a year, 24 hours a day.

14

Define Rule
Define rules identifying which requests a concurrent manager can read

15

Concurrent Manager key Tables

Table

Content

FND_CONCURRENT_REQUESTS

Details of user requests, including status, start date, and completion date

FND_CONCURRENT_PROGRAMS

Details of concurrent programs, including execution method, whether the program is constrained, and whether it must be run alone.

FND_CONCURRENT_PROCESSES

Cross-references between concurrent requests and queues, and a history of concurrent manager processes

FND_CONCURRENT_QUEUES

Information about each of the concurrent manager queues

16

Concurrent Manager Server Scripts


afcmstat.sql afimchk.sql Displays all the defined managers, their maximum capacity, pids, and their status. Displays the status of ICM and PMON method in effect, the ICM's log file, and determines if the concurrent manger monitor is running. Displays the concurrent manager and the name of its log file that processed a request. Displays the requests that are pending, held, and scheduled. Displays of summary of concurrent request execution time and status since a particular date.

afcmcreq.sql
afrqwait.sql afrqstat.sql afqpmrid.sql

Displays the operating system process id of the FNDLIBR process based on a concurrent request id. The process id can then be used with the ORADEBUG utility.
afimlock.sql Displays the process id, terminal, and process id that may be causing locks that the ICM and CRM are waiting to get. You should run this script if there are long delays when submitting jobs, or if you suspect the ICM is in a gridlock with another oracle process.

17

Overview Of Concurrent Manager Process

18

THANK YOU

19