Oracle Enterprise Manager Getting Started with the Oracle Management Pack for Oracle Applications Release 9.0.1 Part Number A88720-01 |
|
The job tasks and job scheduling services of the Oracle Enterprise Manager console allow you to automate standard and repetitive tasks, such as executing a SQL script or executing an operating system command. The Management Pack for Oracle Applications includes job tasks that can be configured to bring a concurrent manager up or down. The pack also includes job tasks that can be configured to trigger automatically as fixit jobs for a particular event. Jobs can be scheduled for specific times or time intervals allowing the administrator to proactively monitor and correct problems.
This chapter describes each of the jobs included with the Management Pack for Oracle Applications. For more information on submitting or scheduling jobs, see the Oracle Enterprise Manager Administrator's Guide.
Prior to using Oracle Applications Jobs, you must set the Concurrent Manager Node Credentials. This is necessary because on UNIX, all jobs executed by the Oracle Intelligent Agent are performed as the operating system (OS) user specified in the preferred credentials for that node. This may present an Oracle Applications administrator with a problem if the APPL_TOP for the Concurrent Processing server is owned by an OS user, such as applmgr
, which is different from the OS user, oracle
, which is needed to perform database operations.
The following are suggestions for how to work around this problem:
Log on to the Enterprise Manager database account and set the node credentials to the user oracle
. Log out of Enterprise Manager and log back on as the Enterprise Manager Oracle Applications user. Set the node credentials to the applmgr account.
oracle
in the preferred node credentials. Allow the ICM to be started as user oracle
. All log and output directories must be writable by user oracle
. The users oracle
and applmgr
should belong to the same group. You may need to set the umask in the .login files of these users to ensure that files created in the Concurrent Manager's environment have the appropriate group permissions.oracle
in the preferred node credentials. Configure the .rhosts file for applmgr
so that the user oracle
can rsh to the managed node as the user applmgr
. Alter the concurrent manager startup script ($FND_TOP/bin/oemstart.sh, for example) to rsh as applmgr
to the managed node and start the concurrent manager.
For example, if your Intelligent Agent is on "prodapps.acme.com" add the following line to the .rhosts file for the user "applmgr":
prodapps.acme.com oracle
The concurrent manager startup script should then read:
rsh -l applmgr prodapps.acme.com sh -c "\".$1;startmgr sysmgr=$2\""
applmgr
.The job tasks for Oracle Applications are:
The Concurrent Manager Shutdown job task shuts down the Internal Concurrent Manager (ICM), in the mode specified by the user. This job requires an Agent that is release 8.1.7 or higher.
When configured in the abort mode, the job shuts down the ICM regardless of the existing state of the queues.
When configured in the stop mode, the job waits until current requests are processed and completed before stopping the ICM.
Choose the Stop mode if you would like to bring down the ICM graciously. Choose the Abort mode if you would like to bring down the ICM immediately, regardless of the state of the concurrent request queues.
If the job fails, check the ICM log file for details. If the environment variable APPLCSF is set, the ICM log file will be located in $APPLCSF/$APPLLOG. Otherwise, the ICM log will be located in $FND_TOP/$APPLLOG.
The Concurrent Manager Shutdown job task shuts down the Internal Concurrent Manager (ICM), in the mode specified by the user.
When configured in the abort mode, the job shuts down the ICM regardless of the existing state of the queues.
When configured in the stop mode, the job waits until current requests are processed and completed before stopping the ICM.
Choose the Stop mode if you would like to bring down the ICM graciously. Choose the Abort mode if you would like to bring down the ICM immediately, regardless of the state of the concurrent request queues.
If the job fails, check the ICM log file for details. If the environment variable APPLCSF is set, the ICM log file will be located in $APPLCSF/$APPLLOG. Otherwise, the ICM log will be located in $FND_TOP/$APPLLOG.
The Concurrent Manager Startup job task starts the Internal Concurrent Manager (ICM). This job task can be configured as a fixit job to be associated with the Concurrent Manager UpDown event test to automatically start up the Concurrent manager (ICM) when it goes down. This job requires an Agent that is release 8.1.7 or higher.
If the job fails, check the ICM log file for details. If the environment variable APPLCSF is set, the ICM log file will be located in $APPLCSF/$APPLLOG. Otherwise, the ICM log will be located in $FND_TOP/$APPLLOG.
The Concurrent Manager Startup job task starts the Internal Concurrent Manager (ICM). This job task can be configured as a fixit job to be associated with the Concurrent Manager UpDown event test to automatically start up the Concurrent manager (ICM) when it goes down.
No parameters are required.
If the job fails, check the ICM log file for details. If the environment variable APPLCSF is set, the ICM log file will be located in $APPLCSF/$APPLLOG. Otherwise, the ICM log will be located in $FND_TOP/$APPLLOG.
The Kill Locking Session job task is intended to be used as a fix-it job for the following Oracle Applications Advanced Event Tests:
It is rare for a concurrent program to lock out the ICM or CRM for an excessive amount of time. This job will most likely trigger for a form session that is out of control.
When configured as a fixit job for the previously mentioned event tests, the session preventing ICM or CRM from continuing would automatically be deleted. This job requires an Agent that is release 8.1.7 or higher.
No parameters are required.
User will be informed if the job succeeds.
If the job fails, check your user privileges to make sure you have the rights to kill the session.
Also, check the ICM log file for details. If the environment variable APPLCSF is set, the ICM log file will be located in $APPLCSF/$APPLLOG. Otherwise, the ICM log will be located in $FND_TOP/$APPLLOG.
The Kill Locking Session job task is intended to be used as a fix-it job for the following Oracle Applications Advanced Event Tests:
It is rare for a concurrent program to lock out the ICM or CRM for an excessive amount of time. This job will most likely trigger for a form session that is out of control.
When configured as a fixit job for the previously mentioned event tests, the session preventing ICM or CRM from continuing would automatically be deleted.
No parameters are required.
User will be informed if the job succeeds.
If the job fails, check your user privileges to make sure you have the rights to kill the session.
Also, check the ICM log file for details. If the environment variable APPLCSF is set, the ICM log file will be located in $APPLCSF/$APPLLOG. Otherwise, the ICM log will be located in $FND_TOP/$APPLLOG.
The Oracle Concurrent Processing Tuning Assistant (CPTA) is a utility that allows you to examine historical processing information about Oracle Concurrent Processing requests and concurrent managers. Its reports are limited by the amount of information stored in FND tables. Since, in a production system, these tables are purged on a regular basis, there is a need to keep the data in a new repository schema. When you run this job, data will be uploaded from the Applications schema FND tables into the new repository schema. Data will then be aggregated into new tables. This accelerates the processing of the reports.
The repository schema can reside in any Oracle database. Given the potentially massive amount of data that can be stored in this repository, Oracle recommends that you do not use the Oracle Enterprise Manager repository schema for this purpose.
In the first execution of the 'Load Data into Concurrent Processing Tuning Assistant' job, approximately 20% of the data in the FND tables is copied to the new repository schema. Every consecutive execution of the job copies only the records added since the previous copy. The repository will continue to grow in proportion to the load on your Applications database.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|