Вы находитесь на странице: 1из 43

Products

Products
Industries
Industries
Support
Support
Training
Training
Community
Community
Developer
Developer
Partner
PartnerAboutAbout  

Home / Community / Blogs + Actions

Oracle Upgrade 11G to 12C


December 23, 2014 | 5,111 Views |

Brindavan Mookaiah
more by this author

Oracle Database

share 0 share 0 tweet share 0

Follow RSS

Oracle Upgrade 11G to 12C


Summary:-
This document contains the steps that how to do the oracle upgrade 11 G to 12C.
Author: Brindavan Mookaiah
Designation: SAP BASIS Consultant

PDF generated automatically by the PDFmyURL HTML to PDF API


Note: The steps are only suitable for NON SAP Oracle Upgrade.
For SAP oracle upgrade 11g to 12 c on AIX. kindly find the following Link SAP Oracle
upgrade 11G to 12C on AIX

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

Introduction:-
The oracle release and years
Oracle Release 2
1. 11.2.0.1.0 (August 2009 -GA)
2. 11.2.0.2.0 (November 2010)
3. 11.2.0.3.0 (September 2011)
4. 11.2.0.4.0 (August 2013)

Oracle 12c Release 1


1. 12.1.0.1.0 (June 2013 – GA)
PDF generated automatically by the PDFmyURL HTML to PDF API
2. 12.1.0.1.1 (October 2013) (PSU)
3. 12.1.0.1.2 (January 2014) (PSU)

Oracle Database

Direct upgrade 10.2.0.5.0/11.1.0.7.0/11.2.0.2.0 upgrade to 12.1.0.1.0

. 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

PDF generated automatically by the PDFmyURL HTML to PDF API


Oracle Database Version: Oracle Database 11gR2 (11.2.0.2.0) (64-bit)

Operating System: Oracle Enterprise SUSE Linux

1) Check the release and version

2) check the oratab

3) check the oraInventory


PDF generated automatically by the PDFmyURL HTML to PDF API
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

PDF generated automatically by the PDFmyURL HTML to PDF API


7) set the new ORACLE_HOME

hostname> export ORACLE_HOME=oracle/SID/12.1.0

8) Go to the 12c media directory and run the command

oracle&hostname> ./runInstaller

PDF generated automatically by the PDFmyURL HTML to PDF API


Click Next

Click “Next” and chose “Skip software updates”.

PDF generated automatically by the PDFmyURL HTML to PDF API


Click “Next” and chose “Skip software updates”.

PDF generated automatically by the PDFmyURL HTML to PDF API


Click “Next” and select “Upgrade an existing database”. It automatically launch DBUA to upgrade the
databases.

PDF generated automatically by the PDFmyURL HTML to PDF API


Select the Language eg ” English”

PDF generated automatically by the PDFmyURL HTML to PDF API


Select Enterprise edition and click “Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


Click “Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


Click “Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


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

PDF generated automatically by the PDFmyURL HTML to PDF API


Click “Install”

PDF generated automatically by the PDFmyURL HTML to PDF API


PDF generated automatically by the PDFmyURL HTML to PDF API
PDF generated automatically by the PDFmyURL HTML to PDF API
Click ” Next”

Click ” Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


Click ” Next” ignore and continue

PDF generated automatically by the PDFmyURL HTML to PDF API


Click ” Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


Click ” Next”:

PDF generated automatically by the PDFmyURL HTML to PDF API


select “configure Enterprise Manger and Click ” Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


Click ” Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


Click ” Next”

select ” I have my own backup ” and Click ” Next”

PDF generated automatically by the PDFmyURL HTML to PDF API


click ” Finish”

PDF generated automatically by the PDFmyURL HTML to PDF API


PDF generated automatically by the PDFmyURL HTML to PDF API
PDF generated automatically by the PDFmyURL HTML to PDF API
If you would like to restore the database to be fall-back to previous version then click on
restore to revert back.

PDF generated automatically by the PDFmyURL HTML to PDF API


Well the oracle database upgrade completed successfully.

SQL> select * from v$version;

—————————————————————————- ———-
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 – 64bit Production 0
PL/SQL Release 12.1.0.1.0 – Production 0
CORE 12.1.0.1.0 Production 0
TNS for Linux: Version 12.1.0.1.0 – Production 0
NLSRTL Version 12.1.0.1.0 – Production 0

PDF generated automatically by the PDFmyURL HTML to PDF API


All steps are completed.

Alert Moderator

24 Comments
You must be Logged on to comment or reply to a post.

S BASIS

December 24, 2014 at 4:56 am

hello..

Excellent doc…Great…Better if u share errors,issue you faced during upgrade..

PDF generated automatically by the PDFmyURL HTML to PDF API


Regards

S.Basis

like (0)

Brindavan Mookaiah Post author

December 24, 2014 at 6:08 am

Hi,

Thanks…

will share it soon..

like (0)

Ismail Mirza

January 29, 2015 at 5:29 pm

Hi S Basis,

issues for 11g to 12c Upgrade are as follows

1) oracle is not started with <SIDADM> , we have to start manully .

PDF generated automatically by the PDFmyURL HTML to PDF API


2) you have to upgrade kernel 721 other wise brtool was not support for 12C.

3) you have to create a symbolic link for new oracle home and deinstall the old oracle home.

4)copy old home init<SID>.ora file to new oracle home path oracle/SID/112_64/dbs for (unix/Linux).

5)Copy old listener.ora file to new oracle home.

like (0)

GIDEON NATHANIEL

December 30, 2014 at 6:00 am

Nice document.

like (0)

Brindavan Mookaiah Post author

January 2, 2015 at 1:44 pm

Hi Nathaniel,

Thanks for your comments…

like (0)

PDF generated automatically by the PDFmyURL HTML to PDF API


Henrik Dittmar

January 2, 2015 at 7:59 am

Hi,

thanks for sharing your list. Did you come accross some hic-ups? Find the Oracle upgrade docu here:

https://docs.oracle.com/database/121/nav/portal_11.htm

like (0)

Brindavan Mookaiah Post author

January 2, 2015 at 12:47 pm

Hi Henrik,

Thanks for your comments and sharing the link…

Regards,

Brindavan

like (0)

PDF generated automatically by the PDFmyURL HTML to PDF API


Valerio Cicchiello

January 4, 2015 at 9:31 am

Hello Brindavan,

Oracle 12 is not yet officially released by SAP for productive systems (as far as I know). I think you should write this
information in your document for now.

Best Regards,

Valerio

like (0)

Brindavan Mookaiah Post author

January 4, 2015 at 9:56 am

HI Cicchiello,

Thanks foryour comments…yes I know this information that why I mentioned only oracle upgrade 11G To
12C.

Thanks,

Brindavan

like (0)

PDF generated automatically by the PDFmyURL HTML to PDF API


Fidel Vales

January 4, 2015 at 11:51 am

Hi,

I think you have not understood the comment from Valerio.

CURRENTLY SAP DOES NOT SUPPORT ORACLE 12.

This is NOT mentioned in your document.

SAP has NOT released any UPGRADE documentation.

This is NOT mentioned in your document.

This document HAS NOTHING valuable from SAP Oracle Database point of view and it
can/will cause confusion if you do NOT mention anything as people will NOT read the
OFFICIAL documentation when released, will follow your document, skip steps required by
SAP, open “incidents” and get the “nice answer” => “you have not followed a supported
upgrade, please, restore backup and start again”.

Therefore, I strongly recommend that you mention that this document can be used to
upgrade NON SAP databases until SAP releases its official document.

like (0)

Brindavan Mookaiah Post author

January 4, 2015 at 2:38 pm

Hi Fidel/Valerio,

Thanks for your comments. I have updated the information in the document that
PDF generated automatically by the PDFmyURL HTML to PDF API
the steps are suitable for only NON SAP oracle.

like (0)

Srinivasan Vinayagam

January 5, 2015 at 9:40 am

Hi Brindavan,

The Oracle Home path is changed. What about old oracle path and
directory?

Regards,

V Srinivasan

like (0)

Brindavan Mookaiah Post author

January 5, 2015 at 11:59 am

Hi Srinivasan,

The old oracle path and directory can delete. Because already new
oracle installed and upgraded by this steps. kindly let me know if you
want any other details

PDF generated automatically by the PDFmyURL HTML to PDF API


Thanks,

Brindavan.

like (0)

Srinivasan Vinayagam

January 6, 2015 at 2:27 pm

Hi Brindavan,

Thank You.

Once Oracle upgrade completed..How we restore the backup.

Regards,

V Srinivasan

like (0)

Brindavan Mookaiah Post author

January 6, 2015 at 2:34 pm

Hi ,

As per my understanding for you question about the backup of data

PDF generated automatically by the PDFmyURL HTML to PDF API


.During upgrade only new binaries file will placed not the data.

You can restore the backup as same procedure you followed


previously.

Thanks

Brindavan

like (0)

Ismail Mirza

January 29, 2015 at 5:07 pm

Hi shrinivasan,

You have to create a symbolic link for new oracle home (Unix/Linux)
and old one just deinstall it.

like (0)

Brindavan Mookaiah Post author

April 24, 2015 at 7:11 am

Hi,

Just sharing the information…..


PDF generated automatically by the PDFmyURL HTML to PDF API
Now oracle12c has been certified by SAP!!!!

213307 9 – Ora c le D a t a ba se 12c : I nt e gra tion in SAP e nvironme nt

Oracle Database 12c (incl. RDBMS 12c, Grid Infrastructure 12c and Oracle RAC 12c) is certified
for SAP NetWeaver based SAP products starting March 31st, 2015. The minimum Oracle version
certified is 12.1.0.2 with applied initial 12.1.0.2 SAP Bundle Patch (SBP), 12.1.0.2.2.

At least SAP Kernel version 7.21_EXT is required for Oracle 12c

Thanks,

Brindavan

like (0)

Janos Mucsi-Besze

January 10, 2015 at 7:34 am

Hi.

Nice document. But one realyl important thing to remember is, that in SAP the software owner of Oracle SW is
ora<sid>. Except in RAC,EXADATA,ASM or in Oracle Engineered Systems. This means SAP customers using ora<sid>
user as SW owner, have to migrate the Oracle SW to ‘oracle’ user, which is not so easy. But SAP will provide a tool
that supports this process.

like (0)

PDF generated automatically by the PDFmyURL HTML to PDF API


Fidel Vales

April 24, 2015 at 12:50 pm

Hi Brindavan,

Would you mind to put the document the mentioned note and a link to the official SAP-Oracle Upgrade guide?

Thanks

like (0)

Siddhesh Ghag

April 29, 2015 at 8:19 am

Hello Brindavan,

Under which circumstances would you need this blog/document ?

Regards,

Siddhesh

like (0)

Brindavan Mookaiah Post author

April 29, 2015 at 9:27 am


PDF generated automatically by the PDFmyURL HTML to PDF API
Hello Siddesh,

This information might be helpful who is going to perform oracle upgrade, but it seem that this document
is not reached your knowledge. will try to produce a good document in future.

Thanks for you comments….

like (0)

Siddhesh Ghag

April 29, 2015 at 10:42 am

Hello Brindavan,

Apologies, I think you misunderstood me.

I think I should have asked the question in bit more detail.

I believe you wrote the blog, when Oracle 12c was still awaiting certification for usage with
SAP Application, so consultants who were interested in experimenting with an upgrade to
latest version would have found this pretty useful.

However, Oracle 12c is now certified to be used with SAP and the standard Oracle Upgrade
guide from SAP for SAP databases is out ( and I see that you have included here too).

So my question was in which circumstances will the readers use this procedure? Non-SAP

PDF generated automatically by the PDFmyURL HTML to PDF API


Oracle upgrades are covered by Oracle documentation anyways.

You might want to modify this blog and focus on specific issues/features that you would like
the readers to take note of.

Regards,

Siddhesh

like (0)

Brindavan Mookaiah Post author

April 29, 2015 at 11:37 am

Hello Siddesh,

Now I got your point, I think better I will modify the document very soon….

Thanks,

Brindavan

like (0)

Brindavan Mookaiah Post author

April 29, 2015 at 12:05 pm

Hello Siddesh,
PDF generated automatically by the PDFmyURL HTML to PDF API
This document will be on SAP on oracle blog will update.. Let me know you concern on this to be better
view.

Thanks,

Brindavan

like (0)

Share & Follow Privacy Terms of Use Legal Disclosure Copyright Trademark Sitemap Newsletter

PDF generated automatically by the PDFmyURL HTML to PDF API

Вам также может понравиться