EBS DB 11.1.0.7 Upgrade To 12c 12.1.0.2
EBS DB 11.1.0.7 Upgrade To 12c 12.1.0.2
EBS DB 11.1.0.7 Upgrade To 12c 12.1.0.2
DBUA upgrade GUI has changed a bit from 12c release. The changes are as follows:
The utlu121s.sql script has been replaced with the preupgrd.sql script. The new Pre-Upgrade
Information Tool provides fix-up scripts(preupgrade_fixups.sql) and postupgrade_fixups.sql with the
ability to fix and address any issues identified by the pre-upgrade check script. The preupgrd.sql has to
be copied to any temp directory and has to be ran from the db to be upgraded.
The previous upgrade script catupgrd.sql has been replaced with the new catctl.pl Parallel Upgrade
Utility script which provides the ability to run upgrade scripts in parallel taking advantage of spare CPU
capacity which can potentially reduce upgrade times
If Flashback database is enabled, DBUA creates a guaranteed restore point which can be used in case we
have a failure in the upgrade process. We can also restart DBUA to recover from any failures during the
upgrade.
We can now use an existing RMAN backup which DBUA is aware of in case we need to restore the
database to the pre-12c upgrade state
Oracle XML DB is now a mandatory component of the Oracle 12c database and is automatically installed
as part of the upgrade process if not found.
Existing EBS-12.1.1
Existing DB-11.1.0.7
Target DB-12.1.0.2
Direct upgrades to 12c are possible from existing databases with versions 10.2.0.5+, 11.1.0.7+, or
release 11.2.0.2+. Upgrades from other versions are supported only via intermediate upgrades to a
supported upgrade version.
Patch 8796558
Patch 12923944
Patch 13473483
Step 2: Applied the patch 6400501 to iAS 10.1.2 applications tier home
Step 5:Create an env file and export Oracle SID, Oracle Home, Path which should be pointing to new
Oracle home
Patch 19382851
Patch 19393542
Patch 19627012
Patch 19649152
Patch 20204035
Patch 22731026
On each application tier server node, shut down all server processes or services. On the
database tier server node, shut down the Oracle Net or Net8 database listener in the old Oracle
home.
In the existing Database 11.1.0.7 init file, comment the LOCAL_LISTENER parameter.
Prepare to Upgrade
Step 11. Run the pre upgrade tool. To run it, copy the preupgrade scripts from 12c to some temp
directory. Then from the old 11.1.0.7 this script has to be run.
/u02/r12/database/db/11.1.0
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @preupgrd.sql;
The following are *** ERROR LEVEL CONDITIONS *** that must be addressed
Fixup Summary:
Fixup Summary:
************************************************************
************************************************************
Step 12
DBUA execution.
Step 13.
SQL> SELECT comp_name || ' : '||version|| ' : '|| status FROM dba_registry;
COMP_NAME||':'||VERSION||':'||STATUS
--------------------
READ WRITE
Step 14: Create a listener file or copy it from old oracle home and edit it.
Connected to:
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
---------------------------------------------------
Commit complete.
Use SQL*Plus to connect to the database as SYSDBA and run the following
command:
$ sqlplus "/ as sysdba"
SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public');
Note: Make sure that you have at least 1.5 GB of free default temporary tablespace
If you plan to change the database port, host, SID, or database name parameter on the
database server, you must also update AutoConfig on the database tier and deregister
the current database server node.
Use SQL*Plus to connect to the database as APPS and run the following command:
$ sqlplus apps/[APPS password]
SQL> exec fnd_conc_clone.setup_clean;
Implement autoconfig
[applmgr@ebs1 bin]$
Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME>
cd<RDBMS ORACLE_HOME>
unzip -o appsutil.zip
copy the old jre from old oracle home to new oracle home/appsutil directory.
APPS Password: **
/u03/r12/database/db/12.1.0.2/db_home/appsutil/log/adbldxml_01032155.log
Could not Connect to the Database with the above parameters, Please answer the Questions below
/u03/r12/database/db/12.1.0.2/db_home/appsutil/PROD_rac1.xml
[oracle@rac1 bin]$
Run autoconfig now
Classpath :
:/u03/r12/database/db/12.1.0.2/db_home/jdbc/lib/ojdbc6.jar:/u03/r12/database/db/12.1.0.2/db_hom
e/appsutil/java/xmlparserv2.jar:/u03/r12/database/db/12.1.0.2/db_home/appsutil/java:/u03/r12/data
base/db/12.1.0.2/db_home/jlib/netcfg.jar
[oracle@rac1 bin]$
If you upgraded from an RDBMS version prior to 12c, use SQL*Plus to connect to the
database as SYSDBA and run the $ORACLE_HOME/rdbms/admin/catmgd.sql script. This
creates the new MGDSYS schema.
$ sqlplus "/ as sysdba" @?/rdbms/admin/catmgd.sql