{"id":1150,"date":"2009-05-05T00:28:50","date_gmt":"2009-05-05T04:28:50","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/"},"modified":"2009-05-05T04:42:56","modified_gmt":"2009-05-05T08:42:56","slug":"database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/","title":{"rendered":"Database Upgradation from 10.2.0.3 to 11.1.0.7  in Oracle E-Business Suite 11.5.10.2"},"content":{"rendered":"<p><a rel=\"attachment wp-att-1152\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/1152\/\"><\/a><strong><u>Introduction<\/u><\/strong><\/p>\n<p>The database upgradation process for 11G is same as other version of oracle ,<br \/>\nEither using DBUA or manually. I followed the manual process to accomplish the task.<\/p>\n<p>.<br \/>\n<strong><u>Prerequisites<\/u><\/strong><\/p>\n<p><strong>i).<\/strong> Apply ATG rollup patch 6\u00a0\u00a0 5903765<br \/>\n\u00a0In my case instances was not updated to ATG roll up patch 6 , so I have <a rel=\"attachment wp-att-1151\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/1151\/\"><\/a>applied the patch before proceeding .<\/p>\n<p>SQL&gt; select * from ad_applied_patches where PATCH_NAME=&#8217;5903765&#8242;;<\/p>\n<p>no rows selected<a href=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t1.JPG\"><\/a><br \/>\n\u00a0Follow metalink note 444524.1 for applying the Rup 6 patch<br \/>\n<strong>ii).<\/strong>Developer 6i \/forms patch set\u00a0 level should be 18 .Use the below script to find the patch set level<br \/>\n#!\/bin\/sh<br \/>\n########################################<br \/>\n#fpslevel.sh &#8211; Used to find out the forms patchset level<br \/>\n########################################<br \/>\nclear<br \/>\nPatchLevel=0<br \/>\nf60gen &gt; \/dev\/null 2&gt;&amp;1<br \/>\nif [ $? -eq 127 ]<br \/>\nthen<br \/>\necho &#8220;Environment is not Set&#8221;<br \/>\nelse<br \/>\nPatchLevel=`f60gen | grep &#8216;(Form Compiler)&#8217; | grep -v Release | awk -F. &#8216;{print $5}&#8217; `<br \/>\necho &#8216;Forms Patchset Level :&#8217; ` expr $PatchLevel &#8211; 9 `<br \/>\nfi<br \/>\nIn my case the result was 18<br \/>\n[oa11gtst cidcsebu12 EBUDEV] $ .\/patchset.sh<br \/>\nForms Patchset Level : 18<br \/>\nIf the patch set level is less than 18 then you to upgrade the patch set level to minimum 18.<br \/>\nRefer metalink Note 125767.1\u00a0 for patch set upgradation .<br \/>\n\u00a0<strong>iii).<\/strong> Latest Autoconfig patch 7011280<br \/>\nSQL&gt;\u00a0 select * from ad_bugs where BUG_NUMBER=&#8217;7011280&#8242;;<br \/>\nno rows selected<br \/>\nIn my case I have applied the above mentioned patch using adpatch utility. Please go through readme.txt before applying the patch .<\/p>\n<p>.<br \/>\n<strong><u>Prepare to create the 11.1.0 Oracle home<\/u><br \/>\ni)<\/strong> Install 11.1.0 software in different location<br \/>\nSet up database environment for installation<br \/>\nLogin as Unix os user<br \/>\n[oa11gtst cidcsebu12 ] $ ORACLE_BASE=\/fh03\/TST11G\/oraapps<br \/>\n[oa11gtst cidcsebu12 ] $ export ORACLE_BASE<br \/>\n[oa11gtst cidcsebu12 ] $\u00a0 ORACLE_HOME=$ORACLE_BASE\/11.1.0<br \/>\n[oa11gtst cidcsebu12 ] $ export ORACLE_HOME<br \/>\n[oa11gtst cidcsebu12 ] $ ORACLE_SID=TST11G<br \/>\n[oa11gtst cidcsebu12 ] $ export ORACLE_SID<br \/>\n[oa11gtst cidcsebu12 ] $LD_LIBRARY_PATH=$ORACLE_HOME\/lib\u00a0<br \/>\n[oa11gtst cidcsebu12 ] $ export\u00a0 LD_LIBRARY_PATH<br \/>\n[oa11gtst cidcsebu12 ] $ PATH=$PATH:\/usr\/local\/bin:\/usr\/ccs\/bin:<br \/>\n\/usr\/sfw\/bin:$ORACLE_HOME\/bin<\/p>\n<p>[oa11gtst cidcsebu12 ] $ export\u00a0 PATH<\/p>\n<p><strong>ii)<\/strong> Start the Oracle Installation \u00a0\u00a0\u00a0<\/p>\n<p>\u00a0 set display=&lt;local IP of your machine &gt;\u00a0\u00a0\u00a0<\/p>\n<p><a rel=\"attachment wp-att-1155\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/1155\/\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG\" \/><\/a><\/p>\n<p><strong>iii)<\/strong> Select Installation method Click next \u00a0<\/p>\n<p><a rel=\"attachment wp-att-1152\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/1152\/\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t11.thumbnail.JPG\" \/><\/a><\/p>\n<p><strong>Note follow the instruction on the installation screen and click next <\/strong><\/p>\n<p><strong>iv)<\/strong> Execute root.sh<\/p>\n<p><a rel=\"attachment wp-att-1153\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/1153\/\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t12.thumbnail.JPG\" \/><\/a><\/p>\n<p><strong>\u00a0v)<\/strong> End of Installation<\/p>\n<p><a rel=\"attachment wp-att-1154\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/1154\/\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t13.thumbnail.JPG\" \/><\/a>\u00a0<\/p>\n<p><strong>.\u00a0<\/strong><\/p>\n<p><u><strong>Prepare\/Perform\u00a0 to Install 11.1.0.7 patch set<\/strong><br \/>\n<\/u><strong>i)<\/strong> Install 11.1.0.7 patch on top of the existing 11.1.0.6 Oracle Home .<br \/>\n# ls -ltr<br \/>\ntotal 3503232<br \/>\n-rwxrwxrwx\u00a0\u00a0 1 root\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0 125772 Oct\u00a0 3\u00a0 2008 README.html<br \/>\ndrwxrwxrwx\u00a0\u00a0 6 root\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8192 Oct\u00a0 3\u00a0 2008 Disk1<br \/>\n-rwxrwxrwx\u00a0\u00a0 1 root\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0 1793502538 Apr\u00a0 9 01:28 p6890831_111070_SOLARIS64.zip<br \/>\nroot on cidcsebu12:&lt;\/fs02\/11.0.7.patch&gt;<br \/>\n# pwd<br \/>\n\/fs02\/11.0.7.patch<br \/>\nroot on cidcsebu12:&lt;\/fs02\/11.0.7.patch&gt;<br \/>\nThe installation process remain same using RunInstaller.sh .<\/p>\n<p>.<\/p>\n<p><strong><u>Post Installation Task<\/u><br \/>\ni)<\/strong> Create nls\/data\/9idata directory<br \/>\nOn the database server node, as the owner of the Oracle RDBMS file system and database instance, run the $ORACLE_HOME\/nls\/data\/old\/cr9idata.pl script to create the $ORACLE_HOME\/nls\/data\/9idata directory.<br \/>\nAfter creating the directory, make sure that the ORA_NLS10 environment variable is set to the full path of the 9idata directory whenever you enable the 11g Oracle home.<br \/>\n<strong>ii)<\/strong>Apply Additional RDBMS patch in 11.1.0 Home<br \/>\nFor all UNIX\/Linux platforms, apply the following RDBMS patches:<br \/>\n\u2022\u00a06530141<br \/>\n\u2022\u00a06972189<br \/>\n\u2022\u00a07111245<br \/>\n\u2022\u00a07253531<br \/>\n\u2022\u00a07295298<br \/>\n\u2022\u00a07486407<br \/>\nNote :- The patch 7486407 has got post patch task , which can be done once your database in up and running after upgradation .<\/p>\n<p>Login as Oracle owner set Oracle ENV and\u00a0 set PATH<br \/>\nPATH=$ORACLE_HOME\/bin:$ORACLE_HOME\/OPatch:$PATH: export PATH<\/p>\n<p>Apply all the patches using opatch utility of Oracle .Please go thorough readme.txt<br \/>\n\/fs02\/11gpostpatch\/6530141<br \/>\noa11gtst on cidcsebu12:&lt;\/fs02\/11gpostpatch\/6530141&gt;<br \/>\n$ ls -ltr<br \/>\ntotal 16<br \/>\ndrwxrwxrwx\u00a0\u00a0 4 root\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 96 Nov 14 07:24 etc<br \/>\ndrwxrwxrwx\u00a0\u00a0 3 root\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 96 Nov 14 07:24 files<br \/>\n-rwxrwxrwx\u00a0\u00a0 1 root\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4980 Nov 14 07:24 README.txt<br \/>\noa11gtst on cidcsebu12:&lt;\/fs02\/11gpostpatch\/6530141&gt;<br \/>\n$ <strong>opatch apply<\/strong><br \/>\nInvoking OPatch 11.1.0.6.2<br \/>\nOracle Interim Patch Installer version 11.1.0.6.2<br \/>\nCopyright (c) 2007, Oracle Corporation.\u00a0 All rights reserved.<br \/>\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/fh03\/TST11G\/oraapps\/11.1.0<br \/>\nCentral Inventory : \/fh03\/TST11G\/oraInventory<br \/>\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/var\/opt\/oracle\/oraInst.loc<br \/>\nOPatch version\u00a0\u00a0\u00a0 : 11.1.0.6.2<br \/>\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 11.1.0.7.0<br \/>\nOUI location\u00a0\u00a0\u00a0\u00a0\u00a0 : \/fh03\/TST11G\/oraapps\/11.1.0\/oui<br \/>\nLog file location : \/fh03\/TST11G\/oraapps\/11.1.0\/cfgtoollogs\/opatch\/opatch2009-04-22_00-32-36AM.log<br \/>\nApplySession applying interim patch &#8216;6530141&#8217; to OH &#8216;\/fh03\/TST11G\/oraapps\/11.1.0&#8217;<br \/>\nRunning prerequisite checks&#8230;<br \/>\nOPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.<br \/>\nPlease shutdown Oracle instances running out of this ORACLE_HOME on the local system.<br \/>\n(Oracle Home = &#8216;\/fh03\/TST11G\/oraapps\/11.1.0&#8217;)<br \/>\nIs the local system ready for patching? [y|n]<br \/>\nVerifying the update&#8230;<br \/>\nInventory check OK: Patch ID 6530141 is registered in Oracle Home inventory with proper meta-data.<br \/>\nFiles check OK: Files from Patch ID 6530141 are present in Oracle Home.<br \/>\nThe local system has been patched and can be restarted.<br \/>\nOPatch succeeded.<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nThe same process needs to follow to apply all the above patches.<\/p>\n<p>.<br \/>\n<strong><u>Run the Pre-Upgrade Information Tool<\/u><br \/>\ni)<\/strong> Copy utlu111i.sql from New ORACLE_11GHome to temporary directory<br \/>\n$ ls -l utlu111i.sql<br \/>\n-rw-r&#8211;r&#8211;\u00a0\u00a0 1 oa11gtst dba\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 159224 Jul 31\u00a0 2008 utlu111i.sql<br \/>\noa11gtst on cidcsebu12:&lt;\/fh03\/TST11G\/oraapps\/11.1.0\/rdbms\/admin&gt;<br \/>\nLogin\u00a0 to your source 10G database as sysdba or system .<br \/>\nDatabase Environment set to : TST11G<br \/>\nType &#8216;exit&#8217; or &#8216;CTRL-D&#8217; to return to previous shell and environment<\/p>\n<p>[oa11gtst cidcsebu12 TST11G] $ sqlplus &#8220;\/as sysdba&#8221;<\/p>\n<p>SQL*Plus: Release 10.2.0.3.0 &#8211; Production on Wed Apr 22 02:12:57 2009<\/p>\n<p>Copyright (c) 1982, 2006, Oracle.\u00a0 All Rights Reserved.<\/p>\n<p>Connected to an idle instance.<\/p>\n<p>Startup the database if it is shutdown<br \/>\nSQL&gt; spool upgradeinfo.log<br \/>\nSQL&gt; @utlu111i.sql<br \/>\nMiscellaneous Warnings<br \/>\n*********************************************************<br \/>\nWARNING: &#8211;&gt; Database contains stale optimizer statistics.<br \/>\n&#8230;. Refer to the 11g Upgrade Guide for instructions to update<br \/>\n&#8230;. statistics prior to upgrading the database.<br \/>\n&#8230;. Component Schemas with stale statistics:<br \/>\n&#8230;.\u00a0\u00a0 SYS<br \/>\n&#8230;.\u00a0\u00a0 OLAPSYS<br \/>\n&#8230;.\u00a0\u00a0 SYSMAN<br \/>\n&#8230;.\u00a0\u00a0 CTXSYS<br \/>\n&#8230;.\u00a0\u00a0 XDB<br \/>\n&#8230;.\u00a0\u00a0 MDSYS<br \/>\nWARNING: &#8211;&gt; Database contains INVALID objects prior to upgrade.<br \/>\n&#8230;. The list of invalid SYS\/SYSTEM objects was written to<br \/>\n&#8230;. registry$sys_inv_objs.<br \/>\n&#8230;. The list of non-SYS\/SYSTEM objects was written to<br \/>\n&#8230;. registry$nonsys_inv_objs.<br \/>\n&#8230;. Use utluiobj.sql after the upgrade to identify any new invalid<br \/>\n&#8230;. objects due to the upgrade.<br \/>\n&#8230;. USER SYS has 1 INVALID objects.<br \/>\n&#8230;. USER XXINV has 5 INVALID objects.<br \/>\n&#8230;. USER APPS has 1 INVALID objects.<br \/>\n&#8230;. USER XXONT has 4 INVALID objects.<br \/>\n&#8230;. USER XXPO has 1 INVALID objects.<br \/>\nWARNING: &#8211;&gt; Database contains schemas with objects dependent on network<br \/>\npackages.<br \/>\n&#8230;. Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.<br \/>\n&#8230;. USER XXMRP has dependent objects.<br \/>\n&#8230;. USER XXINV has dependent objects.<br \/>\n&#8230;. USER APPS has dependent objects.<br \/>\n&#8230;. USER XXONT has dependent objects.<br \/>\n&#8230;. USER XXBOM has dependent objects.<br \/>\nWARNING: &#8211;&gt; EM Database Control Repository exists in the database.<br \/>\n&#8230;. Direct downgrade of EM Database Control is not supported. Refer to the<br \/>\n&#8230;. 11g Upgrade Guide for instructions to save the EM data prior to upgrade.<br \/>\n.<\/p>\n<p>PL\/SQL procedure successfully completed.<\/p>\n<p>SQL&gt; spool off<\/p>\n<p>Tablespaces: [make adjustments in the current environment]<br \/>\n******************************************************<br \/>\n&#8211;&gt; SYSTEM tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 7868 MB<br \/>\n&#8211;&gt; APPS_UNDOTS1 tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 629 MB<br \/>\n&#8211;&gt; TEMP tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 61 MB<br \/>\n&#8211;&gt; APPS_TS_QUEUES tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 307 MB<br \/>\n&#8211;&gt; APPS_TS_TX_DATA tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 3249 MB<br \/>\n&#8211;&gt; CTXD tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 29 MB<br \/>\n&#8211;&gt; ODM tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 15 MB<br \/>\n&#8211;&gt; OLAP tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 32 MB<br \/>\n&#8211;&gt; SYSAUX tablespace is adequate for the upgrade.<br \/>\n&#8230;. minimum required size: 1074 MB<br \/>\nObsolete\/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]<br \/>\n**********************************************<br \/>\n&#8211;&gt; &#8220;background_dump_dest&#8221; replaced by\u00a0 &#8220;diagnostic_dest&#8221;<br \/>\n&#8211;&gt; &#8220;user_dump_dest&#8221; replaced by\u00a0 &#8220;diagnostic_dest&#8221;<br \/>\n&#8211;&gt; &#8220;core_dump_dest&#8221; replaced by\u00a0 &#8220;diagnostic_dest&#8221;<\/p>\n<p>Check the above report meticulously , because we need to change\/adjust\u00a0 the parameter based on the report in 11g\u00a0 init.ora parameter or in 10G database level .<br \/>\n<strong>ii)<\/strong> Create pfile from Spfile\u00a0 and copy the pfile to new 11G_home\/dbs<br \/>\nand comment user_dump_dest, core_dump_dest and background_dump_dest<br \/>\nAdd the new parameter *.diagnostic_dest=&lt;Oracle_Base&gt;<br \/>\nChange the parameter\u00a0 *.compatible=&#8217;11.1.0&#8242;<br \/>\n<strong>iii)<\/strong> Copy Tnsname.ora\u00a0 and Listener.ora from 10G\u00a0 $TNS_ADMIN to New 11G TNS_ADMIN<br \/>\nand change $ORACLE_HOME location , SID ,Port and Host<br \/>\n\u00a0\u00a0 Set the env\u00a0\u00a0 TNS_ADMIN in New Oracle 11G and start the listener.<br \/>\n<strong>iv)<\/strong> Check the Timezone version in 10G<br \/>\nConnected to:<br \/>\nOracle Database 10g Enterprise Edition Release 10.2.0.3.0 &#8211; 64bit Production<br \/>\nWith the Partitioning, OLAP and Data Mining options<br \/>\nSQL&gt; SELECT version FROM v$timezone_file;<br \/>\n\u00a0\u00a0 VERSION<br \/>\n&#8212;&#8212;&#8212;-<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4<br \/>\nThe minimum version should be 4.<br \/>\n<strong>v)<\/strong> Check the Custom DB Links and create spool file .<br \/>\nSQL&gt; SQL&gt; SET LONG 9000<br \/>\nSQL&gt; SELECT DBMS_METADATA.GET_DDL(&#8216;DB_LINK&#8217;,a.db_link,a.owner) FROM dba_db_links<br \/>\n<strong>vi)<\/strong> Check Invalid objects in 10G .<br \/>\nSQL&gt; spool invalid_pre.lst<br \/>\nSQL&gt; select substr(owner,1,12) owner,<br \/>\nsubstr(object_name,1,30) object,<br \/>\nsubstr(object_type,1,30) type, status from<br \/>\ndba_objects where status &lt;&gt;&#8217;VALID&#8217;<br \/>\n\u00a0 2\u00a0\u00a0\u00a0 3\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0 5\u00a0 ;<\/p>\n<p>[oa11gtst cidcsebu12 TST11G] $ clear<br \/>\n[oa11gtst cidcsebu12 TST11G] $ pwd<br \/>\n\/fh03\/TST11G\/oraapps\/10.2.0\/rdbms\/admin<br \/>\n[oa11gtst cidcsebu12 TST11G] $ ls -l utlrp.sql<br \/>\n-rwxrwxr-x\u00a0\u00a0 1 oa11gtst dba\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3221 Aug 15\u00a0 2003 utlrp.sql<br \/>\n[oa11gtst cidcsebu12 TST11G] $ sqlplus &#8220;\/as sysdba&#8221;<\/p>\n<p>SQL*Plus: Release 10.2.0.3.0 &#8211; Production on Wed Apr 22 02:38:08 2009<\/p>\n<p>Copyright (c) 1982, 2006, Oracle.\u00a0 All Rights Reserved.<br \/>\nConnected to:<br \/>\nOracle Database 10g Enterprise Edition Release 10.2.0.3.0 &#8211; 64bit Production<br \/>\nWith the Partitioning, OLAP and Data Mining options<\/p>\n<p>SQL&gt; @utlrp.sql<\/p>\n<p>For errors check<br \/>\nselect * from UTL_RECOMP_ERRORS<br \/>\n<strong>vii)<\/strong> Shutdown Source Application services and Database and Take full backup<\/p>\n<p>.<br \/>\n<u><strong>Database Upgradation<\/strong><\/u><br \/>\n<strong>i)<\/strong> $ ls -l catupgrd.sql<br \/>\n-rw-r&#8211;r&#8211;\u00a0\u00a0 1 oa11gtst dba\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4026 Apr\u00a0 2\u00a0 2007 catupgrd.sql<br \/>\noa11gtst on cidcsebu12:&lt;\/fh03\/TST11G\/oraapps\/11.1.0\/rdbms\/admin&gt;<br \/>\n$ sqlplus &#8220;\/as sysdba&#8221;<\/p>\n<p>SQL*Plus: Release 11.1.0.7.0 &#8211; Production on Thu Apr 23 00:54:49 2009<\/p>\n<p>Copyright (c) 1982, 2008, Oracle.\u00a0 All rights reserved.<\/p>\n<p>Connected to an idle instance.<br \/>\n$ sqlplus &#8220;\/as sysdba&#8221;<\/p>\n<p>SQL*Plus: Release 11.1.0.7.0 &#8211; Production on Thu Apr 23 00:54:49 2009<\/p>\n<p>Copyright (c) 1982, 2008, Oracle.\u00a0 All rights reserved.<\/p>\n<p>Connected to an idle instance.<\/p>\n<p>SQL&gt; startup upgrade<br \/>\nORACLE instance started.<\/p>\n<p>Total System Global Area 1069252608 bytes<br \/>\nFixed Size\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2109352 bytes<br \/>\nVariable Size\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 427823192 bytes<br \/>\nDatabase Buffers\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 624951296 bytes<br \/>\nRedo Buffers\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 14368768 bytes<br \/>\nDatabase mounted.<br \/>\nDatabase opened.<br \/>\nSQL&gt; STARTUP UPGRADE<br \/>\nSQL&gt; SPOOL patch.log<br \/>\nSQL&gt; @?\/rdbms\/admin\/catupgrd.sql<br \/>\nSQL&gt; SPOOL OFF<br \/>\nCheck patch.log after completion .<\/p>\n<p>.<\/p>\n<p><strong><u>Post Upgradation Task<\/u><\/strong><\/p>\n<p><strong>i)<\/strong> Shutdown the database and then startup the database once the upgradation complete.<br \/>\nRun the utlrp.sql script to recompile all invalid PL\/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.<br \/>\nSQL&gt; @?\/rdbms\/admin\/utlrp.sql<br \/>\n<strong>ii)<\/strong> Run adgrants.sql<br \/>\nCopy $APPL_TOP\/admin\/adgrants.sql\u00a0\u00a0 from the administration server node to the database server node. Use SQL*Plus to connect to the database as SYSDBA and run the script using the following command:<br \/>\nSQL&gt; startup restrict<br \/>\nORACLE instance started.<\/p>\n<p>Total System Global Area 1069252608 bytes<br \/>\nFixed Size\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2109352 bytes<br \/>\nVariable Size\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 427823192 bytes<br \/>\nDatabase Buffers\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 624951296 bytes<br \/>\nRedo Buffers\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 14368768 bytes<br \/>\nDatabase mounted.<br \/>\nSQL&gt; @adstats.sql<br \/>\nConnected.<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n&#8212; adstats.sql started at 2009-04-24 01:06:55 &#8212;<br \/>\nChecking for the DB version and collecting statistics &#8230;<\/p>\n<p><strong>iii)<\/strong> Grant create procedure privilege on CTXSYS<br \/>\nCopy $AD_TOP\/patch\/115\/sql\/adctxprv.sql from the administration server node to the database server node.\u00a0<br \/>\nbash-3.00$ sqlplus apps\/ppsdev10a<\/p>\n<p>SQL*Plus: Release 8.0.6.0.0 &#8211; Production on Mon Apr 27 00:19:32 2009<\/p>\n<p>(c) Copyright 1999 Oracle Corporation.\u00a0 All rights reserved.<br \/>\nConnected to:<br \/>\nOracle Database 11g Enterprise Edition Release 11.1.0.7.0 &#8211; 64bit Production<br \/>\nWith the Partitioning, OLAP, Data Mining and Real Application Testing options<\/p>\n<p>SQL&gt; @adctxprv.sql<\/p>\n<p>Connecting to SYSTEM<br \/>\nEnter value for 1: temdev10smay<br \/>\nSQL&gt; @adctxprv.sql<\/p>\n<p>Connecting to SYSTEM<br \/>\nEnter value for 1: temdev10smay<br \/>\nConnected.<br \/>\nEnter value for 2: CTXSYS<\/p>\n<p>.<\/p>\n<p><strong>iv)<\/strong> <strong><u>Implement and Run\u00a0 Autoconfig<\/u><\/strong>.<br \/>\nPlease follow my post <a target=\"_blank\" href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/07\/31\/continuation-of-my-last-post-migrating-to-autoconfig-on-the-database-tier\/\">Autoconfig on Database Tier here<\/a><br \/>\nFollow metalink note 165195.1 for Autoconfig .<\/p>\n<p><strong>v)<\/strong> SQL&gt; SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY;<\/p>\n<p>In the output of the preceding command, the status of all the components should be VALID for a successful upgrade.<\/p>\n<p>.<\/p>\n<p><strong>Refer<\/strong> Metalink Note :- 452783.1 for upgradation\u00a0<br \/>\n\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The database upgradation process for 11G is same as other version of oracle , Either using DBUA or manually. [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1150","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2 -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2 -\" \/>\n<meta property=\"og:description\" content=\"Introduction The database upgradation process for 11G is same as other version of oracle , Either using DBUA or manually. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/\" \/>\n<meta property=\"article:published_time\" content=\"2009-05-05T04:28:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-05-05T08:42:56+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/\",\"name\":\"Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2 -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG\",\"datePublished\":\"2009-05-05T04:28:50+00:00\",\"dateModified\":\"2009-05-05T08:42:56+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#primaryimage\",\"url\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG\",\"contentUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2 -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/","og_locale":"en_US","og_type":"article","og_title":"Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2 -","og_description":"Introduction The database upgradation process for 11G is same as other version of oracle , Either using DBUA or manually. [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/","article_published_time":"2009-05-05T04:28:50+00:00","article_modified_time":"2009-05-05T08:42:56+00:00","og_image":[{"url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG","type":"","width":"","height":""}],"author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/","url":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/","name":"Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2 -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#primaryimage"},"image":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#primaryimage"},"thumbnailUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG","datePublished":"2009-05-05T04:28:50+00:00","dateModified":"2009-05-05T08:42:56+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#primaryimage","url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG","contentUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/t14.thumbnail.JPG"},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/05\/database-upgradation-from-10203-to-11107-in-oracle-e-business-suite-115102\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Database Upgradation from 10.2.0.3 to 11.1.0.7 in Oracle E-Business Suite 11.5.10.2"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1150"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1150\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}