Anda di halaman 1dari 43

4/26/2011

ARABSAT

ORACLE APPS 11.5.10.2 UPGRADE TO 12.1.1

Technical Upgrade |ByAbuzaid Saad


abouzaids@arabsat.com
+966508374239

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1


Oracle Applicat ions
Upgrade Guide
Release 11i to 12.1.1

Pa rt No . E14010-01

I.

Preparing For Upgrade


Task

Steps

Apply 11i.AD.I.6

No Action Required,

Run TUMS utility

a.
b.
c.
d.
e.
f.
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
l.
m.
n.
o.
p.
q.

Backup database, application

Download patch 7705743


Enable maintenance mode
adpatch driver
disable maintenance mode
sqlplus apps/xx @adtums.sq /usr/tmp
check report
Login to PRODAPPL Server as [appl/pw]
$cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME/
$ perl adpreclone.pl appsTier
$cd [to home]
$jumpstop
Wait until all service are down, Ps ef | grep prodappl |wc l
$tar -czvf prodappl.tgz /oracle/prodappl
$tar -czvf prodcomn.tgz /oracle/prodcomn
$tar -czvf prodora.tgz /oracle/prodora
This is a backup of appl
Login to PRODDB
$cd $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/
$perl adpreclone.pl dbTier
Shutdown db immediate , startup , shutdown normal
$tar -czvf proddata.tgz /oracle/proddata
$tar -czvf proddb.tgz /oracle/proddb
This is backup of DB Node.

D. time
[Min]
0
20

Comments
Already at the same level of
required patch.
May be install patch as hot patch

[No Need ..]

70

Verify shudown
ps ef in prodappl should be less 20

2|P a g e

Drop Event alert triggers in Custom


Schema

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

Review Size

2011

No Action Required

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;

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
Need to Increase two major Table
space

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;

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

TeleService - Set up profile option for


TeleService (required)
Prepare For The Upgrade: Step 1
Gather schema statistics for CBO
(required)
Prepare For The Upgrade: Step 2:
Back up the database

No Action Required

From System Admin Resp.


Submit CM < Gather Schema Statistics>, with Parameter Schema
<ALL>
Backup DB as above steps.

70
3|P a g e

(recommended)
Out of box

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

Prepare For The Upgrade: Step 3:


Run Rapid Install (required)

** Check you able to write $APPLPTMP/UTL_FILE_DIR on


APP/DB node [usr/tmp]
Run Rapid Install
/startCD/Disk1/rapidwiz

Online Task take 120 Min

Already 10.2.3

Complete to define DB and APPS Nodes..


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-Busine ss Suite
Release 12.1.1 Upgrade [ID 761570.1]
As our SR , patche s below need to install

6319846
Unzip p6319846_10203_LINUX.zip

Hold the first two patch till solve the


issue of opatch.
And apply only 4247037
4|P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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

5|P a g e

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1


II.

Upgrading to Release 12.1.1


Task

Steps

Down
time
[Min]
0

Disable AOL Audit Trail

No Action Required

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
Update init.ora with upgrade
parameters

No Action required

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;

Comments

Its already Disabled,


System AdminSecurity Audit
Trail Groups

6|P a g e

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1


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.

Drop MRC schema

Backup Database
Ensure maintenance mode is
enabled

select *
from dba_triggers where trigger_name like 'XX%'
select *
from dba_indexes
where index_name like 'XX%'
$ cd $APPL_TOP/admin
$ sqlplus system/xxx @addrpmrc.sql applsys FORCE

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


ENABLE

select 'alter trigger


'||owner||'.'||trigger_name||'
disable;'
from dba_triggers where
trigger_name like 'XX%'
0

60
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

720

VERY SLOW XDOLOADER TAS K


HANGS [I D 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

150

Some Arabic Reports have a


compilation errors.

$ cd $AU_TOP/patch/115/driver
Install patch u6678700.drv from bove location using command
$ adpatch options=nocopyportion,nogenerateportion

Run the NLS Upgrade Patch Driver

Unzip patch u6678700_ar


Run patch

7|P a g e

Apply latest product patches


Synchronize NLS and American
English product patches
Disable Maintenance Mode

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1


No Action Required
No Action Required

$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

Back up Oracle Applications

$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;
No Action

Reset ORACLE schema passwords

No Action Required

Configure and start server processes

Run Rapid Install

Its optional ..

15

8|P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

Change Configuration file to


$INST_TOP/appl/admin/$CONTEXT_NAME
Review Apps Node and Run ..

Configure Applications client


software for forms applet

/*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
*/
As per metalink note 393931.1
Download j2se16017.exe jre and copy to
$COMMON_TOP/webapps/oacore/util/jinitiator
9|P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

$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
Complete Transport Agent Setup

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

Complete Setup for Oracle XML


gateway
Enable PDF Printing

No Action Required

No Action Required

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
10 | P a g e

III.

Post Upgrade Tasks

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

Task

Steps

Verify completion of concurrent


programs

Completed

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
$scp devappl@devapp1:$CSF_TOP & CS_TOP to current Version

Down
time
[Min]

Comments

Check the attached below CM was


completed succfully.
Annex

Required Post Upgrade Jobs:

Copy and re-customize modified


scripts or reports
Copy existing Custom start scripts
Alert

Set Operating unit mode for


customizations to single operating
unit.

Copy jumpstart& Jumpstop scripts

No more custom scripts

No Action required from my side.


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

Synchronize product license

commit;
No action Required

Migrate email server


Delete obsolete product file

No Action Required
Rename old release to old..

11 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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.A D_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
12 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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).
13 | P a g e

6. Execute the following SQL:

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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 Releas e 12.1.3 code level.
After upgraded to Oracle E-Business Suite Release 12.1.3, perform the following post-updat e steps to update all dat abase tier nodes wit h the c ode level, provided by
Oracle E-B usiness Suite Release 12.1.3:
Application tier:
As the APPLMGR user, run the environment file for the current APPL_TOP.
. .$APPL_TOP/APPS$CONTE XT_NAME.env
Run Aut oConfig on the APPL_TOP.

14 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

Run the admkappsutil.pl utility to create the file appsutil.zip in the $INS T_TOP/admin/out directory.
perl $A D_TOP/bin/admkappsutil.pl
Database tier:
As the ORACLE user, run the environment file for the current ORA CLE _HOME.
cd [RDBMS ORA CLE _HOME]
. ./[RDBMS ORACLE _HOME]/$CONTE XT_NAME.env
Copy or FTP the appsutil.zip file to the [RDBMS ORA CLE _HOME].
Uncompress appsutil.zip under the [RDBMS ORACLE_HOME].
cd [ORACLE _HOME]
unzip -o apps util.zip
Run Aut oConfig on the [RDBMS ORA CLE _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 updat es 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: CHE CKFILE, PREREQ, CONCURRE NT_SESS IONS,
PATCH_TIMING, Patch_HIS T_IN_DB, SCHEMA_SWAP, JAVA_WORKE R, 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 als o 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 Compens ation processes," replace the instructions with the following text:

15 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

"To verify that your S ales 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 concat enat ed format in the AutoPatch log file (c nupgchki.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 $APPLP TMP 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.
2.
3.

Apply patch 6636108 on the application tier. Customers who are on 12.0.x need to apply this patch.
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.
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 <INS T_TOP>/admin/ out.
perl <AD_TOP>/bin/admkappsutil.pl
On the database tier (as the ORA CLE user), copy or FTP the appsutil.zip file to the <RDBMS ORA CLE_HOME> wit h this command:
cd <RDBMS ORACLE_HOME>
unzip -o appsutil.zip

4.

5.
6.

7.

Install JRE on the database tier to ensure that the application tier and the dat abase tier match:
o If you are using a "fully certified" platform, refer to OracleMet alink (Doc ID: 418664.1) to install JRE under the <RDB MS_ORA CLE _HOME>/apps util
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_ORA CLE _HOME>/apps util directory.
Create a <C ONTE XT_NAME> directory under $ORACLE_HOME/network/admin, where CONTE XT_NAME is <ORACLE_S ID>_<DB hostname>. Copy
listener.ora and tnsnames.ora from the $ORA CLE _HOME/network/admin directory to the $ORACLE _HOME/net work/admin/<CONTE XT_NAME> directory.
Set and export the following environment variables:
o ORA CLE_HOME = <RDBMS_ORACLE_HOME>
o LD_LIBRA RY_PA TH = $ORA CLE_HOME/lib:$ORACLE_HOME/ctx/lib
o ORA CLE_S ID = <instance name for current database node>
o PATH = $PATH:$ORACLE_HOME/bin
o TNS_A DMIN = $ORACLE_HOME/network/admin/< CONTE XT_NAME>
If you are using the 10.2.0 ORA CLE_HOME from Release 11i, generate a new cont ext file as follows:

16 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

UNIX:

2011

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 Aut oConfig on the databas e 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.

17 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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 HOW TO Status P UBLISHE D

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 Aut oconfig Environment.

18 | P a g e

Solution

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

1. Clear the net services topology data model used by autoconfig Note 218089. 1 - 'Autoc onfig FAQ'
Question:
How do I deregister a APPLICA TION-Tier from the Net Services Topology Dat a 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 DA TABASE-Tier from the Net Services Topology Dat a 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

19 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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

20 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

$ 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

21 | P a g e

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

Worker fail at wmsgrl specn. sql


Apply Patch may have errors in worker fail at wmsgrlspecn.sql
You can skip and lat er run it ..

24 | P a g e

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

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

Application Object
Library

FDFCMPA

Compile All Flexfields

344.25

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

Application Object
Library

FNDSCMPI

Compile Security

.08

Applications DBA

ADDRPOBS

Drop obsolete products schema

2.3

66

Asia/Pacific
Localizations

JAINDFOBS

India - Remove India Localization contexts


from DFFs

.03

Collections

IEX_COLLECTORS_TO_RESOURCE

IEX: AR Collectors To Resource Collectors

.37

Contracts Core

OKCARTCRTCTX

Create Clause Text Index

28.47

Contracts Core

OKCCHRCRCTX

Create Contract Header Text Index

275.5

Contracts Core

OKC_XPRT_PUBLISH_RULES

Contract Expert: Activate Rules

1.63

5
25 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

Financial Intelligence FII_BUDGET_BASE_UPG_C

Update FII_BUDGET_BASE program

16.22

Human Resources

IRC_CREATE_NOTIFICATION

iRecruitment Create Notification Preferences 1.17

30

Human Resources

PERNMFT

Update Person Names

731.7

Human Resources

PERNMFT_INT

Update Person Names (Internal)

730.65

Human Resources

PER_FND_SESSIONS_CLEANUP

Remove obsolete sessions from


fnd_sessions

.23

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

Labor Distribution

PSPERUPB

PSP: Migrate to OAFramework Effort


Reporting

.25

Learning
Management

OTATZUPG

Update Time Zone

44.63

Lease Management

OKLSVPTH

Service Passthrough Report

5.72

Oracle Service

CSCHGLINENOMGR

Charges: Upgrade for Line Number -

1.67

1
26 | P a g e

2011

Oracle Apps 11.5.10.2 Upgrade to 12.1.1


Manager

Oracle Service

CSCHGLINENOWKR

Charges: Upgrade for Line Number - Worker .02

Oracle Service

CS_KB_SYNC_CATEGORIES_INDEX

Knowledge Management Category Index


Synchronization

.4

Oracle Service

CS_KB_SYNC_SOLUTIONS_INDEX

Knowledge Management Solution Index


Synchronization

.43

Oracle Service

CS_KB_SYNC_STATEMENTS_INDEX

Knowledge Management Statement Index


Synchronization

.43

Oracle Service

CS_SR_SYNC_TEXT_INDEX

Service Request: Synchronize Text Index


Program

.27

Payables

APWUPDST

Update Expense Status Code in Expense


Report Headers

91.08

Payables

APWUPRD

Upgrade Report Distribution

158.7

30

Payments

IBYUPGCP

iPayment FP.G Upgrade Program

.45

Purchasing

POXUPMGR

Purchasing Post-Upgrade Process

25.77

Purchasing

POXUPWKR

Purchasing Post-Upgrade Sub Process

1.08

Receivables

ARHDCH

DQM Sync Import Child Program

305.35

Receivables

ARHDQMPP

DQM Parallel Sync Index Parent Program

203.3

Receivables

ARHDQSYN

DQM Synchronization Program

506.93

Receivables

ARHGNRW

Geography Name Referencing Worker

298.68

20

Receivables

ARHSUFXS

Data Fix for Party Site Use

56.05

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
27 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

Service Contracts

REPROCESS_SYNC_RULE_DATA

Service Contracts Reprocess/Synchronize


Rule Data

.52

Subledger
Accounting

XLAAADUL

Upload Application Accounting Definitions

.18

Subledger
Accounting

XLAABACR

Validate Application Accounting Definitions

98.97

Subledger
Accounting

XLAALIMP

Import Application Accounting Definitions

1.5

US Federal Human
Resources

GHR_ELT_BEN_CONV

Process Benefits Data Conversion

361.83

US Federal Human
Resources

GHSUBBENCONV

Sub Process for Federal Benefits


Conversion

.03

28 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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_BA NK_S TA TEME NTS
CEBG_BA NK_S TA TEME NT_LINES
CEBG_CASH_FORECAS T_CE LLS
CEFG_BA NK_S TA TEME NTS
CEFG_BA NK_S TA TEME NT_LINES
CEFG_CAS H_FORE CAS T_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 Cas h Management ).
3. Check the list of INVALIDS after the report completes.
4. Update the SR with results

29 | P a g e

my comments , its excellent CM

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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)


30 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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)
31 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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

Conc urrent: Show Requests Summary After E ach Request

Yes

HR legislation
$ORA CLE _HOME/jdk/java oracle.apps.per. DataInstall apps xxx thin devdb1.arabs at.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.

32 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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 s uch as the Regular Salary and Regula r 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
33 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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]
34 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

[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 ) :
+-+
35 | P a g e

| DataInstall Main Menu |

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

+-+
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, dont 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
36 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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

37 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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

38 | P a g e

cd $APPL_TOP

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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

39 | P a g e

cd $APPL_TOP

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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

40 | P a g e

cd $APPL_TOP

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

sysadmin site map auto config manage customization add


create new file with custom environment as defined $APPL_TOP/APPSenv
past
export XXB ILLSYS_TOP=/R12b/R12/apps/apps_st/appl/xxbillsys/12.0.0
export XXLEGA LSYS_TOP=/R12b/R12/apps/apps_st/appl/xxlegalsys/12.0.0
export XXLGLC_TOP=/R12b/R12/apps/apps _st/appl/xxlglc/12.0.0

41 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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 Cont rol will Manage Nominal Operation manually as per Plan
o Cont rol will document manually all executed task owner, assignees, 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 Cont rol 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 proc ess.
o Maintenance section will use system as normal process

Occ. eBooking

Tasks Before Upgrade


o Shutdown ebooking DB
o Copy Production eBooking DB to TES T DB Server.
o Re-c onfigure eB ooking application to use TES T DB Server.
o Checks ..
Tasks While Upgrade
o AOC & Customers will use eB ooking system as normal, no difference for users
Tasks After Upgrade
o Shutdown TES T DB,
o Copy Test DB to Upgraded PROD DB
Configure eBooking application to access PROD DB.

42 | P a g e

Oracle Apps 11.5.10.2 Upgrade to 12.1.1

2011

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'.

43 | P a g e

Anda mungkin juga menyukai