Documente Academic
Documente Profesional
Documente Cultură
5 upgrade –
Part 1 (Finalizing Path and DB Upgrade)
We have to first be on 12.2 to move to any version ahead of it.
The supported paths till the time I did the upgrade were as below.
Direct upgrade for 11.5.10.2 to 12.2
Direct upgrade for 12.0 or 12.1 to 12.2.
The first step has been the database upgrade. The upgrade is simple database upgrade with
DBUA so I am listing just the major steps to be taken care with EBS.
Please go through Interoperability notes for exact steps for your environments.
3. Follow the interoperability notes to apply additional DB patches. This will save time later.
4. Shutdown application.
5. Drop SYS.ENABLED$INDEXES
$ cd $ORACLE_HOME/bin
$ cluvfy stage -pre dbinst -upgrade
-src_dbhome <11gHOME>
-dest_dbhome <12cHOME>
-dest_version 12.1.0.2.0
$ sqlplus / sysdba
SQL> @preupgrd.sql;
Fix if there are any issue.
SQL> rdbms/admin/emremove.sql;
13. Copy the old tns_admin to new tns_admin, if you do not want to change anything in
ports.
$ORACLE_HOME/OPatch/datapatch
Run following from the database server where the file is placed.
$ sqlplus apps/$appspass @adctxprv.sql $SYSTEM_PASS CTXSYS
$ cp $ORACLE_HOME/jlib/orai18n.jar $ORACLE_HOME/jdk/jre/lib/ext/
After creating the XML context file, ensure the variable s_jretop points to
$ORACLE_HOME/jdk/jre and is not altered to any other value.
The DB upgrade completes here, there may be some patches for 12c and for pre 12.2 need to
be applied on same application here.
Also follow relevant documents for database, OS, Platform/Storage and eBusiness versions
for exact patches to be applied on DB.
Part 2 (Upgrade to 12.2 - A)
Using 12.2 startCD 51 which has been latest by the time of upgrade.
Note:- There can be a lots of variation in terms of steps specific to your own environment. Please go
through the Upgrade guide, release notes and relevant Oracle Support Notes before finalizing your upgrade
steps.
3. Backup CUSTOM.pll
SQL> select user_name , user_id from fnd_user where user_name like 'GUEST';
Financial and procurement Tasks, Sub Ledger Accounting, SCM Task, Order Management etc.
7. Add SQLNET.ALLOWED_LOGON_VERSION_SERVER to sqlnet.ora Ifile on both the nodes, decide value for
conditions given in upgrade guide.
Start rapidwiz, go for upgrade and select for create upgrade file system.
Here you will be asked for many details related to ports, servers, paths and passwords.
Enter those and after initial validation it will come to following screen.
Proceeding with next will install the file system for 12.2 in the given path.
Once the installation is successful, following screen will ask to validate and next button will
show details.
12.2 Upgrade
6. Apply Following the Doc 1320300.1, exactly step by step. This will include preinstall,
merge and apply steps of merged 12.2 Driver.
SQL>exec fnd_conc_clone.setup_clean ;
LD_LIBRARY_PATH = $ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
ORACLE_SID = <instance name for current database node>
TNS_ADMIN=$ORACLE_HOME/network/admin/<CONTEXT_NAME>
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/appsutil/jre/bin:$PATH
PERL5LIB=$ORACLE_HOME/perl/lib/5.14.1:$ORACLE_HOME/perl/lib/site_perl/5.14.1:$OR
ACLE_HOME/appsutil/perl
Unzip on Databzse
unzip -o appsutil.zip
Run Autoconfig
<RDBMS ORACLE_HOME>/appsutil/bin/adconfig.sh contextfile=<context file>
Drop table ADX_PRE_AUTOCONFIG from APPS schema, will be recreated during autoconfig.
cd <AD_TOP>/patch/115/sql
sqlplus APPS/$APPS_PASS @txkDropAdxPreAutoConfig.sql
Run AutoConfig on all the Application Tier nodes using the following Commands
$ADMIN_SCRIPTS_HOME/adautocfg.sh
Here we are done with 12.2 Upgrade. But there is a major step due is ADOP enablement.
ADOP is the new feature introduced with 12.2 making it too much different for earlier
version. It is AD Online Patching, and so it needs specific versions of Database to support
Edition Based Redefinition.
Following are the steps to enable Adop, which is also a part of Upgrade activity.
Enable ADOP
adpatch options=hotpatch,forceapply
exec sys.utl_recomp.recomp_parallel(n);
service_names=%s_dbSid%,ebs_patch
recyclebin=off
_SYSTEM_TRIG_ENABLED=true
With this we are done with 12.2 Upgrade. This point onward whatever patches will go to the
system will go using adop utility. So will be the 12.2.5 related patches and upgrade driver.