Upgrade R11.5.10.2 To R12.1.1
Upgrade R11.5.10.2 To R12.1.1
Upgrade R11.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
Note: I have not upgraded the individual products upgrade, the focus
was to upgrade from 11i to R12.1.1
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
export PATCH_TOP=/home/applmgr/patches
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 - 7197489
su - oracle
mkdir -p $ORACLE_HOME/appsutil/admin
-- cd /home/applmgr/patches/7197489
cp adgrants.sql $ORACLE_HOME/appsutil/admin
The installation will install R12.1.1 applications components and the database
home
Check whether you are able to connect 10g database from R12.1.1 application tier
su – applmgrr12
cd /d04/oracle/R12/apps/apps_st/appl
. ./ APPSVIS_linux1.env
sqlplus apps/apps
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
Wonderful ☺
So far so good
Upgrade 10.2.0.3 to 10.2.0.4 – Note - 362203.1
n Shutdown the database and listener
n Upgrade code tree using patch - p6810189_10204_Linux-x86.zip
n Manual upgrade the database
unzip p6810189_10204_Linux-x86.zip
cd Disk1
./runInstaller
n Start the manual upgrade of the database
cd $ORACLE_HOME/bin
startup upgrade
cd $ORACLE_HOME/rdbms/admin
cat > r.sql
SPOOL upgrade.log
@catupgrd.sql
SPOOL OFF
SHUTDOWN IMMEDIATE
STARTUP
@utlrp.sql
sqlplus “/as sysdba”
@r.sql
OPatch succeeded.
n Shutdown database
cd /d04/oracle/patches/6521934
cd 6600051
/d04/oracle/VIS/visdb/10.2.0/OPatch/opatch appl
Apply patch 7441176
cd 7441176
cd 7496636
cd 7497678
cd 4247037
cd 6084656
cd 6870937
Cd 6991626
cd $AU_TOP/patch/115/driver
adpatch options=nocopyportion,nogenerateportion
Monitor the patch session using adctrl
adctrl
Faced Issue
Added datafile –
cd $AU_TOP/patch/115/driver
adpatch options=nocopyportion,nogenerateportion
for details.
AutoPatch is complete.