Upgrade Oracle Applications from 11.5.10.2 to R12.1.1 System Overview Version 11.5.10.

2 Oracle Applications Vision Instance OS: Redhat Linux 4 update 5 Type: Single Node instance Applications OS User 11i : applmgr Applications OS User R12 : applmgrr12 Installed directory: /d04/oracle/VIS Database OS User : oracle 10g Database Home = /d04/oracle/VIS/visdb/10.2.0 Instance SID: VIS Host: linux1 Task – To Upgrade Oracle Applications 11.5.10.2 to R12.1.1 Note: Please use vision instance as it is already Multi-Org, Multi-Org is mandatory in R12.1.1 Note: I have not upgraded the individual products upgrade, the focus was to upgrade from 11i to R12.1.1 Note: The below upgrade is only for testing purposes, not to be implemented in production servers, please do refer metalink for more information Note: let me know if any steps are not correct or doesn’t makes sense, so that I can correct the same Upgrade your database to 10.2.0.3, follow the below link http://www.appsdba.info/docs/oracle_apps/upgrades/upgrade_db_92 06_10203.pdf

We are following Path B

Apply 11i.AD.I.6 (conditional) - 6502082 adadmin defaultsfile=$APPL_TOP/admin/$TWO_TASK/adalldefaults1.txt logfile=adadmin.log menu_option=ENABLE_MAINT_MODE workers=4 export PATCH_TOP=/home/applmgr/patches adpatch defaultsfile=$APPL_TOP/admin/$TWO_TASK/adalldefaults1.txt logfile=u6502082.log patchtop=$PATCH_TOP/6502082 driver=u6502082.drv workers=8 Apply TUMS utility (recommended) 7705743 export PATCH_TOP=/home/applmgr/patches adpatch defaultsfile=$APPL_TOP/admin/$TWO_TASK/adalldefaults1.txt logfile=u7705743.log patchtop=$PATCH_TOP/7705743 driver=u7705743.drv workers=8 -- post patch steps cd $AD_TOP/patch/115/sql sqlplus apps/apps @adtums.sql /usr/tmp cd /usr/tmp -rw-r--r-- 1 oracle dba 1751 Jun 28 01:51 tumsr12.html -- Check the TUMS report for things that can be ignored

Apply Run AD preparation scripts .txt cd $HOME/patches/7197489 alter database datafile '/d04/oracle/VIS/visdata/sys7.sql will be created -.apply patch 7197489 -.7197489 -. sqlplus apps/apps @adgncons.sql su .sql apps apps Enter value for 1: apps Enter value for 2: apps Connected.open and modify the tablespace locations sqlplus <SYSTEM>/<SYSTEM PASSWORD> @adcrtbsp.patch has 3 queries.sql $ORACLE_HOME/appsutil/admin sqlplus "/as sysdba" @adgrants applsys . adcrtbsp.dbf' resize 3000m.cd /home/applmgr/patches/7197489 cp adgrants.oracle mkdir -p $ORACLE_HOME/appsutil/admin -. read the README.

1.Add a new user for R12.1.Run rapidwiz to create R12.1 code tree The installation will install R12.1 Select upgrade actions screen select create upgrade file system enter the parameters required to set up your new environment run rapid install Here are the screen shots for the same .1.1.1 owner useradd applmgrr12 -g dba Run Rapid Install -.Prepare for upgrade -.1 applications components and the database home Select upgrade to Oracle Applications R12.

.

.

.

2 .5.Select the same port used in 11.10.

.

.

.

.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2. Oracle. OLAP and Data Mining options SQL> Wonderful ☺ So far so good .0 .0 .1 application tier su – applmgrr12 cd /d04/oracle/R12/apps/apps_st/appl .0.0./ APPSVIS_linux1.1. .Production With the Partitioning. 2005.5.Production on Mon Jun 28 04:40:54 2010 Copyright (c) 1982.1.The installation will install the file system and 11g Oracle Home will be created Check whether you are able to connect 10g database from R12.3.env sqlplus apps/apps [applmgrr12@linux1 appl]$ sqlplus apps/apps SQL*Plus: Release 10. All rights reserved.

3 to 10.p6810189_10204_Linux-x86.Upgrade 10.362203./runInstaller .4 – Note .zip cd Disk1 .2.0.1 Shutdown the database and listener Upgrade code tree using patch .2.0.zip Manual upgrade the database lsnrctl stop VIS unzip p6810189_10204_Linux-x86.

.

.

.

.

Start the manual upgrade of the database cd $ORACLE_HOME/bin sqlplus “/as sysdba” startup upgrade cd $ORACLE_HOME/rdbms/admin cat > r.sql SPOOL OFF SHUTDOWN IMMEDIATE STARTUP @utlrp.sql SPOOL upgrade.sql .log @catupgrd.

2.0]$ cd OPatch [oracle@linux1 OPatch]$ .2.sqlplus “/as sysdba” @r.zip [oracle@linux1 10.0]$ mv OPatch OPatch_old [oracle@linux1 10.zip .9 OPatch succeeded.0]$ cp /d04/oracle/patches/p6880880_102000_LINUX.0/OPatch/opatch appl .0]$ unzip p6880880_102000_LINUX.2.9 OPatch Version: 10.2.0.4.4. Apply patch 6521934 Shutdown database cd /d04/oracle/patches/6521934 [oracle@linux1 6521934]$ /d04/oracle/VIS/visdb/10.0/OPatch/opatch apply Apply patch 6600051 cd 6600051 /d04/oracle/VIS/visdb/10.2./opatch version Invoking OPatch 10.2.sql Apply additional 10.4 RDBMS patches 6880880 or the latest OPatch version [oracle@linux1 ~]$ cd $ORACLE_HOME [oracle@linux1 10. [oracle@linux1 10.2.2.0.0.2.

.2.2.0/OPatch/opatch apply Apply patch 7496636 cd 7496636 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.0/OPatch/opatch apply Apply patch 6084656 cd 6084656 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.5753621.2.2.0/OPatch/opatch apply Apply Oracle Receivables patch .2.0/OPatch/opatch apply Apply patch 7014646 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.Apply patch 7441176 cd 7441176 [oracle@linux1 7441176]$ /d04/oracle/VIS/visdb/10.0/OPatch/opatch apply Apply patch 6870937 cd 6870937 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.2.0/OPatch/opatch apply Cd 6991626 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.2.0/OPatch/opatch apply Apply patch 7497678 cd 7497678 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.2.0/OPatch/opatch apply Apply patch 4247037 cd 4247037 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.

sql SQL> shutdown normal.sql. Update init. Note that adstats. SQL> startup. SQL> exit.ora) to add the new values Parameters O7_DICTIONARY_ACCESSIBILITY open_cursors session_cached_cursors db_block_buffers sga_target plsql_optimize_level plsql_code_type plsql_native_library_dir plsql_native_library_subdir_count _kks_use_mutex_pin Old Value TRUE 500 200 20000 n/a n/a n/a n/a n/a n/a New Value FALSE 600 500 Commented 2GB 2 native /usr/tmp 149 TRUE Start the database . Use SQL*Plus to connect to the database as SYSDBA and use the following commands to restart the database in restricted mode. SQL> startup restrict. and restart the database in normal mode: $ sqlplus "/ as sysdba" SQL> shutdown normal.396009.Gather statistics for SYS schema Copy $APPL_TOP/admin/adstats.ora with new parameters (required) .sql from the administration server node to the database server node.1 Change your initialization (initVIS. run adstats. SQL> @adstats.sql has to be run in restricted mode.

1.txt logfile=7461070.log patchtop=/software/8576725 driver=u8576725.drv workers=8 Run the American English upgrade patch driver (required) 6678700 cd $AU_TOP/patch/115/driver adpatch options=nocopyportion.nogenerateportion .1 upgrade driver (required) -7461070 adpatch defaultsfile=$APPL_TOP/admin/$TWO_TASK/adalldefaults.log patchtop=$PATCH_TOP/7461070 driver=u7461070.drv Apply AD 12.Ensure that Maintenance Mode is enabled adpatch workers=6 defaultsfile=$APPL_TOP/admin/$TWO_TASK/adalldefaults.txt logfile=8576725.

Monitor the patch session using adctrl adctrl .

0/patch/115/driver/u6678700. Re-start the patch – cd $AU_TOP/patch/115/driver adpatch options=nocopyportion.nogenerateportion Your previous AutoPatch session did not run to completion..drv) Reading release list save file. (The answer was: /d04/oracle/R12/apps/apps_st/appl/au/12.0. . Do you wish to continue with your previous AutoPatch session [Yes] ? Already asked for the name of the patch directory.0/patch/115/driver) Already asked for the name of the patch driver file..0. (The answer was: /d04/oracle/R12/apps/apps_st/appl/au/12.Faced Issue Added datafile – alter tablespace APPS_TS_TX_DATA add datafile '/d04/oracle/VIS/visdata/tx_data12.dbf' size 200m autoextend on next 200m maxsize 2000m.

0/sql/adtpurge.lst . Open the Job Timing Report vi /d04/oracle/R12/apps/apps_st/appl/admin/VIS/out/adt26936. sqlplus -s APPS/***** @/d04/oracle/R12/apps/apps_st/appl/ad/12.lgi Errors and warnings are listed in the log file /d04/oracle/R12/apps/apps_st/appl/admin/VIS/log/adpatch2. Purging timing information for prior sessions.log You should check the file /d04/oracle/R12/apps/apps_st/appl/admin/VIS/out/adt26936.lst for details.cd $APPL_TOP/admin/VIS/log tail -100 adpatch2. AutoPatch may have written informational messages to the file /d04/oracle/R12/apps/apps_st/appl/admin/VIS/log/adpatch2.0.log and in other log files in the same directory.sql 10 1000 Done purging timing information for prior sessions. AutoPatch is complete.

log menu_option=DISABLE_MAINT_MODE workers=4 Configure and start server processes (required) – RunInstaller .It took around 40 hours to finish the patch Disable Maintenance Mode adadmin defaultsfile=$APPL_TOP/admin/$TWO_TASK/adalldefaults.txt logfile=adadmin.

.

.

.

This error (Login Page) is common. you can stop and start the services Connect to the application – .

.

Excellent ☺ Run a concurrent request .

1) (Doc ID 735276.1) .Interoperability Notes EBS R12 with Database 11gR2 Interoperability Notes E-Business Suite R12 with Oracle Database 11gR1 (11.1.1.1) (Doc ID 1058763.1 Upgrade (Doc ID 761570.0) Database Preparation Guidelines for an E-Business Suite Release 12.

Sign up to vote on this title
UsefulNot useful