Database Upgrade From 11.1.0.6 to 11.1.0.7

Embed Size (px)

Citation preview

  • 8/6/2019 Database Upgrade From 11.1.0.6 to 11.1.0.7

    1/2

    Database Upgrade from 11.1.0.6 to 11.1.0.7

    ------------------------------------------------------Note: The Patch number is 6890831 for Patchset 11.1.0.7.You can download this patchset from http://metalink.oracle.com, but for this you

    need a valid CSI number.From the patch readme.You can apply the Oracle Database release 11.1.0.7 patch set to the following Oracle Database 11g release 1 installations:* Oracle Database* Oracle Real Application Clusters* Oracle Database Client* Oracle Database Examples* Oracle Clusterware* Oracle Automatic Storage Management Only instance------------------------------------------------------

    Create PFILE:sqlplus '/as sysdba'create pfile from spfile ;

    Invalids Count:select object_name, owner, object_typefrom all_objects where status like INVALID ;

    select count(*)from all_objects where status like INVALID ;

    Timezone Pre-reqselect version from v$timezone_file;Check out MetaLink Note 568125.1 if you are running anything other than

    version 4

    Pre-upgrade Tool Kit:Run the script utlu111i.sql in the $OH/rdbms/admin directory. It is designed tolet you know if there are issues to address prior to the upgrade.

    Shutdown Oracle instance

    Upgrade Process:sqlplus /nologstartup upgrade

    spool upgrade.log@?/rdbms/admin/catupgrd.sqlspool off

    To check the post-upgrade status this script is helpful@?/rdbms/admin/utlu111s.sql

    To fix some invalid object which I did with this script.@?/rdbms/admin/utlrp.sql

    select * from v$version

    select comp_name,status,version from dba_registry;

  • 8/6/2019 Database Upgrade From 11.1.0.6 to 11.1.0.7

    2/2

    Upgrade 11.1.0.6 to 11.1.0.7>> Saturday, July 11, 2009

    On each application tier server node,shut down all server processes or services.

    On the database tier server node,shut down the database listener in the old Oracle home.

    On the database server node,as the owner of the Oracle 11g file system and database instance, unzip and extract the 11.1.0.7 patch set file for your platform.

    Set the environment to the oracle_home to be upgraded.Use the runInstaller in the patchset to start the OUI.

    ./runinstaller -invPtrLoc /oraDb/app/oracle/....../11.1.0

    I did this as my global inventory is not set.Once the OUi starts from the LOV s in the Oracle_home list choose the appropriate one to be upgraded and the location also.

    The present oracle_home and its location will appear if the environment is set correctly.

    Proceed with the next steps on the OUI screen.

    Click Next when it says Configuration Assistant has failed.This skips the other configuration assistants also ,whixh actually are not required by E-business Suite Installations.

    Post Installation

    Once done Apply the RDBMS patches7486407 and 7684818

    to this Oracle_home, which are as always applied using opatch..

    Gather statistics for SYS schema

    Copy $APPL_TOP/admin/adstats.sql from the administration server node to the database server node.

    $ sqlplus '/ as sysdba'SQL> shutdown normal;SQL> startup restrict;SQL> @adstats.sqlSQL> shutdown normal;SQL> startup;SQL> exit;

    This finishes upgrade of 11.1.0.6 to 11.1.0.7

    Check it :SQL> select banner from v$version