Upgrade EBS DB from 11g to 12c.

18
Introduction:- Oracle E-Business suite R12.2 is shipped with Oracle Database Version 11.2.0.3. There will be always a requirement for upgrading your database to latest available release for fixing bug. APPS Host Details diperpapp.etabadul.com DB Host Details diperpdb.etabadul.com EBS Version R12.2.4 Database Version 11.2.0.3 Steps for Upgrade:- 1. Install 12cR1 RDBMS Software 2. Create /nls/data/9idata directory 3. Install all pre-requisite Database and Application patches. 4. Use DBUA for upgrading database. Install 12cR1 RDBMS Software.

Transcript of Upgrade EBS DB from 11g to 12c.

Page 1: Upgrade EBS DB from 11g to 12c.

Introduction:-

Oracle E-Business suite R12.2 is shipped with Oracle Database Version 11.2.0.3. There will be always a requirement for upgrading your database to latest available release for fixing bug.

APPS Host Details diperpapp.etabadul.comDB Host Details diperpdb.etabadul.com

EBS Version R12.2.4

Database Version 11.2.0.3

Steps for Upgrade:-

1. Install 12cR1 RDBMS Software2. Create /nls/data/9idata directory3. Install all pre-requisite Database and Application patches.4. Use DBUA for upgrading database.

Install 12cR1 RDBMS Software.

Page 2: Upgrade EBS DB from 11g to 12c.

This step for oracle support security update, it’s optional.

Page 3: Upgrade EBS DB from 11g to 12c.

Check the database security update now, we choose to skip software updates.

Page 4: Upgrade EBS DB from 11g to 12c.

First Option because our development setup include single node.

Page 5: Upgrade EBS DB from 11g to 12c.

Choose product language by default English

Page 6: Upgrade EBS DB from 11g to 12c.

Database Edition Type, our license is Enterprise edition

Page 7: Upgrade EBS DB from 11g to 12c.

Setup Path for database

Page 8: Upgrade EBS DB from 11g to 12c.

From the previous page press next and the installation will start, we only installing binary

Create /nls/data/9idata directory

Execute "cr9idata.pl" script from 12c Home ($ORACLE_HOME/nls/data/old/cr9idata.pl). Configure "ORA_NLS10" Environment variable with directory created in 12c Home.

perl $ORACLE_HOME/nls/data/old/cr9idata.pl

Install all pre-requisite Database and Application patches

Database Patches:The following RDBMS patches need to be Installed as a pre-requisites before upgrading the Database.

Patches Linux X86-84 Bit - Version 12.1.0.1.0

17695298 14237793, 16989137, 17184721, 17448638, 17600719, 17801303, 17892268, 17912217, 17973865, 17973883, 18288676, 18419770, 18604144, 18614015, 18665660, 18685209, 19466632, 19603897 ,19393542

One example how run the patch:-

Page 9: Upgrade EBS DB from 11g to 12c.

export ORACLE_HOME=/u01/app/product/deverp/12.1.0export PATH=$ORACLE_HOME/bin:$PATHexport PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH

Opatch apply <Patch_number_from the above_table>

Use DBUA for upgrading database

Page 10: Upgrade EBS DB from 11g to 12c.

Since we will upgrade DB we will choose “Upgrade Oracle Database”

Our target is 12c home and the source is 11g, the source database and listener should be up

Page 11: Upgrade EBS DB from 11g to 12c.

Check pre-requisites for 12c

Page 12: Upgrade EBS DB from 11g to 12c.

Compile object after the upgrade is done

Page 13: Upgrade EBS DB from 11g to 12c.

Moving Data file to new location

Page 14: Upgrade EBS DB from 11g to 12c.

Take RMAN Backup or having your own backup

Page 15: Upgrade EBS DB from 11g to 12c.

Summary page that include all source database object, should be valid.

Upgrade in progress

After the upgrade check database version:-

Page 16: Upgrade EBS DB from 11g to 12c.