SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Downloaden Sie, um offline zu lesen
ORACLE 11g Upgrade


 




                     ORACLE 11g Upgrade
           Documentation based on Solaris10




             Oracle 11G Upgrade Documentation

                                    By Jaleel Ahmed

                                                      
                                             Page | 1  
 
ORACLE 11g Upgrade


 

Pre-requisites

     1. Need to apply patch set 10.2.0.4 if you are on 10.2.0.2
     2. Implement sap notes 1416108, 1414733, 1433301 and 1417124 if running with
        patch levels mentioned below

         SAP_BASIS 7.00 SP21
         SAP_BASIS 7.01 SP06
         SAP_BASIS 7.02 SP02
         SAP_BASIS 7.10 SP10
         SAP_BASIS 7.11 SP05
         SAP_BASIS 7.20 SP02


Required Patch Downloads

     01. Download 11ginstall_11202_rev016.zip as from sap note 1524205.
     02. Download p9584028_112020_Generic.zip (Pre and post upgrade scripts) from sap Note
         1431793
     03. Download SAP Bundle Patch 11.2.0.2.1 SAP_112021_201102_SOLX8664.zip or
         SAP_112021_201102_SOL64.zip as per sap note 1503759 you must use OPatch version
         11.2.0.1.3, MOPatch version 2.1.7 to install this SBP
     04. Download the latest OPatch, MOPatch, follow sap note 1027012


Notes to be refered before Upgrade
     Note 1431800 - Oracle 11.2.0 Central Technical Note
     Note 1398634 - Oracle database 11g Integration in SAP environment
     Note 1454627 - Additional Info Corrections to Oracle 11g Upgrade Guide
     Note 1524205 - Oracle 11.2.0 Database Software Installation
     Note 1431796 - Oracle 11.2.0 Troubleshooting the Software Installation
     Note 1431797 - Oracle 11.2.0 Troubleshooting the Database Upgrade
     Note 1431798 - Oracle 11.2.0 Database Parameter Settings
     Note 1503709 - Oracle 11.2.0 Patches Patch collections for 11.2.0.2
     Note 850306 - Oracle Critical Patch Update Program
     Note 1557318 - CPU patches January 2011 (Oracle Critical Update program)
     Note 1027012 - MOPatch - Install Multiple Oracle Patches in One Run
     Note 1477787 - Optimizer merge fix for Oracle 11.2.0.1
                                                                                                  
                                                                                         Page | 2  
 
ORACLE 11g Upgrade


 
    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)


Required CD’s / DVDs Patch Downloads
    Oracle 11g R2 (11.2.0.2) is available as direct installation
    Go to https://websmp201.sap‐ag.de/SWCENTER‐3PMAIN
           Solaris sparc:
           EXE     51040092_1      ORACLE RDBMS 11.2.0.2 SOL. SPARC 64 1 of 6   Info   976563   13.01.2011

           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




                  Oracle client for 11g database

                   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


                  BRTools for 11g database
                  BR*Tools 7.20 patch 12
                   DBATL720O10_12-20005274.SAR         DBATOOLS Package for Oracle 10g and 11g


                   BRTools 7.20 is specially designed for full support to oracle 11g
                  Look into sap notes: 1428529, 1430669

Preparation Steps (Database Should be Up and Running)
1. Login as oraSID user
2. Check permissions for /oracle filesystem. This users should have Read,Write and Delete
    permissions to this folder and all sub-folders
         a. Test steps
         b. Touch /oracle/write_file
         c. rm /oracle/write_file
3. Create /oracle/stage/112_64 directory and provide 777 permissions to this directory.
4. Extract the Oracle software
         a. cd /oracle/stage/112_64
         b. Move oracle media to this location and extract *.SAR files
             SAPCAR –xvf OR111264.SAR
         c. This creates folder called database and copies all the content.
             /oracle/stage/112_64/database
                                                                                                               
                                                                                                      Page | 4  
 
ORACLE 11g Upgrade


 

5. Check the oraInventory directory
       a. Back oracle inventory, if files exists
There will not be a file at this point in time

6. Create new oracle home directory in /oracle/SID
       a. mkdir /oracle/SID/112_64
          Provide permissions 755
          Ownership orasid:dba

7.     Prerequisites
         Checking prerequisites for the OUI:
       a. cd /oracle/stage/112_64/database
           ./runInstaller –executeSysPrereqs

         Checking operating system requirements (release, patches, kernel parameters):
       a. cd /oracle/stage/112_64/database
          ./runInstaller –executePrereqs

8.     setting env variables
        1.   Make sure ORA_NLS10 is not set
        2.   Set env ORACLE_HOME = /oracle/SID/112_64
        3.   Set env ORACLE_HOME_SRC = /oracle/SID/102_64
        4.   Verify ORACLE_BASE, ORACLE_SID, SAPDATA_HOME
        5.   Set $ORACLE_HOME/lib:$LD_LIBRARY_PATH
        6.   Set
             PATH=/oracle/SID/112_64/bin:/usr/java14_64/bin:.:/home/sidadm:/usr/sap/SID/SYS/e
             xe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/
             bin:/usr/local/bin

9.     Oracle 11g binaries installation:
             cd /oracle/stage/112_64/database/SAP
             ./RUNINSTALLER

             At the end of installation it will pop a window asking to root.sh script
             located in /oracle/SID/112_64/root.sh

             Log on with root user
             Go to directory /oracle/SID/112_64
             Run ./root.sh

                                                                                                        
                                                                                               Page | 5  
 
ORACLE 11g Upgrade


 
              Now come back to pop window and click on ok.
              Oracle 11g binaries installation completed.

    10. Copying Pre and post upgrade scripts to /oracle/<DBSID>/112_64
        skzddb35:oracab 5%cd /oracle/<DBSID>/112_64
        skzddb35:oracab 6%ls
        sap
        skzddb35:oracab 7%mv       sap sap_orig

        Copy scripts to /oracle/<DBSID>/112_64

        skzddb35:oracab 9% Unzip p9584028_112020_Generic.zip
        skzddb35:oracab 10% ls
        p9584028_112020_Generic
        skzddb35:oracab 11% cd p9584028_112020_Generic/9584028
        skzddb35:oracab 12% ls
         etc files README.txt
        skzddb35:oracab 12% cd files
        skzddb35:oracab 13%ls
        sap
        skzddb35:oracab 13%cp –rpf sap /oracle/CAB/112_64/
        Here new scripts are replaced with old scripts

    11. Oracle 11g patch set:
          Currently 11.2.0.2 is the latest and is available as direct installation, as of now no patch set is
        required. Look in market place for new oracle patch set, if available.

12. Installing the Required SAP Bundle Patch:
         Currently SAP Bundle Patch 11.2.0.2.1 is available
         SAP_112021_201102_SOLX8664.zip or SAP_112021_201102_SOL64.zip,   implement same using latest MOPatch


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


14.     Copy SQL*Net Files
        Copy listener.ora, sqlnet.ora, and tnsnames.ora from /oracle/SID/102_64/network/admin
        Directory to /oracle/SID/112_64/network/admin

         Add the following entry to the file listener.ora:
         ADR_BASE_LISTENER = /oracle/DBSID/saptrace
                                                                                                                  
                                                                                                         Page | 6  
 
ORACLE 11g Upgrade


 

15.   Update oracle client
      Create 10x_64 directory, permissions 755, ownership oracle:dba
      Uncar OCL10264.SAR and move the contents to oracle/client/10x_64 directory

      51039412 ORACLE Client V5 10.2.0.4

15.   Updating env profiles
      Log on sidadm user
      Make changes to .sapenv_hostname.csh
      setenv LD_LIBRARY_PATH /usr/sap/SID/SYS/exe/run:/oracle/client/10x_64/instantclient

      Make changes to .dbenv_hostname.csh
      setenv ORACLE_HOME /oracle/CAB/112_64
      setenv ORA_NLS10 /oracle/CAB/112_64/nls/data

16.   Before starting oracle 10g upgrade (Database upgrade)
      Verify and confirm below environment variables points to 11g directories.
      Note: env will be different for both <SIDADM> and <ORASID> users.
      a. ORACLE_HOME = /ORACLE/<DBSID>/112_64
      b. Path
      c. ORA_NLS10
      d. LD_LIBRARY_PATH


      e. Copy listener.ora, tnsnames.ora, sqlnet.ora from /oracle/CAB/102_64/network/admin to
      /oracle/CAB/112_64/network/admin
      And make changes in those files accordingly to 10g directories.

      f. Verify /var/opt/oracle/oratab file.
      There should be a entry as SID:/oracle/SID/102_64:N, it should be with 102_64 directory.
      Never make changes to oratab file starting actual database upgrade..


17.   Running the Pre-Database Upgrade Scripts
      cd /oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade

      SQL> conn /as sysdba
      Connected.
      SQL> spool /oracle/stage/log/pre_upgrade_status.log
      SQL> @/oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade/ pre_upgrade_status.sql
      SQL> spool off

      SQL> conn /as sysdba
      Connected.
      SQL> spool /oracle/stage/log/pre_upgrade_tasks.log
      SQL> @/oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade/ pre_upgrade_tasks.sql
      SQL> spool off

                                                                                                    
                                                                                           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

     SQL> conn /as sysdba
     Connected.
     SQL> spool /oracle/stage/log/pre_upgrade_checks.log
     SQL> @/oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade/ pre_upgrade_checks.sql
     SQL> spool off


18. Run Database upgrade assistant
          Check all env variables before start, check oratab
          Log on with orasid user

          skzddb35:oracab 12% ./dbua.sap.sh –q

     ./dbua.sap.sh –q         In query mode certain parameter files (init<DBSID>.sap,
                              listener.ora,
                              etc.) are copied from the source Oracle Home to the
                              target Oracle
                              Home.

     Database structure is updated.

     SQL> select version from v$instance;
     VERSION
     -----------------
     11.2.0.2.0

     SQL> select comp_id, version, status from dba_registry;
     COMP_ID VERSION STATUS
     ------------------------------ ------------------------------ -----------
     CATALOG 11.2.0.2.0 VALID
     CATPROC 11.2.0.2.0 VALID

19. Checking the Upgraded Database

     SQL> conn /as sysdba
     Connected.
     SQL> spool /oracle/stage/log/POST_UPGRADE_STATUS.log
     SQL>@/oracle/<DBSID>/112_64/sap/ora_upgrade/post_upgrade/post_upgrade_status.sql
     SQL> spool off


                                                                                          
                                                                                 Page | 8  
 
ORACLE 11g Upgrade


 

    SQL> conn /as sysdba
    Connected.
    SQL> spool /oracle/stage/log/POST_UPGRADE_CHECKS.log
    SQL>@/oracle/<DBSID>/112_64/sap/ora_upgrade/post_upgrade/post_upgrade_checks.sql
    SQL> spool off


    20. Post upgrade steps
    1. SQL> alter system set compatible=’11.2.0’ scope = spfile;
       System altered.

    Restart database..

    3. Upgrade BRTools with version 7.20 (BR*Tools 7.20 patch 12)
       Extract DBATL720O10_12-20005274.SAR
       and place in /sapmnt/SID/exe directory
       Run ./saproot.sh SID

       Check brtools owner and permissions in directory /sapmnt/SID/exe

       BRTools upgraded.

       skzddb35:oracab 31% brtools
       BR0651I BRTOOLS 7.20 (12)
       BR0280I BRTOOLS time stamp: 2011-02-11 09.03.04
       BR0656I Choice menu 1 - please make a selection
       -------------------------------------------------------------------------------
       BR*Tools main menu
       1 = Instance management
       2 - Space management
       3 - Segment management
       4 - Backup and database copy
       5 - Restore and recovery
       6 - Check and verification
       7 - Database statistics
       8 - Additional functions
       9 - Exit program



       Note: sapdba_role.sql, sapconn_role.sql are only required to run if your source
       database was 9.2.0.8




                                                                                                  
                                                                                         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



    5. Update the Oracle database statistics with BRCONNECT as follows:
       brconnect -c -u / -f stats -t all –f collect -p 4

    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  
 

Weitere ähnliche Inhalte

Was ist angesagt?

Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linuxUpgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linuxmaclean liu
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksMarkus Michalewicz
 
Best practices oracle_clusterware_session355_wp
Best practices oracle_clusterware_session355_wpBest practices oracle_clusterware_session355_wp
Best practices oracle_clusterware_session355_wpwardell henley
 
Install Solaris 11.1 on a Virtualbox VM
Install Solaris 11.1 on a Virtualbox VMInstall Solaris 11.1 on a Virtualbox VM
Install Solaris 11.1 on a Virtualbox VMLaurent Leturgez
 
Sfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_solSfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_solNovonil Choudhuri
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareUpgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareNikhil Kumar
 
Oracle ebs-r12-1-3installationlinux64bit
Oracle ebs-r12-1-3installationlinux64bitOracle ebs-r12-1-3installationlinux64bit
Oracle ebs-r12-1-3installationlinux64bitRavi Kumar Lanke
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard Fuad Arshad
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)K Kumar Guduru
 
Oracle 12c r1 installation on solaris 11.1
Oracle 12c r1 installation on solaris 11.1Oracle 12c r1 installation on solaris 11.1
Oracle 12c r1 installation on solaris 11.1Laurent Leturgez
 
Data Base Upgrade
Data Base UpgradeData Base Upgrade
Data Base Upgradeguest362312
 
Upgrade 11.2.0.1 rac db to 11.2.0.2 in linux
Upgrade 11.2.0.1 rac db to 11.2.0.2 in linuxUpgrade 11.2.0.1 rac db to 11.2.0.2 in linux
Upgrade 11.2.0.1 rac db to 11.2.0.2 in linuxmaclean liu
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in DataguardJason Arneil
 
Migrating from Single Instance to RAC Data guard
Migrating from Single Instance to RAC Data guard Migrating from Single Instance to RAC Data guard
Migrating from Single Instance to RAC Data guard Fuad Arshad
 
Oracle upgrade
Oracle upgradeOracle upgrade
Oracle upgradeRaj p
 
Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Markus Michalewicz
 

Was ist angesagt? (20)

Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linuxUpgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
 
Best practices oracle_clusterware_session355_wp
Best practices oracle_clusterware_session355_wpBest practices oracle_clusterware_session355_wp
Best practices oracle_clusterware_session355_wp
 
Install Solaris 11.1 on a Virtualbox VM
Install Solaris 11.1 on a Virtualbox VMInstall Solaris 11.1 on a Virtualbox VM
Install Solaris 11.1 on a Virtualbox VM
 
Sfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_solSfrac on oracle_vm_with_npiv_whitepaper_sol
Sfrac on oracle_vm_with_npiv_whitepaper_sol
 
141 Rac
141 Rac141 Rac
141 Rac
 
Hardening solaris
Hardening solarisHardening solaris
Hardening solaris
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareUpgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
 
Oracle ebs-r12-1-3installationlinux64bit
Oracle ebs-r12-1-3installationlinux64bitOracle ebs-r12-1-3installationlinux64bit
Oracle ebs-r12-1-3installationlinux64bit
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Oracle 12c r1 installation on solaris 11.1
Oracle 12c r1 installation on solaris 11.1Oracle 12c r1 installation on solaris 11.1
Oracle 12c r1 installation on solaris 11.1
 
Data Base Upgrade
Data Base UpgradeData Base Upgrade
Data Base Upgrade
 
Upgrade 11.2.0.1 rac db to 11.2.0.2 in linux
Upgrade 11.2.0.1 rac db to 11.2.0.2 in linuxUpgrade 11.2.0.1 rac db to 11.2.0.2 in linux
Upgrade 11.2.0.1 rac db to 11.2.0.2 in linux
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
 
Rac&asm
Rac&asmRac&asm
Rac&asm
 
Migrating from Single Instance to RAC Data guard
Migrating from Single Instance to RAC Data guard Migrating from Single Instance to RAC Data guard
Migrating from Single Instance to RAC Data guard
 
141 Pdfsam
141 Pdfsam141 Pdfsam
141 Pdfsam
 
Oracle upgrade
Oracle upgradeOracle upgrade
Oracle upgrade
 
Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13
 

Ähnlich wie Oracle-11g-upgrade

Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseOracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseMonowar Mukul
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响maclean liu
 
Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Osama Mustafa
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installationAmit Sharma
 
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Graciete Martins
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLErick Vidbaz
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradationinfluxbob
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorialKlausePaulino
 
Enable oracle database vault
Enable oracle database vaultEnable oracle database vault
Enable oracle database vaultOsama Mustafa
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Osama Mustafa
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014Philippe Fierens
 
Oracle 11g to 12c Upgrade With Data Guard and ASM
Oracle 11g to 12c  Upgrade With Data Guard and ASMOracle 11g to 12c  Upgrade With Data Guard and ASM
Oracle 11g to 12c Upgrade With Data Guard and ASMArun Sharma
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Markus Michalewicz
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Voeurng Sovann
 

Ähnlich wie Oracle-11g-upgrade (20)

Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseOracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create Database
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
 
Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c Upgrade Oracle Database to 12c
Upgrade Oracle Database to 12c
 
Oam install & config
Oam install & configOam install & config
Oam install & config
 
OAM Install & Config
OAM Install & ConfigOAM Install & Config
OAM Install & Config
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installation
 
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQL
 
12c installation
12c installation12c installation
12c installation
 
oracle upgradation
oracle upgradationoracle upgradation
oracle upgradation
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial
 
Enable oracle database vault
Enable oracle database vaultEnable oracle database vault
Enable oracle database vault
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
 
Oracle 11g to 12c Upgrade With Data Guard and ASM
Oracle 11g to 12c  Upgrade With Data Guard and ASMOracle 11g to 12c  Upgrade With Data Guard and ASM
Oracle 11g to 12c Upgrade With Data Guard and ASM
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
 
RAC 12c
RAC 12cRAC 12c
RAC 12c
 

Kürzlich hochgeladen

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 

Kürzlich hochgeladen (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 

Oracle-11g-upgrade

  • 1. ORACLE 11g Upgrade   ORACLE 11g Upgrade Documentation based on Solaris10 Oracle 11G Upgrade Documentation By Jaleel Ahmed   Page | 1    
  • 2. ORACLE 11g Upgrade   Pre-requisites 1. Need to apply patch set 10.2.0.4 if you are on 10.2.0.2 2. Implement sap notes 1416108, 1414733, 1433301 and 1417124 if running with patch levels mentioned below SAP_BASIS 7.00 SP21 SAP_BASIS 7.01 SP06 SAP_BASIS 7.02 SP02 SAP_BASIS 7.10 SP10 SAP_BASIS 7.11 SP05 SAP_BASIS 7.20 SP02 Required Patch Downloads 01. Download 11ginstall_11202_rev016.zip as from sap note 1524205. 02. Download p9584028_112020_Generic.zip (Pre and post upgrade scripts) from sap Note 1431793 03. Download SAP Bundle Patch 11.2.0.2.1 SAP_112021_201102_SOLX8664.zip or SAP_112021_201102_SOL64.zip as per sap note 1503759 you must use OPatch version 11.2.0.1.3, MOPatch version 2.1.7 to install this SBP 04. Download the latest OPatch, MOPatch, follow sap note 1027012 Notes to be refered before Upgrade Note 1431800 - Oracle 11.2.0 Central Technical Note Note 1398634 - Oracle database 11g Integration in SAP environment Note 1454627 - Additional Info Corrections to Oracle 11g Upgrade Guide Note 1524205 - Oracle 11.2.0 Database Software Installation Note 1431796 - Oracle 11.2.0 Troubleshooting the Software Installation Note 1431797 - Oracle 11.2.0 Troubleshooting the Database Upgrade Note 1431798 - Oracle 11.2.0 Database Parameter Settings Note 1503709 - Oracle 11.2.0 Patches Patch collections for 11.2.0.2 Note 850306 - Oracle Critical Patch Update Program Note 1557318 - CPU patches January 2011 (Oracle Critical Update program) Note 1027012 - MOPatch - Install Multiple Oracle Patches in One Run Note 1477787 - Optimizer merge fix for Oracle 11.2.0.1   Page | 2    
  • 3. ORACLE 11g Upgrade   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) Required CD’s / DVDs Patch Downloads Oracle 11g R2 (11.2.0.2) is available as direct installation Go to https://websmp201.sap‐ag.de/SWCENTER‐3PMAIN Solaris sparc: EXE 51040092_1 ORACLE RDBMS 11.2.0.2 SOL. SPARC 64 1 of 6 Info 976563 13.01.2011 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    
  • 4. 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 Oracle client for 11g database 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 BRTools for 11g database BR*Tools 7.20 patch 12 DBATL720O10_12-20005274.SAR DBATOOLS Package for Oracle 10g and 11g BRTools 7.20 is specially designed for full support to oracle 11g Look into sap notes: 1428529, 1430669 Preparation Steps (Database Should be Up and Running) 1. Login as oraSID user 2. Check permissions for /oracle filesystem. This users should have Read,Write and Delete permissions to this folder and all sub-folders a. Test steps b. Touch /oracle/write_file c. rm /oracle/write_file 3. Create /oracle/stage/112_64 directory and provide 777 permissions to this directory. 4. Extract the Oracle software a. cd /oracle/stage/112_64 b. Move oracle media to this location and extract *.SAR files SAPCAR –xvf OR111264.SAR c. This creates folder called database and copies all the content. /oracle/stage/112_64/database   Page | 4    
  • 5. ORACLE 11g Upgrade   5. Check the oraInventory directory a. Back oracle inventory, if files exists There will not be a file at this point in time 6. Create new oracle home directory in /oracle/SID a. mkdir /oracle/SID/112_64 Provide permissions 755 Ownership orasid:dba 7. Prerequisites Checking prerequisites for the OUI: a. cd /oracle/stage/112_64/database ./runInstaller –executeSysPrereqs Checking operating system requirements (release, patches, kernel parameters): a. cd /oracle/stage/112_64/database ./runInstaller –executePrereqs 8. setting env variables 1. Make sure ORA_NLS10 is not set 2. Set env ORACLE_HOME = /oracle/SID/112_64 3. Set env ORACLE_HOME_SRC = /oracle/SID/102_64 4. Verify ORACLE_BASE, ORACLE_SID, SAPDATA_HOME 5. Set $ORACLE_HOME/lib:$LD_LIBRARY_PATH 6. Set PATH=/oracle/SID/112_64/bin:/usr/java14_64/bin:.:/home/sidadm:/usr/sap/SID/SYS/e xe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/ bin:/usr/local/bin 9. Oracle 11g binaries installation: cd /oracle/stage/112_64/database/SAP ./RUNINSTALLER At the end of installation it will pop a window asking to root.sh script located in /oracle/SID/112_64/root.sh Log on with root user Go to directory /oracle/SID/112_64 Run ./root.sh   Page | 5    
  • 6. ORACLE 11g Upgrade   Now come back to pop window and click on ok. Oracle 11g binaries installation completed. 10. Copying Pre and post upgrade scripts to /oracle/<DBSID>/112_64 skzddb35:oracab 5%cd /oracle/<DBSID>/112_64 skzddb35:oracab 6%ls sap skzddb35:oracab 7%mv sap sap_orig Copy scripts to /oracle/<DBSID>/112_64 skzddb35:oracab 9% Unzip p9584028_112020_Generic.zip skzddb35:oracab 10% ls p9584028_112020_Generic skzddb35:oracab 11% cd p9584028_112020_Generic/9584028 skzddb35:oracab 12% ls etc files README.txt skzddb35:oracab 12% cd files skzddb35:oracab 13%ls sap skzddb35:oracab 13%cp –rpf sap /oracle/CAB/112_64/ Here new scripts are replaced with old scripts 11. Oracle 11g patch set: Currently 11.2.0.2 is the latest and is available as direct installation, as of now no patch set is required. Look in market place for new oracle patch set, if available. 12. Installing the Required SAP Bundle Patch: Currently SAP Bundle Patch 11.2.0.2.1 is available SAP_112021_201102_SOLX8664.zip or SAP_112021_201102_SOL64.zip, implement same using latest MOPatch 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 14. Copy SQL*Net Files Copy listener.ora, sqlnet.ora, and tnsnames.ora from /oracle/SID/102_64/network/admin Directory to /oracle/SID/112_64/network/admin Add the following entry to the file listener.ora: ADR_BASE_LISTENER = /oracle/DBSID/saptrace   Page | 6    
  • 7. ORACLE 11g Upgrade   15. Update oracle client Create 10x_64 directory, permissions 755, ownership oracle:dba Uncar OCL10264.SAR and move the contents to oracle/client/10x_64 directory 51039412 ORACLE Client V5 10.2.0.4 15. Updating env profiles Log on sidadm user Make changes to .sapenv_hostname.csh setenv LD_LIBRARY_PATH /usr/sap/SID/SYS/exe/run:/oracle/client/10x_64/instantclient Make changes to .dbenv_hostname.csh setenv ORACLE_HOME /oracle/CAB/112_64 setenv ORA_NLS10 /oracle/CAB/112_64/nls/data 16. Before starting oracle 10g upgrade (Database upgrade) Verify and confirm below environment variables points to 11g directories. Note: env will be different for both <SIDADM> and <ORASID> users. a. ORACLE_HOME = /ORACLE/<DBSID>/112_64 b. Path c. ORA_NLS10 d. LD_LIBRARY_PATH e. Copy listener.ora, tnsnames.ora, sqlnet.ora from /oracle/CAB/102_64/network/admin to /oracle/CAB/112_64/network/admin And make changes in those files accordingly to 10g directories. f. Verify /var/opt/oracle/oratab file. There should be a entry as SID:/oracle/SID/102_64:N, it should be with 102_64 directory. Never make changes to oratab file starting actual database upgrade.. 17. Running the Pre-Database Upgrade Scripts cd /oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade SQL> conn /as sysdba Connected. SQL> spool /oracle/stage/log/pre_upgrade_status.log SQL> @/oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade/ pre_upgrade_status.sql SQL> spool off SQL> conn /as sysdba Connected. SQL> spool /oracle/stage/log/pre_upgrade_tasks.log SQL> @/oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade/ pre_upgrade_tasks.sql SQL> spool off   Page | 7    
  • 8. 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 SQL> conn /as sysdba Connected. SQL> spool /oracle/stage/log/pre_upgrade_checks.log SQL> @/oracle/<DBSID>/112_64/sap/ora_upgrade/pre_upgrade/ pre_upgrade_checks.sql SQL> spool off 18. Run Database upgrade assistant Check all env variables before start, check oratab Log on with orasid user skzddb35:oracab 12% ./dbua.sap.sh –q ./dbua.sap.sh –q In query mode certain parameter files (init<DBSID>.sap, listener.ora, etc.) are copied from the source Oracle Home to the target Oracle Home. Database structure is updated. SQL> select version from v$instance; VERSION ----------------- 11.2.0.2.0 SQL> select comp_id, version, status from dba_registry; COMP_ID VERSION STATUS ------------------------------ ------------------------------ ----------- CATALOG 11.2.0.2.0 VALID CATPROC 11.2.0.2.0 VALID 19. Checking the Upgraded Database SQL> conn /as sysdba Connected. SQL> spool /oracle/stage/log/POST_UPGRADE_STATUS.log SQL>@/oracle/<DBSID>/112_64/sap/ora_upgrade/post_upgrade/post_upgrade_status.sql SQL> spool off   Page | 8    
  • 9. ORACLE 11g Upgrade   SQL> conn /as sysdba Connected. SQL> spool /oracle/stage/log/POST_UPGRADE_CHECKS.log SQL>@/oracle/<DBSID>/112_64/sap/ora_upgrade/post_upgrade/post_upgrade_checks.sql SQL> spool off 20. Post upgrade steps 1. SQL> alter system set compatible=’11.2.0’ scope = spfile; System altered. Restart database.. 3. Upgrade BRTools with version 7.20 (BR*Tools 7.20 patch 12) Extract DBATL720O10_12-20005274.SAR and place in /sapmnt/SID/exe directory Run ./saproot.sh SID Check brtools owner and permissions in directory /sapmnt/SID/exe BRTools upgraded. skzddb35:oracab 31% brtools BR0651I BRTOOLS 7.20 (12) BR0280I BRTOOLS time stamp: 2011-02-11 09.03.04 BR0656I Choice menu 1 - please make a selection ------------------------------------------------------------------------------- BR*Tools main menu 1 = Instance management 2 - Space management 3 - Segment management 4 - Backup and database copy 5 - Restore and recovery 6 - Check and verification 7 - Database statistics 8 - Additional functions 9 - Exit program Note: sapdba_role.sql, sapconn_role.sql are only required to run if your source database was 9.2.0.8   Page | 9    
  • 10. 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 5. Update the Oracle database statistics with BRCONNECT as follows: brconnect -c -u / -f stats -t all –f collect -p 4 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