oracleappsupgradefrom11.5.10.2to12.1.1dba tasks

43
4/26/2011 Technical Upgrade |ByAbuzaid Saad [email protected] +966508374239 ARABSAT ORACLE APPS 11.5.10.2 UPGRADE TO 12.1.1

Upload: abouzaids

Post on 10-Mar-2015

2.544 views

Category:

Documents


6 download

DESCRIPTION

This document include details steps of how to upgrade from oracle apps 11.5.10.2 to 12.1.1 under linuxi need to share with persons who needs..thanks and good luckif you need more help i'm ready any [email protected]+966508374239

TRANSCRIPT

4/26/2011

Technical Upgrade |ByAbuzaid Saad [email protected]

+966508374239

ARABSAT ORACLE APPS 11.5.10.2 UPGRADE TO 12.1.1

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

2 | P a g e

Oracle® Applicat ions Upgrade Guide

Release 11i to 12.1.1 Pa rt No . E14010-01

I. Preparing For Upgrade Task Steps D. time

[Min] Comments

Apply 11i.AD.I.6 No Action Required, 0 Already at the same level of required patch.

Run TUMS utility a. Download patch 7705743 b. Enable maintenance mode c. adpatch driver d. disable maintenance mode e. sqlplus apps/xx @adtums.sq /usr/tmp f. check report

20 May be install patch as hot patch [No Need ..]

Backup database, application a. Login to PRODAPPL Server as [appl/pw] b. $cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME/ c. $ perl adpreclone.pl appsTier d. $cd [to home] e. $jumpstop f. Wait until all service are down, Ps –ef | grep prodappl |wc –l g. $tar -czvf prodappl.tgz /oracle/prodappl h. $tar -czvf prodcomn.tgz /oracle/prodcomn i. $tar -czvf prodora.tgz /oracle/prodora j. This is a backup of appl k. Login to PRODDB l. $cd $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/ m. $perl adpreclone.pl dbTier n. Shutdown db immediate , startup , shutdown normal o. $tar -czvf proddata.tgz /oracle/proddata p. $tar -czvf proddb.tgz /oracle/proddb q. This is backup of DB Node.

70 Verify shudown ps –ef in prodappl should be less 20

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

3 | P a g e

Drop Event alert triggers in Custom Schema

No Action Required 0 No ALR Trigger in Custom schema XXARABSAT Just need to check apps ALR Trigger after upgrade Sqlplus apps/xx @ $ALR_TOP/admin/sql/alrdtrig.sql

Review Size Recommend to Set All TABLESPACES to auto extend ALTER DATABASE DATAFILE '/oracle/proddata/A_TXN_DATA01.DBF' AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED; ALTER DATABASE DATAFILE '/oracle/proddata/A_TXN_IND01.DBF' AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED; ALTER DATABASE DATAFILE '/oracle/proddata/A_INT01.DBF' AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED; ALTER DATABASE DATAFILE '/oracle/proddata/A_ARCHIVE01.DBF' AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED;

0 Need to Increase two major Table space

Run AD Preparation Scripts [patch 7197489]

Download patch 7197489 and unzip in oracle application manager. sqlplus apps/xx @adgncons.sql apps appsPW --Change data file location on the below script sqlplus system/SYSTEMPW @adcrtbsp.sql scp adgrants.sql root@r12db1:/oracle --From DB Node $sqlplus / as sysdba @adgrants.sql APPLSYS

0

TeleService - Set up profile option for TeleService (required)

No Action Required 0

Prepare For The Upgrade: Step 1 Gather schema statistics for CBO (required)

From System Admin Resp. Submit CM < Gather Schema Statistics>, with Parameter Schema <ALL>

0

Prepare For The Upgrade: Step 2: Back up the database

Backup DB as above steps. 70

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

4 | P a g e

(recommended) Out of box ** Check you able to write $APPLPTMP/UTL_FILE_DIR on

APP/DB node [usr/tmp]

Prepare For The Upgrade: Step 3: Run Rapid Install (required)

Run Rapid Install /startCD/Disk1/rapidwiz

Complete to define DB and APPS Nodes..

0 Online Task take 120 Min

Prepare For The Upgrade: Step 4: Migrate or upgrade your database to at least Oracle 10g Release 2 (conditional)

Check the below note Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade [ID 761570.1] As our SR , patches below need to install

• 6319846 Unzip p6319846_10203_LINUX.zip

0

Already 10.2.3 Hold the first two patch till solve the issue of opatch. And apply only 4247037

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

5 | P a g e

cd 6319846 shutdown DB normal & Listner export PATH=$PATH:$ORACLE_HOME/Opatch $opatch napply -skip_subset -skip_duplicate

• 6110331 Unzip p6110331_10203_LINUX.zip % cd 6110331 Shutdown DB normal & listner opatch apply only below part

unzip patch 4247037 cd 4247037 optach apply cd $ORACLE_HOME/md/admin sqlplus / as sysdba @catmgdidcode

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

6 | P a g e

II. Upgrading to Release 12.1.1 Task Steps Down

time [Min]

Comments

Disable AOL Audit Trail No Action Required 0 It’s already Disabled, System AdminSecurity Audit Trail Groups

Shutdown application Tier Listeners and concurrent managers

Login sysadmin Concurrent Requests Cancel all pending requests Concurrent ManagerAdminister deactivate Internal Login APPL MGR $Cd $SCRIPTS $./adstpall apps/xxx

10

Migrate database to at least oracle 10g R2

No Action required 0

Update init.ora with upgrade parameters

SQL> alter system set processes=800 scope=spfile; SQL> alter system set sessions=1600 scope=spfile; SQL> alter system set sga_target=2G scope=spfile; SQL> alter system set shared_pool_size =1800M scope=spfile; SQL> alter system set shared_pool_reserved_size=180M scope=spfile; SQL> alter system set shared_pool_size =1000M scope=spfile; SQL> alter system set shared_pool_reserved_size =100M scope=spfile; SQL> alter system set pga_aggregate_target=1G scope=spfile; SQL>alter system set parallel_max_servers=32 scope=both; SQL>alter system set job_queue_processes=16 scope=spfile; SQL>alter system set recyclebin=OFF scope=both;

5

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

7 | P a g e

Check Temp Tablespace should be local and Uniform select CONTENTS,EXTENT_MANAGEMENT,ALLOCATION_TYPE from dba_tablespaces where tablespace_name='TEMP';

Disable Custom Triggers, Constraints and Indexes.

select * from dba_triggers where trigger_name like 'XX%' select * from dba_indexes where index_name like 'XX%'

select 'alter trigger '||owner||'.'||trigger_name||' disable;' from dba_triggers where trigger_name like 'XX%'

Drop MRC schema $ cd $APPL_TOP/admin $ sqlplus system/xxx @addrpmrc.sql applsys FORCE

0

Backup Database 60 Ensure maintenance mode is enabled

$sqlplus apps/xxx @$AD_TOP/patch/115/sql/adsetmmd.sql ENABLE

0

Apply AD12.1.1 upgrade driver $cd /oracle/R12/apps/apps_st/appl $ . R12_r12app1.env %adpatch 7461070

15 Source R12 Environment.

Run the American English Upgrade Patch Driver

#mv /dev/random /dev/random.orig #ln -s /dev/urandom /dev/random $ cd $AU_TOP/patch/115/driver Install patch u6678700.drv from bove location using command $ adpatch options=nocopyportion,nogenerateportion

720 VERY SLOW XDOLOADER TASK HANGS [ID 1065393.1] rename /dev/random to /dev/random_org for example 3 - Create a link to /dev/urandom called /dev/random 4 - Restart the upgrade

Run the NLS Upgrade Patch Driver Unzip patch u6678700_ar Run patch

150 Some Arabic Reports have a compilation errors.

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

8 | P a g e

Apply latest product patches No Action Required Synchronize NLS and American English product patches

No Action Required

Disable Maintenance Mode $sqlplus apps/xxx @$AD_TOP/patch/115/sql/adsetmmd.sql DISABLE

Reset ORACLE schema passwords No Action Required

Reset init.ora parameters as Per Note 396009.1

$sqlplus / as sysdba Sql>create pfile from spfile; Sql>alter system set processes=400 scope=spfile; Sql> alter system set session=800 scope=spfile; Sql>alter system set job_queue_processes = 2 scope=spfile; ----noSql>alter system set plsql_code_type = native scope=spfile;

Back up Oracle Applications

No Action Its optional ..

Reset ORACLE schema passwords

No Action Required

Configure and start server processes

Run Rapid Install

15

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

9 | P a g e

Change Configuration file to $INST_TOP/appl/admin/$CONTEXT_NAME Review Apps Node and Run ..

/*Hold This Issue ?? Source env from $APPL_TOP $perl $AD_TOP/bin/admkappsutil.pl Appsutil.zip will be $INST_TOP/admin/out/appsutil.zip Copy appsutil.zip to db Node at $ORACLE_HOME unzip -o appsutil */

Configure Applications client software for forms applet

As per metalink note 393931.1 Download j2se16017.exe jre and copy to $COMMON_TOP/webapps/oacore/util/jinitiator

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

10 | P a g e

$sqlplus apps/xxx @$AD_TOP/patch/115/sql/adsetmmd.sql ENABLE Apply patch (4377566) $FND_TOP/bin/txkSetPlugin.sh 16017 $sqlplus apps/xxx @$AD_TOP/patch/115/sql/adsetmmd.sql DISABLE

Reapply customizations

Integrate custom objects and schemas

Need to SR Package only need to modified and copy it to correct source, Need to define booking DB to R12 DB Server.

Re-enable custom triggers, constraints, and indexes

No Action required

Configure SSL for web Services

No Action Required

Complete Workflow Notification Mailer Configuration

This is need to open IMAP and SMTP Ports with Exchange Server.

Complete Transport Agent Setup

No Action Required

Complete Setup for Oracle XML gateway

No Action Required

Enable PDF Printing

No Action Required

Specify a temporary directory for XML Publisher

Out of box

Compile APPS Schema Compile Forms, PLL Generate JAR Generate Messages Bounce DB & APP Services

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

11 | P a g e

III. Post Upgrade Tasks Task Steps Down

time [Min]

Comments

Verify completion of concurrent programs

Completed Check the attached below CM was completed succfully. Annex Required Post Upgrade Jobs:

Install online help

Apply patch u6746000.drv under $AU_TOP/patch/115/driver adpatch options=hotpatch,nocopyportion,nogenerarteportion

Update/verify Custom responsibility

Verify all custom resp. working fine ..

Migrate Custom development to new Technologies

Open Form with form builder 10g, Change any obsolete function, save and compile to Linux

Copy and re-customize modified scripts or reports

$scp devappl@devapp1:$CSF_TOP & CS_TOP to current Version

Copy existing Custom start scripts

Copy jumpstart& Jumpstop scripts No more custom scripts

Alert

No Action required from my side.

Set Operating unit mode for customizations to single operating unit.

update fnd_concurrent_programs t set t.multi_org_category='S' where t.concurrent_program_name like 'XX%' commit;

Synchronize product license

No action Required

Migrate email server No Action Required Delete obsolete product file

Rename old release to old..

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

12 | P a g e

Problems may be happen while Upgrade Process

Issue 1:

Worker01 have a proble,

I check the log of workers

--- to check worker log Adctrl $APPL_TOP/admin/$TWO_TASK/log Cd $CS_TOP/patch/sql/

$CS_TOP/12.0.0/patch/115/sql > sqlplus -s APPS/<pwd> @cskbctxp.sql apps cs CTXSYS declare * ERROR at line 1: ORA-04042: procedure, function, package, or package body does not exist ORA-06512: at "SYSTEM.AD_DDL", line 165 ORA-06512: at line 45

Solution

Run the following sql to create the missing objects sqlplus apps/xxx @$CS_TOP/patch/115/sql/cskfctxs.pls APPS sqlplus apps/xxx @$CS_TOP/patch/115/sql/cskfctxb.pls APPS

Issue 2

Worker01 have a problem, when I check log of work 01

Solution

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

13 | P a g e

Check worker log, APPLSYS Account locked. Unlock APPLSYS and restart worker

select * from dba_users where account_status like '%LOCK%'

Issue 3

Concurrent Manger status : System Hold, Fix Manager before resetting After upgradation from 11.5.10.2 to 12.1.1, some of the concurrent managers are not coming up and showing the following error: The actual value of the manager is 0. ERROR "System Hold, Fix Manager before resetting counters". Solution Finally as per the note:985835.1, I have done the following 1. Stop all middle tier services including the concurrent managers. Please make sure that no FNDLIBR, FNDSM, or any dead process is running. 2. Stop the database. 3. Start the database. 4. Go to cd $FND_TOP/bin $ adrelink.sh force=y link_debug=y "fnd FNDLIBR" $ adrelink.sh force=y link_debug=y "fnd FNDFS" $ adrelink.sh force=y link_debug=y "fnd FNDCRM" $ adrelink.sh force=y link_debug=y "fnd FNDSM" 5. Run the CMCLEAN.SQL script from the referenced note below (don't forget to commit).

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

14 | P a g e

6. Execute the following SQL: select CONCURRENT_QUEUE_NAME from FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like 'FNDSM%'; 7. Start the middle tier services including your concurrent manager.s Now all of my concurrent managers are back to normal.

Issue 4

In Case Post Upgrade fail the following steps can be executed

Solution

cd $FND_TOP/patch/115/bin perl -x ojspCompile.pl --compile --flush -p 2

• manual auto config for DB & APP node [DB First , Then Apps Node] • Restart DB & Apps Nodes • Try post upgrade ..

Update DB Node Steps:-

Update database tier nodes with the Oracle E-Business Suite Release 12.1.3 code level. After upgraded to Oracle E-Business Suite Release 12.1.3, perform the following post-update steps to update all database tier nodes with the code level, provided by Oracle E-Business Suite Release 12.1.3: Application tier: As the APPLMGR user, run the environment file for the current APPL_TOP. . .$APPL_TOP/APPS$CONTEXT_NAME.env Run AutoConfig on the APPL_TOP.

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

15 | P a g e

Run the admkappsutil.pl utility to create the file appsutil.zip in the $INST_TOP/admin/out directory. perl $AD_TOP/bin/admkappsutil.pl Database tier: As the ORACLE user, run the environment file for the current ORACLE_HOME. cd [RDBMS ORACLE_HOME] . ./[RDBMS ORACLE_HOME]/$CONTEXT_NAME.env Copy or FTP the appsutil.zip file to the [RDBMS ORACLE_HOME]. Uncompress appsutil.zip under the [RDBMS ORACLE_HOME]. cd [ORACLE_HOME] unzip -o appsutil.zip Run AutoConfig on the [RDBMS ORACLE_HOME] Re-run adpreclone.pl on the database tier and the application tier. Since updates included in Oracle E-Business Suite Release 12.1.3 were applied to the system, adpreclone must be run again to apply the updates to the clone directory structures that were used during cloning. perl adpreclone.pl dbTier perl adpreclone.pl appsTier

Upgrade Document Errors

Note the changes to the text in the following books.

Oracle Applications Maintenance Utilities

Page 1-8: In the second paragraph under Feature Versions, replace the list of features as follows: CHECKFILE, PREREQ, CONCURRENT_SESSIONS, PATCH_TIMING, Patch_HIST_IN_DB, SCHEMA_SWAP, JAVA_WORKER, CODELEVEL.

Oracle Applications Upgrade Guide: Release 11i to Release 12

Page 2-4: Add the following text to the end of Step 3, "Convert to Multiple Organizations Architecture":

"HRMS users should also see Setting Up Multiple Organizations in Oracle HRMS (Doc ID: 259546.1)."

Page 2-4: In Step 4, "Drop event alert triggers in custom schemas," the alrdtrig.sql script is located in $ALR_TOP/admin/sql (in your Release 11i system) instead of $ALR_TOP/patch/115/sql as documented.

Page 2-6: In Step 1, "Verify completion of Sales Compensation processes," replace the instructions with the following text:

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

16 | P a g e

"To verify that your Sales Compensation setup data is ready for the upgrade, download and apply patch 4963569 to your Release 11i APPL_TOP. This patch contains cnupgchki.sql (located in the first directory in utl_file_dir). Run this script manually. It creates a report that tells you what pre-upgrade steps are required. You can also view the information in concatenated format in the AutoPatch log file (cnupgchki.log)."

Page 2-15: In the first sentence of Step 7, replace the words "OPM Order Fulfillment" with "Order Management."

Page 3-7: In the third paragraph from the top of the page, replace $APPLTMP with $APPLPTMP in the sentence that begins "If you use a RAC database...."

Page 3-7: Replace Steps 1 - 3 as follows. Renumber the remaining steps as 9 - 13.

1. Apply patch 6636108 on the application tier. Customers who are on 12.0.x need to apply this patch. 2. Apply patch 4585869 on the application tier. Customers who are on 12.0.x and have not upgraded to 10.1.3.3 AS patchset need to apply this patch. 3. Update the RDBMS ORACLE_HOME file system with AutoConfig files.

On the application tier (as the APPLMGR user), log on to the APPL_TOP environment (source the environment file) and run this Perl script to create appsutil.zip in <INST_TOP>/admin/out.

perl <AD_TOP>/bin/admkappsutil.pl

On the database tier (as the ORACLE user), copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME> with this command:

cd <RDBMS ORACLE_HOME> unzip -o appsutil.zip

4. Install JRE on the database tier to ensure that the application tier and the database tier match: o If you are using a "fully certified" platform, refer to OracleMetalink (Doc ID: 418664.1) to install JRE under the <RDBMS_ORACLE_HOME>/appsutil

directory. o If you are using a "database tier only" plat form, refer to OracleMetalink (Doc ID: 456197.1) to install JRE under the

<RDBMS_ORACLE_HOME>/appsutil directory. 5. Create a <C ONTEXT_NAME> directory under $ORACLE_HOME/network/admin, where CONTEXT_NAME is <ORACLE_SID>_<DB hostname>. Copy

listener.ora and tnsnames.ora from the $ORACLE_HOME/network/admin directory to the $ORACLE_HOME/network/admin/<CONTEXT_NAME> directory. 6. Set and export the following environment variables:

o ORACLE_HOME = <RDBMS_ORACLE_HOME> o LD_LIBRARY_PATH = $ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib o ORACLE_SID = <instance name for current database node> o PATH = $PATH:$ORACLE_HOME/bin o TNS_ADMIN = $ORACLE_HOME/network/admin/<CONTEXT_NAME>

7. If you are using the 10.2.0 ORACLE_HOME from Release 11i, generate a new context file as follows:

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

17 | P a g e

UNIX:

cd <RDBMS ORACLE_HOME/appsutil/bin perl adbldxml.pl

WINDOWS:

cd /d <RDBMS ORACLE_HOME\appsutil\bin perl adbldxml.pl

Note:

<RDBMS ORACLE_HOME> is the directory structure laid down by Rapid Wizard as part of the Upgrade File System option.

8. Run AutoConfig on the database tier nodes.

UNIX:

<RDBMS ORACLE_HOME>/appsutil/bin/adconfig.sh \ contextfile=<context file created in Step 7>

WINDOWS:

<RDBMS ORACLE_HOME>\appsutil\bin\adconfig.cmd \ contextfile=<context file created in Step 7>

Page 4-8: Add the following text to the end of Step 1, "Run concurrent programs":

Note: If you are at the 11.5.10.2CU release level, you can reduce downtime by running the concurrent process request set "Update as_accesses_all denorm flag" as a pre-upgrade step.

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

18 | P a g e

Page 4-17: In the Process Manufacturing section under Step 1, "Complete Inventory Convergence for OPM," change patch 4689881 to read 6677022.

Page 4-19: In the Additional Information note for Step 2, replace Oracle Server Technology Administrator's Guide with Oracle Database Administrator's Guide 10g Release 2 (10.2).

Page I-5: Delete the line that begins "ML# 396079.1" in the Patch List table. It does not reference a patch.

How To Get A Clean Autoconfig Environment [ID 391406.1]

Modified 23-APR-2011 Type HOWTO Status PUBLISHED

In this Document Goal Solution References

Applies to: Oracle Applications Technology Stack - Version: 11.5.7 to 11.5.10.2 - Release: 11.5 to 11.5.10 Information in this document applies to any plat form.

Goal Checked for relevance by ATG-ICM Subject Matter Expert (SME): 31-january-2007 The goal is to get a cleaned up Autoconfig Environment.

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

19 | P a g e

Solution

1. Clear the net services topology data model used by autoconfig Note 218089.1 - 'Autoconfig FAQ'

Question: How do I deregister a APPLICATION-Tier from the Net Services Topology Data Model?

Answer: To deregister the current application tier from the Net Services Topology Data Model, invoke the following command:

perl $AD_TOP/bin/adgentns.pl appspass=xxx contextfile=$CONTEXT_FILE -removeserver

Question : How do I deregister a DATABASE-Tier from the Net Services Topology Data Model?

Answer: To deregister the current database tier from the Net Services Topology Data Model, invoke the following command:

perl $ORACLE_HOME/appsutil/bin/adgentns.pl appspass=xxx contextfile=$CONTEXT_FILE -removeserver

2. Clear the FND_NODES table as described in Note 260887.1 - 'Steps to Clean Nonexistent Nodes or IP Addresses from FND_NODES'

Execute following commands in SQLPlus :

EXEC FND_CONC_CLONE.SETUP_CLEAN; COMMIT; EXIT;

Run CMCLEAN.SQL COMMIT; EXIT;

3. Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers, to repopulate the required system tables

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

20 | P a g e

Patches:-

Issue

Patches:-

Installing Patch 9593176 [to fix Cursor .. HOLD]

7121788 This is a perquisites for the next patch.

9593176

--Shutdown Application Tier, [r12appl@r12app1 scripts]$ adstpall.sh apps/xxx

Eable Maintenance Mode via admin.

export PATH=$PATH:/oracle/R12/apps/tech_st/10.1.2/OPatch

chmod +x $ORACLE_HOME/bin/genshlib unzip p7121788_101230_Linux.zip cd /oracle/patches12/7121788 opatch apply cd /oracle/patches12/9593176 opatch apply

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

21 | P a g e

$ cd $ORACLE_HOME/forms/lib/ $ make -f ins_forms.mk install Generate JAR Files without Forcing

$adadmin, option generate (option 1), generate JAR (Option 4)

Disable Maintenance Mode via admin.

Startup Application Tier

[r12appl@r12app1 scripts]$ adstrall.sh apps/xxx De-Install Patch export PATH=$PATH:/oracle/R12/apps/tech_st/10.1.2/OPatch

opatch rollback -id 9593176

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

22 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

23 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

24 | P a g e

Worker fail at wmsgrlspecn.sql

Apply Patch may have errors in worker fail at wmsgrlspecn.sql

You can skip and later run it ..

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

25 | P a g e

Required Post Upgrade Jobs: Below is a list of of the concurrent programs that form part of the required post upgrade steps. These concurrent programs are automatcally submitted during the regular donwtime upgrade, so no manual submission is required. For our ORAPROD 6.5 TB database, upgrading 12 years of historical financial data and using 30 target processes in the concurrent manager, these jobs took 13 hours.

Application Name Concurrent Program Name User Concurrent Program Name Elapsed Time (in minutes)

Total Number Of Requests

Advanced Supply Chain Planning MSCREFMV Refresh Materialized Views .23 2

Application Object Library FDFCMPA Compile All Flexfields 344.25 1

Application Object Library FDFCMPN Compile Non-Compiled Flexfields 232.55 12

Application Object Library FDFVGN Flexfield View Generator 1.18 774

Application Object Library FNDFIXRN Fix FND role names 1.68 1

Application Object Library FNDSCMPI Compile Security .08 1

Applications DBA ADDRPOBS Drop obsolete products schema 2.3 66

Asia/Pacific Localizations JAINDFOBS India - Remove India Localization contexts

from DFFs .03 1

Collections IEX_COLLECTORS_TO_RESOURCE IEX: AR Collectors To Resource Collectors .37 1

Contracts Core OKCARTCRTCTX Create Clause Text Index 28.47 1

Contracts Core OKCCHRCRCTX Create Contract Header Text Index 275.5 1

Contracts Core OKC_XPRT_PUBLISH_RULES Contract Expert: Activate Rules 1.63 5

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

26 | P a g e

Financial Intelligence FII_BUDGET_BASE_UPG_C Update FII_BUDGET_BASE program 16.22 1

Human Resources IRC_CREATE_NOTIFICATION iRecruitment Create Notification Preferences 1.17 30

Human Resources PERNMFT Update Person Names 731.7 1

Human Resources PERNMFT_INT Update Person Names (Internal) 730.65 1

Human Resources PER_FND_SESSIONS_CLEANUP Remove obsolete sessions from fnd_sessions .23 1

Incentive Compensation CNUPGPMTCLWRKER Upgrade payment commission lines - Worker 95.6 900

Incentive Compensation CNUPGPMTCOMMTRXMGR Upgrade commissions and transactions for

AutoUpgrade or AutoPatch - Manager 101.82 30

Incentive Compensation CNUPGPMTREASONSMGR Upgrade payment reason records to notes -

Manager 106.53 30

Incentive Compensation CNUPGPMTREASONSWKR Upgrade payment reason records to notes -

Worker 105.98 900

Incentive Compensation CNUPGPMTRXMGR Upgrade transactions for AutoUpgrade or

AutoPatch 46 30

Incentive Compensation CNUPGPMTRXWRKER Upgrade payment transactions - Worker 2.95 900

Incentive Compensation CN_COLLECT_GEN Generate Collection Packages .03 1

Labor Distribution PSPERUPB PSP: Migrate to OAFramework Effort Reporting .25 1

Learning Management OTATZUPG Update Time Zone 44.63 1

Lease Management OKLSVPTH Service Passthrough Report 5.72 1

Oracle Service CSCHGLINENOMGR Charges: Upgrade for Line Number - 1.67 1

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

27 | P a g e

Manager

Oracle Service CSCHGLINENOWKR Charges: Upgrade for Line Number - Worker .02 3

Oracle Service CS_KB_SYNC_CATEGORIES_INDEX Knowledge Management Category Index Synchronization .4 1

Oracle Service CS_KB_SYNC_SOLUTIONS_INDEX Knowledge Management Solution Index Synchronization .43 1

Oracle Service CS_KB_SYNC_STATEMENTS_INDEX Knowledge Management Statement Index Synchronization .43 1

Oracle Service CS_SR_SYNC_TEXT_INDEX Service Request: Synchronize Text Index Program .27 1

Payables APWUPDST Update Expense Status Code in Expense Report Headers 91.08 1

Payables APWUPRD Upgrade Report Distribution 158.7 30

Payments IBYUPGCP iPayment FP.G Upgrade Program .45 1

Purchasing POXUPMGR Purchasing Post-Upgrade Process 25.77 1

Purchasing POXUPWKR Purchasing Post-Upgrade Sub Process 1.08 3

Receivables ARHDCH DQM Sync Import Child Program 305.35 4

Receivables ARHDQMPP DQM Parallel Sync Index Parent Program 203.3 1

Receivables ARHDQSYN DQM Synchronization Program 506.93 1

Receivables ARHGNRW Geography Name Referencing Worker 298.68 20

Receivables ARHSUFXS Data Fix for Party Site Use 56.05 1

Service Contracts OKSLAUNCHKWF Launch Process Workflow for existing Service Contracts 109.23 30

Service Contracts OKS_REPROCESS_SUBREQUEST Service Contracts Subrequest for Reprocessing Rule Data .02 2

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

28 | P a g e

Service Contracts REPROCESS_SYNC_RULE_DATA Service Contracts Reprocess/Synchronize Rule Data .52 1

Subledger Accounting XLAAADUL Upload Application Accounting Definitions .18 1

Subledger Accounting XLAABACR Validate Application Accounting Definitions 98.97 2

Subledger Accounting XLAALIMP Import Application Accounting Definitions 1.5 1

US Federal Human Resources GHR_ELT_BEN_CONV Process Benefits Data Conversion 361.83 1

US Federal Human Resources GHSUBBENCONV Sub Process for Federal Benefits

Conversion .03 1

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

29 | P a g e

Invalid Objects Handles after upgrade.

Most of these invalids are business views These invalid objects belong to various modules and specific to the module However I have found these to be known issues and the corresponding product team have created documents to validate them Apologize for the large number or documents , but most documents suggest to run a specific concurrent process or so to validate the objects Please follow the documents below , let me know if that helped CEBG Business Views Invalid Objects (Doc ID 857583.1)

Applies to: Oracle Cash Management - Version: 12.0 to 12.0.6 Information in this document applies to any plat form.

Goal The following Business views are invalids: CEBG_BANK_STATEMENTS CEBG_BANK_STATEMENT_LINES CEBG_CASH_FORECAST_CELLS CEFG_BANK_STATEMENTS CEFG_BANK_STATEMENT_LINES CEFG_CASH_FORECAST_CELLS

Solution Please follow the action plan: 1. Log in as sysadmin and use "Business Views Setup" Responsibility. 2. Submit the concurrent request under Report --> Run --> "Generate All Business Views". (You can also submit request "Generate Business Views By Application" with Applications = "Cash Management". This will be specific to Cash Management). 3. Check the list of INVALIDS after the report completes. 4. Update the SR with results

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

30 | P a g e

my comments , its excellent CM

Just Upgraded To R12 And Now A Number Of Objects Won't Compile - Views: <PROD>BV_ -> <PROD>BG_ and <PROD>FV_ -> <PROD>FG_ (Doc ID 560185.1)

Same As above

How to Resolve ORA-00918: Column Ambiguously Defined (Doc ID 567855.1)

The PSBBG_GL_ACCOUNT_HIERARCHIES View Is Invalid (Doc ID 735685.1) After 12.1.2 Upgrade WF_HZ_GROUP_UR And WF_HZ_PARTY_ROLES Views Are Invalid (Doc ID 1236335.1) Obsolte can be dropped

sqlplus apps/apps DROP VIEW WF_HZ_GROUP_UR; DROP view WF_HZ_PARTY_ROLES;

R12: Invalid Objects in Receivables after Upgrade to R12 (Doc ID 857283.1) Invalid View Pobg_suppliers, Pofg_suppliers After Upgrade From 11.5.10 To 12 (Doc ID 740438.1)

Same As above as business views

The PSBBG_GL_ACCOUNT_HIERARCHIES View Is Invalid (Doc ID 735685.1)

Same As above as business views How to (re)compile the invalid object OTFG_FINANCE_HEADERS (Doc ID 963052.1)

Same As above as business views R12: Can Otfg_enrolled_events And Otfg_ext_training_event_enrols Be Dropped (Doc ID 559772.1)

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

31 | P a g e

10161994, Invalid Triggers After Upgrading From 11.5.10.2 To R12.1.3 (Doc ID 1227353.1) The Note number for the invalid triggers AX* is Exception occured 1227353.1 (The 10161994 is part of the note title). The solution this note provides is below Manually run xlaaxtrg.sql.

$cd $XLA_TOP/patch/115/sql

$sqlplus apps/xxx @ xlaaxtrg.sql

Unable to Compile WMS_EPC_PVT get 'MGD_IDCOMPONENT_VARRAY' Must be Declared Error (Doc ID 1070991.1)

$> cd $WMS_TOP/patch/115/sql $> sqlplus apps_user/apps_password REM> Delete the WMS_RULE_LIST_PACKAGE SQL> delete WMS_RULE_LIST_PACKAGE; SQL> select count(*) from WMS_RULE_LIST_PACKAGE; REM> Result should be count(*) = 0 REM> Rebuild the rule packages SQL> wmsrlpkg.sql SQL> wmsgrlspecn.sql SQL> alter PACKAGE APPS.WMS_RULE_PVT compile body; SQL> wmsgnrules.sql Unable to compile OKS_CCENCRYPTION_PKG (Doc ID 413213.1) (This note is for 11i , but seems no differenr for release 12 as well) R12: Invalid Objects in Receivables after Upgrade to R12 (Doc ID 857283.1) (Let me know if you cant see it in metalink)

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

32 | P a g e

Cskbctxp.Sql Failed When Running U6394500.Drv (Doc ID 603633.1) (File versions will be different for you in 12.1.x. but the steps will be same )

Already run while upgrade Patch

Profiles Needs

• Concurrent: Show Requests Summary After Each Request Yes

HR legislation… $ORACLE_HOME/jdk/java oracle.apps.per.DataInstall apps xxx thin devdb1.arabsat.com.sa:1521:dev

Instructions for Running DataInstall/hrglobal.drv on R12 [ID 414434.1]

Solution

In order to populate the TL tables with the translated data, it would be necessary to run R12, followed by hrglobal and then to run the R12 NLS patch in order to overwrite the base language TL rows with the actual translated data. Steps: 1. Install Oracle Applications E-Business Suite Release 12. 2. Apply the hrglobal pre-requisite patch. (Check Metalink Note 145837.1 for details.) 3. Run DataInstall and select legislations to install. 4. Apply hrglobal.drv exists in $PER_TOP/patch/115/driver. 5. Apply R12 NLS patch.

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

33 | P a g e

6. Check Metalink Note 145837.1 - Step 5 - for details of the any recent hrglobal NLS translation patches that should be applied in addition to the R12 Baseline NLS patch. 7. Run the concurrent program "Generate Payroll Dynamic Database Item Translations". 8. Run the concurrent program "Bulk Compile Formulas".

HR Legislation Patch

The primary goal of post install steps is to deliver seeded data. Seeded data consists of deduction and earnings elements, formulas, jurisdiction code information, balances, balance classifications, etc. Without this you will miss basic entities such as the ‘Regular Salary’ and ‘Regular Wages’ e lements.

To enable Count ry Legislation you need to register the country specific driver in your application. Once you have successfully installed Oracle E-Business Suite 12.1.1, you need register the legislation using following command.

DataInstall for hrglobal

$ java oracle.apps.per.DataInstall apps xxx thin devdb1.arabsat.com.sa:1521:dev

+————————————————-+

| DataInstall Main Menu |

+————————————————-+

1. Select legislative data to install/upgrade

2. Select college data to install/upgrade

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

34 | P a g e

3. Select JIT or OTL to install/upgrade

4. Exit to confirmation menu

Enter your choice : 1

# Localisation Product(s) Leg. Data? Action

– ——————- ———————— ———- ————-

1 Globa l Human Resources Install

………….

………….

42 Saudi Arabia Human Resources

43 Saudi Arabia Payroll

……

……

…….

57 United States Payroll

58 United States US Federal Human Resources

<Product #><Action> – Change Action

where <Action> is [I : Install, C : Clear]

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

35 | P a g e

[Return] – To return to main menu.

Enter your choice (for example 2I) : 42I

# Localisation Product(s) Leg. Data? Action

– ——————- ———————— ———- ————-

42 Saudi Arabia Human Resources Install

43 Saudi Arabia Payroll

<Product #><Action> – Change Action

where <Action> is [I : Install, C : Clear]

[Return] – To return to main menu.

Enter your choice (for example 2I) : 43I

42 Saudi Arabia Human Resources Install

43 Saudi Arabia Payroll Install

<Product #><Action> – Change Action

where <Action> is [I : Install, C : Clear]

[Return] – To return to main menu.

Enter your choice (for example 2I) :

+————————————————-+

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

36 | P a g e

| DataInstall Main Menu |

+————————————————-+

1. Select legislative data to install/upgrade

2. Select college data to install/upgrade

3. Select JIT or OTL to install/upgrade

4. Exit to confirmation menu

Enter your choice : 4

DataInstall – Actions confirmation

Do you really wish to exit and save your changes?

[Y] – Yes, save then exit

[N] – No, don’t save but exit

[Return] – To return to the DataInstall Main Menu

Enter your choice (for example Y) : Y

Install the Global legislation driver - hrglobal.drv

hrglobal.drv is the single source for installing and delivering the seeded legislative data. All legislation data is included in hrglobal.drv. However, hrglobal will only install what was selected from datainstall.

Set the Application Enviornment $APPL_TOP/APPS<Context_Name>.env

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

37 | P a g e

Apply $PER_TOP/patch/115/driver/hrglobal.drv to the database tier. Be mindful to only run the driver located in this directory.. hrglobal.drv driver should be applied as per a normal patch using the adpatch utility.

Once completed you have successfully installed your legislative HRMS data.

Confirm the forms from HR consultant after successfully apply the hrgloba l driver.

Skip worker by using option 8

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

38 | P a g e

Define Custom applications cd $APPL_TOP

mkdir -p xxbillsys/12.0.0

cd xxbillsys/12.0.0

mkdir ./admin mkdir ./admin/sql mkdir ./admin/odf mkdir ./admin/template mkdir ./admin/driver mkdir ./forms mkdir ./forms/US mkdir ./html mkdir ./lib mkdir ./mds mkdir ./mesg mkdir ./patch mkdir ./sql mkdir ./bin mkdir ./help mkdir ./java mkdir ./log mkdir ./media mkdir ./out mkdir ./reports mkdir ./reports/US

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

39 | P a g e

cd $APPL_TOP

mkdir -p xxlegalsys/12.0.0

cd xxlegalsys /12.0.0

mkdir ./admin mkdir ./admin/sql mkdir ./admin/odf mkdir ./admin/template mkdir ./admin/driver mkdir ./forms mkdir ./forms/US mkdir ./html mkdir ./lib mkdir ./mds mkdir ./mesg mkdir ./patch mkdir ./sql mkdir ./bin mkdir ./help mkdir ./java mkdir ./log mkdir ./media mkdir ./out mkdir ./reports mkdir ./reports/US

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

40 | P a g e

cd $APPL_TOP

mkdir -p xxlglc/12.0.0

cd xxlglc/12.0.0

mkdir ./admin mkdir ./admin/sql mkdir ./admin/odf mkdir ./admin/template mkdir ./admin/driver mkdir ./forms mkdir ./forms/US mkdir ./html mkdir ./lib mkdir ./mds mkdir ./mesg mkdir ./patch mkdir ./sql mkdir ./bin mkdir ./help mkdir ./java mkdir ./log mkdir ./media mkdir ./out mkdir ./reports mkdir ./reports/US

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

41 | P a g e

cd $APPL_TOP

sysadmin site map auto config manage customization add

create new file with custom environment as defined $APPL_TOP/APPS…env

past

export XXBILLSYS_TOP=/R12b/R12/apps/apps_st/appl/xxbillsys/12.0.0

export XXLEGALSYS_TOP=/R12b/R12/apps/apps_st/appl/xxlegalsys/12.0.0

export XXLGLC_TOP=/R12b/R12/apps/apps_st/appl/xxlglc/12.0.0

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

42 | P a g e

My Area Functional Upgrade Impact • Control System [OFS]

Tasks Before Upgrade o Run Weekly PM Schedule [performance report of last week, Auto Generation for next week& Logs] o Inform Kamel Fatima to print Nominal Operations Plan

Tasks While Upgrade o Control will Manage Nominal Operation manually as per Plan o Control will document manually all executed task owner, assignee’s, actual dates and status for each tasks

Tasks After Upgrade o Kamel Fatima will send manually Operations which executed while upgrade. o Abuzaid Will Enter this information into system o Control Section will Use System as normal process.

• Dirab Maintenance System [OFS] Tasks Before Upgrade

o Run Weekly PM Schedule Tasks While Upgrade

o Manually Document Any operations executed [either general modification, correctives and preventatives] Tasks After Upgrade

o Maintenance Team will Feed the applications with manually process. o Maintenance section will use system as normal process

• Occ. eBooking Tasks Before Upgrade

o Shutdown ebooking DB o Copy Production eBooking DB to TEST DB Server. o Re-configure eBooking application to use TEST DB Server. o Checks ..

Tasks While Upgrade o AOC & Customers will use eBooking system as normal, no difference for users

Tasks After Upgrade o Shutdown TEST DB, o Copy Test DB to Upgraded PROD DB

Configure eBooking application to access PROD DB.

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

43 | P a g e

Profile which change default pdf/rt f of CM Assign a value to the profile "FND: Default Template Output Type" and flag if the template is a Subtemplate or not. Ensure that the profile "FND:OA:Enable Defaults" is set to 'Yes'.