Steps to upgrade 11.2.0.3 to 12.1.0.1 using Manual Method


Manual Up-gradation by Amar Jadhav 
Pre-requisite from 11.2.0.3 to 12.1.0.1
CREATE a USER with DBA group
Example: #useradd –g dba upgrade
#passwd upgrade
Create required directory structure for ORACLE-HOME11G,ORACLE-BASE & ORACLE-HOME 12C by single user like (upgrade) .
NOTE:            (Use SPFILE for oracle 11g database)
Step-1: Create 11.2.0.3 Oracle software and create database using DBCA (Please don’t install Oracle Enterprise Manager), if already installed remove it.
Step-2: Create 12.1.0.1 Oracle software only.
Step-3: STARTUP oracle 11g database.
Step-4: copy three scripts (utlu121i.sql, utluppkg.sql, preupgrd.sql) from ORACLE-HOME12C/rdbms/admin To ORACLE-BASE location.
Step-5: execute it from SQL> utlu121i.sql then preupgrd.sql (preupgrd.sql script create one log file and two scripts ( preupgrd_fixups.sql & postupgrd_fixups.sql ).
Step-6: Go to preupgrd_fixups.sql location and execute it on SQL>.
Step-7: Shutdown 11g Database properly copy SPFILE from ORACLE-HOME11G/dbs/ location to ORACLE-HOME12C/dbs/ location.
Step-8: Edit .bash_profile of upgrade user comment ORACLE_HOME11G, uncomment ORACLE_HOME12C save it and execute.
Step-9: Now startup 12c like (STARTUP UPGRADE)
Step-10: Go to ORACLE_HOME12C/rdbms/admin/ location and execute catupgrd.sql parallel=NO on SQL> (it will take much time please wait to complete it)
Step-11: Now execute postupgrd_fixups.sql on SQL>.
Step12: check how many database objects are invalid from dba_objects views.
SQL> SELECT COUNT(*) FROM DBA_OBJECTS where status=’INVALID’
Step-13: Go to ORCLE_HOME12C/rdbms/admin/ location &execute utlrp.sql and again check invalid objects using above SQL statement
(Successfully up-gradation completed)


Comments

Popular posts from this blog

Compression Tools in Linux[TAR,gzip]

All about DataInstaller & Hrglobal.drv in Oracle Applications R12

PSU Patching step by step on RAC