You are on page 1of 22

Steps to follow


1) Backup Oracle database and profile

2) Take full offline or online backup

3) Stop the database

3) Stop listener

4) Change ORACLE_HOME environment variable in the bash profile of “oracle” user

5) Check the version SQ> Select instance_name,host_name,version,status from V$INSTANCE;

6) Check the components version SQL> Select from comp_name, version, status from dba_registry ORDER BY status;

7) Run the installer 12c

8) Pre-upgrade

9) Upgrade the 11G to 12C

10) Post upgrade


The oracle release and years

Oracle Release 2

1. (August 2009 -GA)

2. (November 2010)

3. (September 2011)

4. (August 2013)

Oracle 12c Release 1

1. (June 2013 - GA)

2. (October 2013) (PSU)

3. (January 2014) (PSU)

Oracle Database

Direct upgrade upgrade to

. In -Place Upgrade -> Install Binaries in same ORACLE_HOME

. Out-of-Place Upgrade --> Install binaries in new ORACLE_HOME

Upgrade suing DBUA or Manual

Indirect Upgrade

. Migrate using Data pump utility

. Transportable Table-space

. Golden Gate Replication

There are different ways of oracle upgrading

1) Database Upgrade Assistant (DBUA)

2) Manual Upgrade

3) Transportable Tablespaces

4) Datapump export/import

5) Oracle Streams

6) Oracle GoldenGate

Here we are going to use

Oracle Database Version:

Oracle Database 11gR2 ( (64-bit)

Operating System:

Oracle Enterprise SUSE Linux

1) Check the release and version

2) check the oratab

3) check the oraInventory 4) stop the database & stop the listener oracle&hostname > sys /as sysdba SQL> shutdown immediate. oracle& hostanme> lsnrctl LSNRCTL> stop .

5) Check the version 6) Check the components 7) set the new ORACLE_HOME hostname> export ORACLE_HOME=oracle/SID/12./runInstaller .1.0 8) Go to the 12c media directory and run the command oracle&hostname> .

.Click Next Click "Next" and chose "Skip software updates".

.Click "Next" and chose "Skip software updates".

Select the Language eg " English" . It automatically launch DBUA to upgrade the databases.Click "Next" and select "Upgrade an existing database".

Select Enterprise edition and click "Next" Click "Next" .

Click "Next" .

In here we are ignored and click " Next" .Fix all the warnings are resolved before proceeding with the next step.

Click "Install" .

Click " Next" .

Click " Next" .

Click " Next" ignore and continue Click " Next" .

Click " Next": select "configure Enterprise Manger and Click " Next" .

Click " Next" Click " Next" .

select " I have my own backup " and Click " Next" click " Finish" .


---------- . Well the oracle database upgrade completed successfully. SQL> select * from v$version.If you would like to restore the database to be fall-back to previous version then click on restore to revert back. ---------------------------------------------------------------------------.

1. . cannot be directly upgraded to Oracle Database 12c 2.1. Release 12. Your DB should have minimum release Oracle Database 10. Only Oracle Database 12c Release 1 (12.Oracle Database 12c Enterprise Edition Release 12.Production 0 NLSRTL Version 12.64bit Production 0 PL/SQL Release 12.1.Production 0 Prerequisites to upgrade to ORACLE 12c 1.0 . . is supported for SAP.1.0.1 is not supported for SAP.0.5 or higher to upgrade to Oracle Database 12c.0.0 .Production 0 CORE 12.1.0 .0.0.0. any other release less than Oracle Database 10.0.0 Production 0 TNS for Linux: Version 12.

Certification pending.2.2x. Certification pending. If you upgrade your Oracle Database to 12c or if you install a new SAP system with Oracle Database 12c. 11.3x for AS-JAVA and AS-ABAP+JAVA (Java Stack and Double Stack) only Oracle Instant Client version 11. It is recommended to install the current version of SAP BR*Tools Release 7. ILM/ADO Functionality is currently not yet supported for SAP 7.0. Create a new user oracle at OS level with same groups as assigned to user ora and migrate the DB to oracle user.0. 4.1.Migrating Software Owner to 'oracle'. For SAP products based on SAP NetWeaver 7. SAP LVM is currently not supported in an Oracle 12c based SAP NetWeaver environment.2.3. SAP note 2133079 12.4 will end in January 2016 8. Free Extended Support for Instant Client version 11. Reference SAP note: 1915317 .0. Additional Restriction for SAP NetWeaver AS-JAVA . In-Memory Option is currently not yet supported for SAP 5.2. you must not upgrade to or install Oracle Instant Client version 12. 10. 6. Multitenant Option is currently not yet supported for SAP.40 before upgrading the database to 12c.4 is currently supported. Create a new OS group oinstall 9. SAP note 2133079 Upgrade checklist . SAP MDM is currently not supported in an Oracle 12c based SAP NetWeaver environment. 7.

When upgrading from Oracle 11g to 12c.2 and that you have a supported version of your operating system. which you can find in SAP Note 819829.2. In addition. For AS Java or AS ABAP + Java based systems. Oracle 12. see also SAP Note 1777021.40.0. For more information. 2. 7.0. Oracle Database 12c Release 1 (12. you can perform this step before starting the actual database upgrade.1. Update BR*Tools to the version recommended for Oracle 12c. check the SAP requirements for your application or product in the Product Availability Matrix (PAM) at support. In addition.0.2. and SAP kernel release 7.0. including the recommended patches. When upgrading from Oracle 11g to 12c. see Installation of Oracle Database Software 3. make sure that you have installed the required support packages for the SAP kernel supported for Oracle 12c. install the version of the Oracle instant client that is currently recommended for Oracle 12c.4. you can perform this step before starting the actual database upgrade.21 EXT and above.4 or higher. 6. which is BR*Tools 7. Configure secure storage in file system (SSFS) for ABAP. consider the dependencies on the SAP kernel version.1) is only released and certified for SAP products running with SAP BASIS 7. 5.00 and above.1. Install the Oracle database software version 12. Migrate the Oracle software from user ora to user oracle. 1541 Views Tags: oracle12c . When upgrading from Oracle 11g to 12c. For more information.1. you can perform this step before starting the actual database upgrade.1 is only released and certified for Oracle client software version 11. Make sure that you have installed the SAP kernel supported with Oracle 12.2. If your Oracle instant client is lower than 11. otherwise the SAP System cannot start because it cannot connect to the database.