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.
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)
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]
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
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]
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]
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
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]
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]
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
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
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 +
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
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
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
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]
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
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]
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
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]
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
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]
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
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
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
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]
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
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]
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
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
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
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
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]
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
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]
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
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]
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
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
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]
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
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]
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
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]
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
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
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]
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;
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]
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
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
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/
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
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
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]
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
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]
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]
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]
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
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>:
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>:
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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]
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
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
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]
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
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]
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
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]
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
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
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]
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
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]
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
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
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;
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
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
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
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
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]
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]
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.
Top Related