Documente Academic
Documente Profesional
Documente Cultură
0)
——————————————————————————————————————————————————————————————————————————————
1. Check the current version of the database and applications:
Patch 7303030 - Oracle E-Business Suite 12.1.1 - 32bit will also work for
64bit machines
Patch 9062910 - 11g Release 2 interoperability patch for Release 12.1
Patch 8919489 - 12.1 TXK Delta 3 patch
Patch 9868229 - CST_LAYER_ACTUAL_COST_DTLS_V Becomes Invalid After 11.2.0.2
Upgrade
Patch 10163753 - BIV_B_AGE_H_SUM_MV Fails During Index Creation
Patch 11071569 - ADBLDXML Fails On Windows Server 2008 R2 64 Bit
Note: Check for any post install steps for all patches and implement them
now.
5. Unset the old 11.1 environment variables or open a new terminal/putty session
and set the variables for 11.2
$ export ORACLE_BASE=/u01/oracle/PROD
$ export ORACLE_HOME=/u01/oracle/PROD/db/tech_st/11.2.0
$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:
$PATH
$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib
$ export
PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/lib/site_perl/5.10.0
6. Check for 11.2.0.3.0 latest PSU patches on metalink and apply it and also apply
the below patches if they didn’t get installed with the PSU:
Patch 4247037
Patch 9858539
Patch 12942119
Patch 12960302
Patch 12985184
Patch 13001379
Patch 13004894
Patch 13258936
Patch 13366268
7. Database Upgrade:
b) Pre-upgrade Tasks:
$ . /u01/oracle/PROD/db/tech_st/11.1.0/PROD_erpr12.env
SQL> @?/rdbms/admin/utlrp.sql
SQL> select count(*) from dba_objects where status <> 'VALID';
SQL >
@/u01/oracle/PROD/db/tech_st/11.2.0/rdbms/admin/utlu112i.sql -> Fix all warnings
and critical items from the output.
vii) Check the /etc/oratab file if it has entry for the database or
else insert an entry for the database:
eg.: PROD:/u01/oracle/PROD/db/tech_st/11.2.0:N
c) In a new terminal/putty session set the environment variables for new 11.2
Oracle Home:
$ export ORACLE_SID=PROD
$ export ORACLE_BASE=/u01/oracle/PROD
$ export ORACLE_HOME=/u01/oracle/PROD/db/tech_st/11.2.0
$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:
$ORACLE_HOME/perl/bin:$PATH
$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib
$ export
PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/lib/site_perl/5.10.0
- Set DISPLAY
$ dbua
- In the Welcome Screen Click Next
- Select the database that you want to upgrade, Click Next
- Here DBUA will show warnings that were not solved after
running Pre-Upgrade Information tool, Click Yes
- Turn OFF archiving while upgrading, Click Next - If
archiving is not ON, then this window will not be displayed.
- Check "Recompile invalid objects at the end of upgrade"
and give Degree of Parallelism to proper value, Check "Upgrade Timezone Version and
TIMESTAMP WITH TIME ZONE Data", Uncheck "Backup Database".
- Check whether you want to move the datafiles while
upgrade, if not Click Next
- Uncheck "Configure the Database with Enterprise Manager"
and Click Next
- Check Summary Page and then Click Finish
- Check the Results
d) Post-Upgrade Tasks:
SQL> @?/rdbms/admin/utlu112s.sql
iii) Check the invalid object count and the count should be less than
or equal to the count from Pre-upgrade Step 7.b.iv
$ cd $ORACLE_HOME/ctx/admin/ctxpatch/
$ sqlplus / as sysdba
SQL> ctxpatch11203.sql
Note: If there are any other post patch steps for DB Patches
perfome them now.
8. Move network files from old home to new home and modify the oracle home & all
the references of old entries to new oracle home and start the listener:
$ cp -R /u01/oracle/PROD/db/tech_st/11.1.0/network/admin/
$ORACLE_HOME/network/admin/
$ cd $ORACLE_HOME/network/admin/PROD_erpr12
$ vi listener.ora
:%s/11.1.0/11.2.0/g
:wq
Repeat above 2 steps for rest of the files.
9. Copy the environment file from old home to new home and modify the oracle home &
all the references of old entries to new oracle home:
$ cp /u01/oracle/PROD/db/tech_st/11.1.0/PROD_erpr12.env $ORACLE_HOME
$ cd $ORACLE_HOME
$ vi PROD_erpr12.env
:%s/11.1.0/11.2.0/g
- comment out below two lines from .env file because ORA_TZFILE is no longer
needed for Oracle 11gR2 database
######################
# Timezone Specification file
#ORA_TZFILE="$ORACLE_HOME/oracore/zoneinfo/timezlrg.dat
#export ORA_TZFILE
######################
:wq
Note: Modify the path for .env file in .bash_profile if you have an entry for
it.
Use SQL*Plus to connect to the database as SYSDBA and run the following
command:
$ cd $AD_TOP/bin
$ ls admkappsutil.pl
admkappsutil.pl
$ perl admkappsutil.pl
$ unzip -o appsutil.zip
$ perl $ORACLE_HOME/appsutil/bin/adbldxml.pl
$ cd $ORACLE_HOME/appsutil/bin
$ ./adconfig.sh
15. Restart DB Tier (Database & Listener) services to load the new environment
settings.
$ sqlplus / as sysdba
SQL> alter system enable restricted session;
SQL> @adstats.sql
SQL> alter system disable restricted session;
17. Re-create grants and synonyms from Application Tier (Login as applmgr):
Oracle Database 11g Release 2 (11.2) contains new functionality for grants
and synonyms compared to previous database releases. As a result, you must re-
create the grants and synonyms in the APPS schema. On the administration server
node, as the owner of the Applications file system, run AD Administration and
select the "Recreate grants and synonyms for APPS schema" task from the Maintain
Applications Database Objects menu.
$ adadmin
- Select [4] in AD Administration Main Menu
- Select [2]
$ sqlplus / as sysdba
SQL> @?/rdbms/admin/utlrp.sql
SQL> select OWNER,OBJECT_NAME,OBJECT_TYPE from dba_objects where STATUS <>
'INVALID';
REFERENCES
—————————-
- Interoperability Notes EBS R12 with Database 11gR2 [ID 1058763.1]
- Oracle Database Upgrade Guide 11g Release 2 (11.2)
- Complete Checklist for Manual Upgrades to 11gR2 [ID 837570.1]
- Using AutoConfig to Manage System Configurations in Oracle E-Business Suite
Release 12 [ID 387859.1]
- Database Initialization Parameters for Oracle E-Business Suite Release 12 [ID
396009.1]
- Script to Collect DB Upgrade/Migrate Diagnostic Information (dbupgdiag.sql) [ID
556610.1]