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

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

1 applications components and the database home Select upgrade to Oracle Applications R12.Run rapidwiz to create R12.1 code tree The installation will install R12.Prepare for upgrade -.1 owner useradd applmgrr12 -g dba Run Rapid Install -.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.1.Add a new user for R12.

.

.

.

5.10.Select the same port used in 11.2 .

.

.

.

.

Connected to: Oracle Database 10g Enterprise Edition Release 10.0.1 application tier su – applmgrr12 cd /d04/oracle/R12/apps/apps_st/appl .0 .0 . OLAP and Data Mining options SQL> Wonderful ☺ So far so good .1. All rights reserved.3. .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.1.5.0. 2005.Production With the Partitioning. Oracle.env sqlplus apps/apps [applmgrr12@linux1 appl]$ sqlplus apps/apps SQL*Plus: Release 10.2./ APPSVIS_linux1.Production on Mon Jun 28 04:40:54 2010 Copyright (c) 1982.

4 – Note .1 Shutdown the database and listener Upgrade code tree using patch ./runInstaller .0.Upgrade 10.0.zip cd Disk1 .2.zip Manual upgrade the database lsnrctl stop VIS unzip p6810189_10204_Linux-x86.2.362203.3 to 10.p6810189_10204_Linux-x86.

.

.

.

.

sql .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.log @catupgrd.

Apply patch 6521934 Shutdown database cd /d04/oracle/patches/6521934 [oracle@linux1 6521934]$ /d04/oracle/VIS/visdb/10.0/OPatch/opatch appl .0/OPatch/opatch apply Apply patch 6600051 cd 6600051 /d04/oracle/VIS/visdb/10.0]$ cp /d04/oracle/patches/p6880880_102000_LINUX.0.4 RDBMS patches 6880880 or the latest OPatch version [oracle@linux1 ~]$ cd $ORACLE_HOME [oracle@linux1 10.2.zip .0.9 OPatch succeeded.sql Apply additional 10.2.9 OPatch Version: 10.zip [oracle@linux1 10.2.0]$ cd OPatch [oracle@linux1 OPatch]$ ./opatch version Invoking OPatch 10.2.0.2.sqlplus “/as sysdba” @r. [oracle@linux1 10.0]$ mv OPatch OPatch_old [oracle@linux1 10.2.2.2.4.0]$ unzip p6880880_102000_LINUX.4.2.

0/OPatch/opatch apply Apply patch 4247037 cd 4247037 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10. .0/OPatch/opatch apply Apply patch 7497678 cd 7497678 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.2.2.0/OPatch/opatch apply Apply patch 7014646 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.2.0/OPatch/opatch apply Apply patch 7496636 cd 7496636 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.2.2.2.2.0/OPatch/opatch apply Apply patch 6084656 cd 6084656 [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.0/OPatch/opatch apply Cd 6991626 [oracle@linux1 7496636]$ /d04/oracle/VIS/visdb/10.0/OPatch/opatch apply Apply Oracle Receivables patch .2.5753621.

Note that adstats. Update init. and restart the database in normal mode: $ sqlplus "/ as sysdba" SQL> shutdown normal.sql has to be run in restricted mode. SQL> startup. SQL> exit. Use SQL*Plus to connect to the database as SYSDBA and use the following commands to restart the database in restricted mode.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 .sql.Gather statistics for SYS schema Copy $APPL_TOP/admin/adstats.1 Change your initialization (initVIS.ora with new parameters (required) .sql from the administration server node to the database server node. SQL> startup restrict.sql SQL> shutdown normal.396009. run adstats. SQL> @adstats.

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

Monitor the patch session using adctrl adctrl .

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

Open the Job Timing Report vi /d04/oracle/R12/apps/apps_st/appl/admin/VIS/out/adt26936. Purging timing information for prior sessions.log and in other log files in the same directory.log You should check the file /d04/oracle/R12/apps/apps_st/appl/admin/VIS/out/adt26936.0/sql/adtpurge.lst .0.sql 10 1000 Done purging timing information for prior sessions. AutoPatch is complete. 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.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.lst for details.

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

.

.

.

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

.

Excellent ☺ Run a concurrent request .

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

Sign up to vote on this title
UsefulNot useful