Oracle 11g Upgrade
Oracle 11g Upgrade
By Jaleel Ahmed
Page | 1
ORACLE 11g Upgrade
Pre-requisites
Note 1430669 - BRTools support for Oracle 11g
Note 1449619 - BRTools cannot be started on Oracle 11g
Note 1428529 - Corrections in BRTools Version 7.20
Note 1431793 - Oracle 11.2.0 Upgrade Scripts
Note 819829 - Oracle Instant Client Installation and Configuration on UNIX
Note 1431794 - Oracle 11.2.0 Instant Client
Note 1020260 - Delivery of Oracle statistics (Oracle 10g, 11g)
850306 – Oracle Critical Patch Update Program
Note 134592 – Update SAPDBA Role
Note 834917 – SAPCONN Role
Note 306408 – OPatch Patch installation
Note 905279 - DBUA/Upgrade to 10g: upgrade.xml is not a valid XML file.
Note 1417124 - Error ORA-20001 in statistics class CL_SDB_ORA_UPDATE_STATS
Note 1416108 - Error in consistency check of tables (transaction SE14)
Note 1414733 - Missing double quotation marks in range partitioning
Note 1433301 - Error w dictionary-managed tablespaces and compressing LOBs
Note 1550133 - Oracle Automatic Storage Management (ASM)
RAR 51040092_2 ORACLE RDBMS 11.2.0.2 SOL. SPARC 64 2 of 6 Info 976563 13.01.2011
RAR 51040092_3 ORACLE RDBMS 11.2.0.2 SOL. SPARC 64 3 of 6 Info 976563 13.01.2011
RAR 51040092_4 ORACLE RDBMS 11.2.0.2 SOL. SPARC 64 4 of 6 Info 976563 13.01.2011
RAR 51040092_5 ORACLE RDBMS 11.2.0.2 SOL. SPARC 64 5 of 6 Info 976563 13.01.2011
RAR 51040092_6 ORACLE RDBMS 11.2.0.2 SOL. SPARC 64 6 of 6 Info 456225 13.01.2011
Solaris x64:
EXE 51040093_1 ORACLE RDBMS 11.2.0.2 SOLARIS x64 1 of 5 Info 976563 13.01.2011
RAR 51040093_2 ORACLE RDBMS 11.2.0.2 SOLARIS x64 2 of 5 Info 976563 13.01.2011
RAR 51040093_3 ORACLE RDBMS 11.2.0.2 SOLARIS x64 3 of 5 Info 976563 13.01.2011
Page | 3
ORACLE 11g Upgrade
RAR 51040093_4 ORACLE RDBMS 11.2.0.2 SOLARIS x64 4 of 5 Info 976563 13.01.2011
RAR 51040093_5 ORACLE RDBMS 11.2.0.2 SOLARIS x64 5 of 5 Info 309236 13.01.2011
Look in to SAP Note 1431794 - Oracle 11.2.0: Instant Client, before working with
oracle client
Oracle instant clients version(s) 10.2.0.4.0 V3, 10.2.0.4.0 V4, 10.2.0.4 V5 and above are
currently supported for SAP environments with Oracle Database Release 11.2.0.1 and
11.2.0.2.
Oracle 11.2 Instant Client is not certified for use in an SAP environment. Currently the
Oracle 11.2 Client certification is planned for end of February 2011.
51039412 ORACLE Client V5 10.2.0.4
7. Prerequisites
Checking prerequisites for the OUI:
a. cd /oracle/stage/112_64/database
./runInstaller –executeSysPrereqs
Page | 5
ORACLE 11g Upgrade
Now come back to pop window and click on ok.
Oracle 11g binaries installation completed.
13. Create links with shared library, to make BRTools 7.20 work with 11g
cd oracle/SID/112_64/lib
Ln –s libnnz11.so libnnz10.so
Page | 7
ORACLE 11g Upgrade
SQL> conn /as sysdba
Connected.
SQL> spool /oracle/stage/log/pre_upgrade.log
SQL> @/oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade/utlu112i.sql
SQL> spool off
Page | 8
ORACLE 11g Upgrade
Restart database..
BRTools upgraded.
Page | 9
ORACLE 11g Upgrade
4. Gather Oracle optimizer statistics by executing the following commands as the
ora<dbsid> user:
brconnect -u / -c -f stats -t system_stats
brconnect -u / -c -f stats -t oradict_stats
6. Now try logging with user = schema owner (SAPR3) with default password SAP.
If log on was not successful then change password using brtools or brconnect
command.
Brconnect –u system/<syst_pwd> -f chpass –o sap<sid> -p <new_sap_pwd>
Check and verify logon is successful
SQL> conn
Enter user-name: sapr3
Enter password:
7. Check if all links are loading.
skzddb35:oracab 54% cd /sapmnt/CAB/exe
skzddb35:oracab 55% ldd dboraslib.so
8. Check sap connectivity
skzddb35:cabadm 54% R3trans –d
This is R3trans version 6.14 (release 700 - 12.01.10 - 10:02:00).
R3trans finished (0000).
9. Update oracle client on app servers
10. Look for short dumps..
Page | 10