Top Banner
ORACLE DATABASE UPGRADE Confidential Document P a g e 1 of 100 http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038 Contact No: 9849813679, 9966404646 Mail:[email protected] APPLIES TO: ORACLE DATABASE UPGRADE SUMMARY This article explains how to upgrade the Oracle Database from 10.2.0.4 to 11.2.0.2 AUTHOR: K.VENKATA RAMU. COMPANY: WILLSYS INFOSYSTEMS Pvt. Ltd., CREATED ON: 17 th Feb 2015.
100

ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

Jul 30, 2018

Download

Documents

nguyenkhuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 1 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

APPLIES TO:

ORACLE DATABASE UPGRADE

SUMMARY

This article explains how to upgrade the Oracle Database from 10.2.0.4 to 11.2.0.2

AUTHOR:

K.VENKATA RAMU.

COMPANY:

WILLSYS INFOSYSTEMS Pvt. Ltd.,

CREATED ON:

17th Feb 2015.

Page 2: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 2 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Upgrade from Oracle 10.2.0.4 to 11.2.0.2:

1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2. Oracle 11.2 is only supported for SAP systems with Extension Kernel or higher 3. The Tools that are used OUI, MOptach(Opatch), SQLPLus and Oracle DBUA 4. Oracle 11.2 is released and certified for SAP products running with SAP basis 640 and above and SAP Kernel release 640_ext2 and above. 5. Read the Document based on Note 169706.1. from Oracle metalink 6. Read and download all the notes along with patches referenced in 1431800 7. BR tools Support the Oracle database 11g R2.Down load the Kernel Executables from market Place(SAPEXE.SAR and SAPEXEDB.SAR)

Page 3: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 3 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 4: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 4 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

8. Enter the following commands:

Echo $ORACLE_BASE

Cd $ORACLE_BASE

touch $ORACLE_BASE/write_test

rm $ORACLE_BASE/write_test

Page 5: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 5 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 6: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 6 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 7: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 7 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Create 112_32 folder in “stage and SID” by using mkdir

]# mkdir 112_32

Page 8: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 8 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 9: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 9 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 10: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 10 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Give the permissions and owner ships to 112_32

Page 11: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 11 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Go to oracle upgrade folder and copy the 2 SAR files (OR111264.SAR AND OR211264.SAR) in

to /oracle/stage/112_32 by using the command

cp –pr OR111264.SAR OR211264.SAR /oracle/stage/112_32

Page 12: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 12 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Run xhost +

Page 13: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 13 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Go to su – orasid

>cd /oracle/stage/112_32/

>ll

Uncar the files by using the command

>SAPCAR –xvf OR111264.SAR

Page 14: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 14 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

>SAPCAR –xvf OR211264.SAR

Page 15: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 15 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After extracting database folder will be created in stage/112_32

Page 16: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 16 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 17: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 17 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After extracting run the RUNINSTALLER_CHECK to check the runtime variables and software.

Go to the path >cd /oracle/stage/112_32/database/SAP/

>./RUNINSTALLER_CHECK

Page 18: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 18 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 19: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 19 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Fix & Check Again

Run the script in new terminal

Page 20: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 20 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 21: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 21 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After run the script click on OK

Page 22: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 22 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 23: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 23 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Ignore All

Page 24: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 24 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Close button

Page 25: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 25 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Run the ./RUNINSTALLER

>./RUNINSTALLER

Page 26: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 26 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 27: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 27 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Click on Yes

Page 28: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 28 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 29: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 29 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Page 30: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 30 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Page 31: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 31 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click Next

Page 32: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 32 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Select the language and click on Next

Page 33: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 33 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 34: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 34 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Specify the installation location and click on Next

Page 35: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 35 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 36: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 36 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Page 37: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 37 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 38: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 38 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Select the check box Ignore All

Page 39: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 39 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Yes

Page 40: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 40 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 41: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 41 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Install

Page 42: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 42 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 43: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 43 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Run the script in new terminal

Page 44: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 44 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 45: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 45 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After executing the script click on OK

Page 46: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 46 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

And then click on Close

Page 47: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 47 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 48: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 48 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Select the version by using the command select version from v$instance;

SQL> select version from v$instance;

Page 49: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 49 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 50: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 50 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Before upgrading stop all the services

Login to sapuser (su - sidadm) stop all the services.

]# su – sidadm

>stopsap

Stop the listener and database by loging into oracle user

Page 51: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 51 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

]# su – orasid

>sqlplus / as sysdba

SQL>shut immediate

SQL>exit

>lsnrctl stop

Copy the listener.ora and sqlnet.ora from 102_32 to112_32

Page 52: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 52 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

]# cd /oracle/SID/102_32/network/admin/

admin]# cp –pr listener.ora sqlnet.ora /oracle/SID/112_32/network/admin/

Page 53: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 53 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Edit listener.ora

>vi listener.ora

Change 102_32 to 112_32

Page 54: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 54 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Add the line ADR_BASE_LISTENER = /oracle/SID/saptrace at last

Page 55: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 55 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 56: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 56 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After that save and quit

Page 57: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 57 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 58: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 58 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 59: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 59 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 60: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 60 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Edit the oratab

>vi /etc/oratab

Page 61: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 61 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Remove # at $ORACLE_SID:$ORACLE_HOME:<N/Y>:

Page 62: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 62 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Add one line SID:/oracle/SID/102_32:N aftert $ORACLE_SID:$ORACLE_HOME:<N/Y>:

Page 63: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 63 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After that save and quit

Page 64: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 64 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Set the environment variables

Page 65: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 65 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Run dbua

Page 66: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 66 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

>./dbua

Click on Next

Page 67: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 67 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click Next

Page 68: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 68 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Yes

Page 69: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 69 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Page 70: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 70 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Page 71: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 71 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click Next

Page 72: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 72 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Next

Page 73: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 73 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Continue

Page 74: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 74 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Provide the passwords

Page 75: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 75 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Yes

Click on Finish

Page 76: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 76 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 77: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 77 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on OK

Click on OK

Page 78: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 78 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 79: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 79 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Click on Close

Go to /oracle/SID and run .dbenv_hostname.csh to change 102_32 to 112_32

Page 80: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 80 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

>cd /oracle/SID

>vi .dbenv_hostname.csh

Page 81: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 81 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 82: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 82 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Execute :%s/102_32/112_32/g to change 102_32 to 112_32

And then save

Page 83: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 83 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 84: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 84 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Execute ln –s libnnz11.so libnnz10.so to create symbolic link

Page 85: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 85 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 86: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 86 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After that open the new terminal and then start the listener

Page 87: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 87 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

And then login in to the sql check the version

Page 88: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 88 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 89: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 89 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After that go to the path /oracle/SID/112_32/dbs/ edit the file initSID.ora

At last add 2 lines OS_authent_prefix = OPS$ and remote_os_authent = true

Page 90: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 90 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 91: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 91 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Move spfileSID.ora to spfileSID.ora_old by using the command mv spfileSID.ora

spfileSID.ora_old

> mv spfileSID.ora spfileSID.ora_old

Select the status of database by loging in to the SQL

Shut down the database by using the command shut immediate

Page 92: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 92 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After shut down the database create spfile by using the command

SQL>create spfile from pfile

After that start the data base by using the command startup

Page 93: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 93 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Check the version by using the command

SQL>select version from v$instance;

Page 94: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 94 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After that start the sap

Page 95: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 95 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

We can also check the version by login in to the gui

Go to system-����status

Page 96: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 96 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

After upgrading brtools will not be work

Page 97: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 97 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

To work brtools go to /oracle/SID/102_32/dbs copy the initSID.sap and paste in to

/oracle/SID/112_32/dbs

Page 98: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 98 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 99: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 99 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Page 100: ORACLE VERSION UPGRADE 2 - … · Upgrade from Oracle 10.2.0.4 to 11.2.0.2: 1. Ensure that Oracle is at least 10.2.0.4/10.2.0.5 version as SAP Does not support other versions 2.

ORACLE DATABASE UPGRADE Confidential Document

P a g e 100 of 100

http://sapway.com and http://willsys.net are sponsored sites of Willsys Infosystems

Flat -101-104, Rama Residency, S.R. Nagar, Hyderabad-500038

Contact No: 9849813679, 9966404646 Mail:[email protected]

Related Content:

http://service.sap.com

http://support.sap.com

www.help.sap.com

www.sdn.sap.com/irj/sdn/index.

Disclaimer and Liability Notice:

WILLSYS will not be held liable for any damages caused by using or misusing the

information, code or methods suggested in this document, and anyone using these methods

does so at his/her own risk.

WILLSYS offers no guarantees and assumes no responsibility or liability of any type

with respect to the content of this technical article or code sample, including any liability

resulting from incompatibility between the content within this document and the materials

and services offered by WILLSYS. You agree that you will not hold, or seek to hold,

WILLSYS responsible or liable with respect to the content of this document.