Thursday, September 22, 2022

Demantra related Docs

 Information Center:Demantra Install, Upgrade, Patching,Technical Config (Doc ID 1400207.2)


Install Demantra ~ How to UPGRADE ~ Main Release Patches List And Recommended Patches (Doc ID 1342064.1)



Demantra - Development Sponsored Document Library. CRITICAL Updates, Comprehensive, Effective Technical Briefs, Guides, Notes +! (Doc ID 2245610.1)



To BottomTo Bottom

Tuesday, September 13, 2022

R12 E-Business Suite Concurrent Processing Script Cpadmin.sh Command Line Utility Which Consolidates Existing CP Tools Into A Single Menu-Based Shell Script (Doc ID 2319585.1)

 

APPLIES TO:

Oracle Concurrent Processing - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

GOAL

E-Business Suite R12 Concurrent Processing, Concurrent Manager and Request issues

 

 

 

 

Provide documentation and resources for the new cpadmin.sh command line utility.

The cpadmin.sh script is a command-line tool which consolidates various existing tools for concurrent processing into a single menu-based utility run via a shell script.

 

SOLUTION

The new cpadmin.sh utility initial announcement was provided in the following blog article released by development:

https://blogs.oracle.com/stevenchan/new-cpadmin-utility-for-managing-concurrent-processing-now-available

 

The cpadmin.sh utility is formally documented by development in the following user guide:

https://docs.oracle.com/cd/E26401_01/doc.122/e22953/T174296T575591.htm#8159578

 

This adadmin style utility was designed to integrate the following Concurrent Processing features in one script.

It has the following menu options:

Manager Status

This option is used to view the status of concurrent managers and services.

Use this option to display running managers (with or without process IDs) or display all managers.

The same status information is shown in Administer Concurrent Managers form and OAM Concurrent Managers page.

Clean CP Tables

Use this option to clean up the concurrent processing tables. This utility replaces cmclean.sql. Use this option when the Internal Concurrent Manager (ICM) fails to start due to corrupted/conflicted tables. Note the following actions when choosing this option:

Managers must be stopped first (the utility will verify this).
Clean up inconsistencies in manager tables; remove corruption.
Reset manager states for clean start-up.
Clean and reset Advanced Queue tables for the Output Post-Processor and FNDSM Service Manager.
Reset request conflicts for the Conflict Resolution Manager (CRM).
Identify and clean orphaned requests.

This option is supported by Oracle for use on client systems.

Important: DO NOT USE the cmclean.sql script.

Set Manager Diagnostics

Turn diagnostics on or off for individual managers with this option. You can use this option to turn diagnostics on/off for specific managers without bouncing all services.
This option is available for:

ICM
CRM
Output Post-Processor
Request Processing Managers
Transaction Managers

Each option will display the current diagnostic status (ON or OFF) of the running managers/services and allow you to change the status.

Manager Control

Use this option to send a request such as start, stop, or verify to an individual manager.

Use to send a control request to a manager or service.

This option does the following:

Displays current status of all managers and processes.
Once a manager or service is chosen, offers valid control options for that specific choice.
Valid options for managers: activate, deactivate, verify, restart, abort, shut down.
Valid options for services also include: suspend and resume. Any service can be programmed to respond appropriately to each option; but if one is not, then the service will not respond.

Rebuild Manager Views

Use when Manager Views must be rebuilt.

This option rebuilds the FND_CONCURRENT_WORKER_REQUEST and FND_CONCURRENT_CRM_REQUESTS views with the following steps:

Managers must be stopped first. The utility verifies that these are stopped.
Rebuilds FND_CONCURRENT_WORKER_REQUESTS.
Rebuilds FND_CONCURRENT_CRM_REQUESTS.

Running this option is the same action as running FNDCPBWV.

Move Request Files

Change request log and output file locations with this option.

Use to update the concurrent processing tables for changing the following values for request LOG file, OUT file, or BOTH:

Individual requests: fully qualified file name or node name
Range of requests: directory name or node name
Range of requests can be selected by minimum/maximum date or minimum/maximum request_id

Important: The cpadmin utility changes only the concurrent processing database table values to support movement. The files must be manually moved by an administrator.

Analyze Request

Use this option to analyze a concurrent request.

Use when analyzing a request for any reason. This is non-destructive.

Managers need not be shut down for this option.

This option does the following:

Checks the manager's status.
Analyzes the request's status.
Provides a detailed report on concurrent program.
Gives a detailed report on request's current status.

Running the cpadmin utility:

Complete the steps below to run the command-line utility and its maintenance tasks.

1. Set the environment. in order to apply the environment variables defined for the system. See Setting the Environment, Oracle E-Business Suite Maintenance Guide for more information.
2. From any directory, start cpadmin with the below command:
   $ cpadmin.sh
   The utility starts and prompts you for the APPS password (required).
3. Respond to prompts. Supply the information requested by cpadmin prompts. Prompts unique to an option are described with the option. When you complete the prompts, the Main Menu appears.
4.Choose one of the tasks listed above.
5. Exit the cpadmin utility.

 

Note:

CPADMIN utility is designed only for interactive mode, and there is no documentation for it to be used otherwise.

Wednesday, September 7, 2022

Title Migrate EBS to OCI EBS Cloud Manager

https://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/compute-iaas/creating_backup_of_ebs_instance_on_oci/101_backup_oci.html

 https://apexapps.oracle.com/pls/apex/f?p=133:180:106932995936354::::wid:753

https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=672&clear=RR,180&session=104626518666679


Deploying Oracle E-Business Suite Cloud Manager Version 20.1.1.X on Oracle Cloud Infrastructure (Doc ID 2434500.1)


  • Create the Source Oracle E-Business Suite Environment
  • Prepare the Source Oracle E-Business Suite Environment
  • Install the Oracle E-Business Suite Cloud Backup Module
  • Create a Backup with the Oracle E-Business Suite Cloud Backup Module
  • Deploy an EBS Environment on Cloud Manager from a Backup
Lift and Shift On-Premises EBS to OCI
  • Prepare your tenancy for Oracle E-Business Suite
  • Oracle E-Business Suite Cloud Manager Deployment and Configuration
  • Provision Oracle E-Business Suite Environment
  • Clone Oracle E-Business Suite Environment







Monday, September 5, 2022

Apps password not working

 Someone changed apps password using 'alter user' which is not a good practice.


Now during a clone, password change is not working using FNDCPASS.


1) SEC_CASE_SENSITIVE_LOGON parameter is already set to FALSE

2) select fnd_web_sec.validate_login('GUEST','ORACLE') from dual;

FND_WEB_SEC.VALIDATE_LOGIN('GUEST','ORACLE')
--------------------------------------------------------------------------------
Y
3) There is no error on FNDCPASS but password change is not successful.



So, this is what we did as a fix,


Changed apps password to default apps/apps -- using 'alter user'.

Updated password in FND_ORACLE_USERID to apps using encrypted value.

and then re-tried FNDCPASS, this time it was successful.


EBSPROD> create table FND_ORACLE_USERID_BAK as (select * from FND_ORACLE_USERID);

Table created.

EBSPROD> create table FND_USER_BAK as (select * from FND_USER);

Table created.


SQL> ALTER USER apps IDENTIFIED BY apps;

User altered.

SQL> ALTER USER applsys IDENTIFIED BY apps;

User altered.

Below is the value for encrypted apps password --


SQL> update apps.FND_ORACLE_USERID set ENCRYPTED_ORACLE_PASSWORD = 'ZGA34EA20B5C4C9726CC95AA9D49EA4DBA8EDB705CB7673E645EED570D5447161491D78D444554655B87486EF537ED9843C8' where ORACLE_USERNAME in ('APPS', 'APPLSYS');

2 rows updated.

SQL> commit;

Commit complete.


#######################
col user_name for a30
select USER_NAME from APPS.fnd_user order by 1;



CREATE FUNCTION apps.decrypt_pin_func(in_chr_key IN VARCHAR2,in_chr_encrypted_pin IN VARCHAR2)
RETURN VARCHAR2

     AS
LANGUAGE JAVA NAME 'oracle.apps.fnd.security.WebSessionManagerProc.decrypt(java.lang.String,java.lang.String) return java.lang.String';
/


######################
SYSADMIN
=========
SELECT APPS.decrypt_pin_func('GUEST/ORACLE',(SELECT ENCRYPTED_FOUNDATION_PASSWORD from APPS.fnd_user where USER_NAME='GUEST')) from dual;
SELECT ENCRYPTED_USER_PASSWORD FROM APPS.FND_USER where USER_NAME='SYSADMIN';
SELECT APPS.decrypt_pin_func('&appspwd','&sysadminkey') from dual;

Wednesday, August 24, 2022

Automatic Workload Repository (AWR) Reports - Main Information Sources (Doc ID 1363422.1)

  this Document

Purpose
Scope
 Automatic Workload Repository (AWR) Overview
Details
 Frequently Asked Questions
 Collecting AWR reports
 AWR Interpretation
 AWR setup and Troubleshooting setup Issues
 AWR Setup
 AWR Troubleshooting
 AWR Storage Management
 Common Issues
 If awrinfo.sql hangs, use following script:
 Community Discussions
References

APPLIES TO:

Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.

PURPOSE

This document outlines the primary information sources regarding all aspects of AWR reports.

SCOPE

Automatic Workload Repository (AWR) Overview

Automatic Workload Repository (AWR) is a licensed feature that allows information to be recorded on a database for multiple purposes including detection and elimination of performance issues.

 

For a general overview of Performance Advisors and Manageability Features, see:

Document 276103.1 PERFORMANCE TUNING USING 10g ADVISORS AND MANAGEABILITY FEATURES

Assuming you have the appropriate licenses for AWR, you may gather and examine Automatic Workload Repository (AWR) reports for the system.

Document 1490798.1 AWR Reporting - Licensing Requirements Clarification

Without the appropriate licenses, Statspack provides a legacy solution:

Document 94224.1 FAQ- Statspack Complete Reference

DETAILS

Frequently Asked Questions

Document 1599440.1 FAQ: Automatic Workload Repository (AWR) Reports

Document 1628089.1 AWR Report Interpretation Checklist for Diagnosing Database Performance Issues
Document 1359094.1 How to Use AWR reports to Diagnose Database Performance Issues

Collecting AWR reports

Document 748642.1 How to Generate an AWR Report and Create Baselines

AWR Interpretation

A video entitled: "Introduction to Performance Analysis Using AWR and ASH" is available here providing a comprehensive guided tour using an actual problem.

Document 1628089.1 AWR Report Interpretation Checklist for Diagnosing Database Performance Issues
Document 1359094.1 How to Use AWR reports to Diagnose Database Performance Issues

Document 786554.1 How to Read PGA Memory Advisory Section in AWR and Statspack Reports
Document 754639.1 How to Read Buffer Cache Advisory Section in AWR and Statspack Reports.

Document 762526.1 How to Interpret the OS stats section of an AWR report
Document 1466035.1 How to Interpret the "SQL ordered by Physical Reads (UnOptimized)" Section in AWR Reports (11.2 onwards)

AWR setup and Troubleshooting setup Issues

This section covers the setup of AWR and troubleshooting of problems related to that:

AWR Setup

Document 782974.1 How to Recreate The AWR ( AUTOMATIC WORKLOAD ) Repository ?

AWR Troubleshooting

Document 1301503.1 Troubleshooting: AWR Snapshot Collection issues

Document 296765.1 Solutions for possible AWR Library Cache Latch Contention Issues in Oracle 10g
Document 560204.1 MMON TRACE SHOWS KEWRAFC: FLUSH SLAVE FAILED, AWR ENQUEUE TIMEOUT

AWR Storage Management

Document 1399365.1 Troubleshooting Issues with SYSAUX

Document 287679.1 Space Management In Sysaux Tablespace with AWR in Use
Document 329984.1 Usage and Storage Management of SYSAUX tablespace occupants SM/AWR, SM/ADVISOR, SM/OPTSTAT and SM/OTHER

Common Issues

Document 459887.1 ORA-13516 AWR Operation failed: SWRF Schema not initialized ORA-06512 SYS.DBMS_WORKLOAD_REPOSITORY

If awrinfo.sql hangs, use following script:

Document 733655.1 AWR diagnostic collection script

Community Discussions

Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject.

Click here to open in main browser window.

REFERENCES

NOTE:94224.1 - FAQ- Statspack Complete Reference
NOTE:1301503.1 - Troubleshooting: Missing Automatic Workload Repository (AWR) Snapshots and Other Collection Issues
NOTE:782974.1 - How to Recreate the Automatic Workload Repository (AWR)?
NOTE:1399365.1 - Troubleshooting Issues with SYSAUX Space Usage
NOTE:329984.1 - Usage and Storage Management of SYSAUX tablespace occupants SM/AWR, SM/ADVISOR, SM/OPTSTAT and SM/OTHER
NOTE:754639.1 - How to Read Buffer Cache Advisory Section in AWR and Statspack Reports.
NOTE:560204.1 - MMON Trace Shows: "*** KEWRAFC: Flush slave failed, AWR Enqueue Timeout"
NOTE:1490798.1 - AWR Reporting - Licensing Requirements Clarification
NOTE:1359094.1 - How to Use AWR Reports to Diagnose Database Performance Issues
NOTE:748642.1 - How to Generate an AWR Report and Create Baselines
NOTE:276103.1 - Performance Tuning Using Advisors and Manageability Features: AWR, ASH, ADDM and SQL Tuning Advisor
NOTE:459887.1 - ORA-13516 AWR Operation failed: SWRF Schema not initialized ORA-06512 SYS.DBMS_WORKLOAD_REPOSITORY
NOTE:733655.1 - AWR Diagnostic Collection Script
NOTE:287679.1 - How to Address Issues Where AWR Data Uses Significant Space in the SYSAUX Tablespace
NOTE:296765.1 - Solutions for possible AWR Library Cache Latch Contention Issues in Oracle 10g
NOTE:786554.1 - How to Read PGA Memory Advisory Section in AWR and Statspack Reports to Tune PGA_AGGREGATE_TARGET
NOTE:1357637.1 - How to Control the Number of SQL Statements and other information displayed in AWR Report

Oracle E-Business Suite Release 12 Upgrade Sizing and Best Practices (Doc ID 399362.1)

 This document looks at several key aspects of upgrading Oracle E-Business Suite Release 12.

The core of this document is the set of six attachments that contain information on the following topics: tablespace sizing, schema sizing, post-upgrade historical Financials documents (optional), best practices to manage the upgrade of Release 12, required post-upgrade concurrent jobs, and sample upgrade timings.

The database upgrade statistics are from the upgrade of a 6.5 TB Oracle E-Business Suite Release 11.5.10 CU2 database.

There is a change log at the end of this document.

Attachments To This Document

Click on one of the following links to open or download an attachment:

These attachments are also listed at the bottom of this document.

Database Upgrade Statistics

Years of Data MigratedDatabase Size (GB) Before Upgrade
Database Size (GB) After Upgrade
Delta (GB)
% Growth
36609.976808.44198.473
126609.977161.61551.648.3

The first column, "Years of Data Migrated" refers to the number of financial periods (in units of years) selected to be migrated during the actual upgrade phase. For example, three years of Financials data refers to upgrading Financials documents such as Payables, Receivables, Costing, Projects, and Fixed Assets for the periods from 2004 through to 2006.

Note: During upgrade of the admin tier, batchsize was 10,000 and number of workers used was 30.

Tuesday, August 23, 2022

Business Continuity for Oracle E-Business Suite Release 12.2

 



Business Continuity for Oracle E-Business Suite Release 12.2 Using Oracle 12c (12.1.0.2) Physical Standby Database (Doc ID 1963472.1)


Business Continuity for Oracle E-Business Suite Release 12.2 Using Oracle 11g (11gR2) Physical Standby Database (Doc ID 1491855.1)

Oracle E-Business Suite Release 12.2: Upgrading to Oracle Database 19c with Existing Physical Standby (Doc ID 2665458.1)

Database Options/Management Packs Usage Reporting for Oracle Databases 11.2 and later (Doc ID 1317265.1)

  Database Options/Management Packs Usage Report You can determine whether an option is currently in use in a database by running options_pa...