60436749 oracleappsupgradefrom11!5!10 2to12!1!1dba tasks

43
8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 1/43 4/26/2011 Technical Upgrade |ByAbuzaid Saad [email protected] +966508374239 ARABSAT ORACLE APPS 11.5.10.2 UPGRADE TO 12.1.1

Upload: sanjayid1980

Post on 05-Jul-2018

256 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 1/43

4/26/2011

Technical Upgrade |ByAbuzaid Saad

[email protected] 

+966508374239

ARABSAT ORACLE APPS 11.5.10.2 UPGRADE TO 12.1.1

Page 2: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 2/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

2 | P a g e  

Oracle®  pplications

Upgrade GuideRelease 11i to 12.1.1Pa 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 util ity a.  Download patch 7705743

b.  Enable maintenance modec.  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 applk.  Login to PRODDB

l.  $cd $ORACLE_HOME/appsuti l/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

Page 3: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 3/43

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  DATAFI LE ' / oracl e/ pr oddata/ A_I NT01. DBF'  AUTOEXTEND  ON  NEXT  2M MAXSI ZE  UNLI MI TED;ALTER  DATABASE  DATAFI LE ' / oracl e/ proddat a/ A_ARCHI VE01. DBF'   AUTOEXTEND  ON NEXT  2M MAXSI ZE  UNLI MI TED;  

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 [email protected] 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

Page 4: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 4/43

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 noteDatabase Preparation Guidelines for an E-Business SuiteRelease 12.1.1 Upgrade [ID 761570.1]

 As our SR , pa tches bel ow need to instal l

•  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 

Page 5: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 5/43

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

•  6110331Unzip p6110331_10203_LINUX.zip

% cd 6110331

Shutdown DB normal & listneropatch apply

only below part

unzip patch 4247037

cd 4247037

optach apply

cd $ORACLE_HOME/md/admin

sqlplus / as sysdba@catmgdidcode

Page 6: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 6/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

6 | P a g e  

II.  Upgrading to Release 12.1.1Task Steps Down

time

[Min]

Comments

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

System AdminSecurity Audit

TrailGroups

Shutdown application Tier Listeners

and concurrent managers

Login sysadmin

ConcurrentRequestsCancel all pending requests

ConcurrentManagerAdministerdeactivate InternalLogin 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

Page 7: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 7/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

7 | P a g e  

Check Temp Tablespace should be local and Uniformsel ect   CONTENTS, EXTENT_MANAGEMENT, ALLOCATI ON_TYPEf r omdba_t abl espaces wher e  t abl espace_name=' TEMP' ;  

Disable Custom Triggers, Constraintsand 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 wheretrigger_name like 'XX%'

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

0

Backup Database 60

Ensure maintenance mode isenabled $sqlplus apps/xxx @$AD_TOP/patch/115/sql/adsetmmd.sqlENABLE 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$ adpat ch opt i ons=nocopypor t i on, nogenerat eport i on 

720 VERY SLOW XDOLOADER TAS KHANGS [ID 1065393.1] rename /dev/random to/dev/random_org for example

3 - Create a link to /dev/urandomcalled /dev/random4 - Restart the upgrade

Run the NLS Upgrade Patch Driver Unzip patch u6678700_ar

Run patch

150 Some Arabic Reports have a

compilation errors.

Page 8: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 8/43

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

Page 9: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 9/43

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

Page 10: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 10/43

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 MessagesBounce DB & APP Services

Page 11: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 11/43

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 newTechnologies

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

Page 12: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 12/43

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 APPSsqlplus apps/xxx @$CS_TOP/patch/115/sql/cskfctxb.pls APPS

Issue 2

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

Solution

Page 13: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 13/43

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

sel ect   * f rom dba_user swher e  account _st atus l i k e  ' %LOCK%'

Issue 3

Concurrent Manger status : System Hold, Fix Manager before resett ing 

 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 fo rce=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).

Page 14: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 14/43

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 th e 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 byOracle 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.envRun AutoConfig on the APPL_TOP.

Page 15: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 15/43

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.plDatabase tier:

 As the ORACLE user, run the environment file for the current ORACLE_HOME.cd [RDBMS ORACLE_HOME]

. ./[RDBMS ORACLE_HOME]/$CONTEXT_NAME.envCopy 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.zipRun 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 clonedirectory structures that were used during cloning.

perl adpreclone.pl dbTierperl 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:

Page 16: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 16/43

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 patchcontains cnupgchki.sql (located in the first directory in utl_file_di r). Run this script manually. It creates a report that tells you what pre-upgrade steps are required. Youcan 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 createappsutil.zip in <INST_TOP>/admin/out.

per l <AD_TOP>/ bi n/ admkappsut i l . 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>unzi p - o appsut i l . zi p

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" platform, 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>. Copylistener.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/libo  ORACLE_SID = <instance name for current database node>o  PATH = $PATH:$ORACLE_HOME/bino  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:

Page 17: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 17/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

17 | P a g e  

UNIX:

cd <RDBMS ORACLE_HOME/ appsut i l / bi nper l adbl dxml . pl

WINDOWS:

cd / d <RDBMS ORACLE_HOME\ appsut i l \ bi nper l adbl dxml . 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>/ appsut i l / bi n/ adconf i g. sh \cont ext f i l e=<cont ext f i l e cr eat ed i n St ep 7>

WINDOWS:

<RDBMS ORACLE_HOME>\ appsut i l \ bi n\ adconf i g. cmd \cont ext f i l e=<cont ext f i l e cr eat ed i n St ep 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" asa pre-upgrade step.

Page 18: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 18/43

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 10gRelease 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 Autocon fig Environmen t [ID 391406.1]  

Modified 23-APR-2011 Type HOWTO Status PUBLISHED

In this Document  Goal Solution References 

 App lies t o:

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

Goal

Checked for relevance by ATG-ICM Subject Matter Expe rt (SME): 31-january-2007 

The goal is to get a cleaned up Autoconfig Environment.

Page 19: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 19/43

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:

per l $AD_TOP/ bi n/ adgent ns. pl appspass=xxx cont extf i l e=$CONTEXT_FI LE - r emoveser ver  

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:

per l $ORACLE_HOME/ appsut i l / bi n/ adgent ns. pl appspass=xxx cont ext f i l e=$CONTEXT_FI LE - r emoveserver  

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

Execute following commands in SQLPlus :

EXEC FND_CONC_CLONE. SETUP_CLEAN;

COMMI T;EXI T;  

Run CMCLEAN. SQL

COMMI T;

EXI T;  

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

Page 20: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 20/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

20 | P a g e  

Pat ches: -

I ssue

Pat ches: -

I nst al l i ng Patch 9593176 [ t o f i x Cur sor . . HOLD]

7121788 This is a perquisites for the next patch.

9593176

- - Shut down Appl i cat i on Ti er ,[ r 12appl @r 12app1 scri pt s] $ adst pal l . sh apps/ xxx

Eabl e Mai ntenance Mode vi a admi n.

expor t PATH=$PATH: / or acl e/ R12/ apps/ t ech_s t / 10. 1.2/ OPat ch

chmod +x $ORACLE_HOME/ bi n/ genshl i bunzi p p7121788_101230_Li nux. zi pcd / oracl e/ pat ches12/ 7121788

opat ch appl y

cd / oracl e/ pat ches12/ 9593176opat ch appl y

Page 21: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 21/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

21 | P a g e  

$ cd $ORACLE_HOME/ f or ms/ l i b/$ make -f i ns_f orms. mk i nst al lGenerat e J AR Fi l es wi t hout Forc i ng

$adadmi n, opt i on generate (opti on 1) , generate J AR ( Opti on 4)

Di sabl e Mai nt enance Mode vi a admi n.

Startup Application Tier

[ r 12appl @r 12app1 scr i pt s] $ adst r al l . sh apps/ xxx

De- I nst al l Pat chexpor t PATH=$PATH: / or acl e/ R12/ apps/ t ech_s t / 10. 1.2/ OPat ch

opatch rollback -id 9593176 

Page 22: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 22/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

22 | P a g e  

Page 23: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 23/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

23 | P a g e  

Page 24: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 24/43

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

Page 25: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 25/43

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

 App licat ion Name Concur rent Program Name User Concur rent Program NameElapsed Time(in m inutes)

Total NumberOf Requests

 Advanced SupplyChain Planning

MSCREFMV Refresh Materialized Views .23 2

 Application ObjectLibrary

FDFCMPA Compile All Flexfields 344.25 1

 Application ObjectLibrary FDFCMPN Compile Non-Compiled Flexfields 232.55 12

 Application ObjectLibrary

FDFVGN Flexfield View Generator 1.18 774

 Application ObjectLibrary

FNDFIXRN Fix FND role names 1.68 1

 Application ObjectLibrary

FNDSCMPI Compile Security .08 1

 Applications DBA ADDRPOBS Drop obsolete products schema 2.3 66

 Asia/PacificLocalizations

JAINDFOBSIndia - Remove India Localization contextsfrom 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

Page 26: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 26/43

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_CLEANUPRemove obsolete sessions fromfnd_sessions

.23 1

IncentiveCompensation

CNUPGPMTCLWRKER Upgrade payment commission lines - Worker 95.6 900

IncentiveCompensation

CNUPGPMTCOMMTRXMGRUpgrade commissions and transactions for

 AutoUpgrade or AutoPatch - Manager101.82 30

IncentiveCompensation CNUPGPMTREASONSMGR

Upgrade payment reason records to notes -Manager 106.53 30

IncentiveCompensation

CNUPGPMTREASONSWKRUpgrade payment reason records to notes -Worker

105.98 900

IncentiveCompensation

CNUPGPMTRXMGRUpgrade transactions for AutoUpgrade or

 AutoPatch46 30

IncentiveCompensation

CNUPGPMTRXWRKER Upgrade payment transactions - Worker 2.95 900

Incentive

Compensation CN_COLLECT_GEN Generate Collection Packages .03 1

Labor Distribution PSPERUPBPSP: Migrate to OAFramework EffortReporting

.25 1

LearningManagement

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

Page 27: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 27/43

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_INDEXKnowledge Management Solution IndexSynchronization

.43 1

Oracle Service CS_KB_SYNC_STATEMENTS_INDEXKnowledge Management Statement IndexSynchronization

.43 1

Oracle Service CS_SR_SYNC_TEXT_INDEXService Request: Synchronize Text IndexProgram

.27 1

Payables APWUPDSTUpdate Expense Status Code in Expense

Report Headers

91.08 1

Payables APWUPRD Upgrade Report Distr ibution 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 OKSLAUNCHKWFLaunch Process Workflow for existingService Contracts

109.23 30

Service Contracts OKS_REPROCESS_SUBREQUESTService Contracts Subrequest forReprocessing Rule Data

.02 2

Page 28: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 28/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

28 | P a g e  

Service Contracts REPROCESS_SYNC_RULE_DATAService Contracts Reprocess/SynchronizeRule 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 HumanResources

GHR_ELT_BEN_CONV Process Benefits Data Conversion 361.83 1

US Federal HumanResources

GHSUBBENCONVSub Process for Federal BenefitsConversion

.03 1

Page 29: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 29/43

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)

 App lies t o:

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

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

Page 30: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 30/43

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)

Page 31: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 31/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

31 | P a g e  

10161994, Inval id 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)

Page 32: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 32/43

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 hrglobaland then to run the R12 NLS patch in order to overwrite the base language TL rowswith 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.

Page 33: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 33/43

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 patchesthat 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 codeinformation, balances, balance classifications, etc. Without this you will miss bas ic entities such as the ‘Regular Salary’ and ‘Regu lar Wages’ elements.

To enable Count ry Legislat ion you need to register the country specific driver in your application. Once you have successfully installed OracleE-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

Page 34: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 34/43

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 Global 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]

Page 35: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 35/43

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) :

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

Page 36: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 36/43

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 

Page 37: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 37/43

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 hrglobal driver.

  Skip worker by using option 8

Page 38: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 38/43

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 ./adminmkdir ./admin/sqlmkdir ./admin/odfmkdir ./admin/templatemkdir ./admin/drivermkdir ./formsmkdir ./forms/USmkdir ./htmlmkdir ./libmkdir ./mdsmkdir ./mesgmkdir ./patchmkdir ./sqlmkdir ./binmkdir ./helpmkdir ./javamkdir ./logmkdir ./mediamkdir ./out

mkdir ./reportsmkdir ./reports/US

Page 39: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 39/43

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 ./adminmkdir ./admin/sqlmkdir ./admin/odfmkdir ./admin/templatemkdir ./admin/drivermkdir ./formsmkdir ./forms/USmkdir ./htmlmkdir ./libmkdir ./mds

mkdir ./mesgmkdir ./patchmkdir ./sqlmkdir ./binmkdir ./helpmkdir ./javamkdir ./logmkdir ./mediamkdir ./outmkdir ./reportsmkdir ./reports/US

Page 40: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 40/43

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 ./mesgmkdir ./patch

mkdir ./sql

mkdir ./bin

mkdir ./help

mkdir ./java

mkdir ./log

mkdir ./media

mkdir ./out

mkdir ./reports

mkdir ./reports/US

Page 41: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 41/43

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

Page 42: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 42/43

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 Upgradeo 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 DBo 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.

Page 43: 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

8/16/2019 60436749 OracleAppsUpgradeFrom11!5!10 2to12!1!1DBA Tasks

http://slidepdf.com/reader/full/60436749-oracleappsupgradefrom11510-2to1211dba-tasks 43/43

Oracle Apps 11.5.10.2 Upgrade to 12.1.1 2011

43 | P a g e  

Profile which change default pdf/rtf of CM

 Assign a value to the pro file "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'.