Professional Documents
Culture Documents
11i E Business Suite Database Upgrade To 11.2.0.3
11i E Business Suite Database Upgrade To 11.2.0.3
3 on Linux
INTEROPERABILITY PATCH FOR R11I ON 11.2 RDBMS PLM_PF.C: USE OF LITERAL CAUSING PERFORMANCE ISSUE WHEN INSERTING DATA INTO USER DEFINED ATTRIBUTES TABLES ONE -OFF - 11I AOL/J CODE BASE AND 11G JDBC DRIVER COMPLIANCE TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH Update TCH11201: ADBLDXML AND AUTOCONFIG COMPLETES WITH JAVA.LANG.UNSATISFIEDLINKERROR
[oracle@kens-orasql-002-uat script]$ cd /hds001/oracle/product/11.2.0.3/dbhome_1/nls/data/old/ [oracle@kens-orasql-002-uat old]$ which perl /hds001/oracle/product/11.2.0.3/dbhome_1/perl/bin/perl [oracle@kens-orasql-002-uat old]$ perl cr9idata.pl Creating directory /hds001/oracle/product/11.2.0.3/dbhome_1/nls/data/9idata ... Copying files to /hds001/oracle/product/11.2.0.3/dbhome_1/nls/data/9idata... Copy finished. Please reset environment variable ORA_NLS10 to /hds001/oracle/product/11.2.0.3/dbhome_1/nls/data/9idata!
Edit .bash_profile
ORA_NLS10=/hds001/oracle/product/11.2.0.3/dbhome_1/nls/data/9idata export ORA_NLS10
[oracle@kens-orasql-002-uat dbhome_1]$ unzip p6880880_112000_Linux-x86-64.zip Archive: /hds001/oracle/product/11.2.0.3/dbhome_1/p6880880_112000_Linux-x86-64.zip creating: OPatch/ creating: OPatch/oplan/ inflating: OPatch/oplan/README.html . . [oracle@kens-orasql-002-uat dbhome_1]$ cd OPatch [oracle@kens-orasql-002-uat OPatch]$ ./opatch version OPatch Version: 11.2.0.3.0 OPatch succeeded.
export PATH=/hds001/oracle/product/11.2.0.3/dbhome_1/OPatch:$PATH
9858539
o o o o o o o
Remove all hidden database parameters and events from pfile (or spfile) and restart the database:
_b_tree_bitmap_plans
Disable Archive logging and restart the database Set Up the 11.2.0.3 environment to launch the Database Upgrade Assistant(dbua)
This can happen if the environment variable ORA_TZFILE is set and is pointing to the Oracle 10g Home unset the variable and launch dbua once again.
POST UPGRADE
SQL> set linesize 120 SQL> col comp_name format a50 SQL> select comp_name,status,version from dba_registry; COMP_NAME -------------------------------------------------Oracle Text Oracle Data Mining OLAP Catalog Spatial Oracle Multimedia Oracle XML Database Oracle Expression Filter Oracle Database Catalog Views Oracle Database Packages and Types Oracle Real Application Clusters JServer JAVA Virtual Machine COMP_NAME -------------------------------------------------Oracle XDK Oracle Database Java Packages OLAP Analytic Workspace Oracle OLAP API 15 rows selected. STATUS ----------VALID VALID VALID VALID VALID VALID VALID VALID VALID INVALID VALID STATUS ----------VALID VALID VALID VALID VERSION -----------------------------11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 VERSION -----------------------------11.2.0.3.0 11.2.0.3.0 11.2.0.3.0 11.2.0.3.0
Update the following database parameters after the RDBMS 11gR2 upgrade
_b_tree_bitmap_plans FALSE _fast_full_scan_enabled FALSE _like_with_bind_as_equality TRUE _optimizer_autostats_job false _sort_elimination_cost_ratio 5 _system_trig_enabled true _trace_files_public TRUE compatible 11.2.0 utl_file_dir '/usr/tmp', '/oracle/CLMTS10G/db/tech_st/11.2.0.2/appsutil/outbound/CLMTS10G_KENs-ORASQL-001'
Note check the utl_file_dir parameter as paths may change after the upgrade
Create the 11gR2 listener using netca retain the same port as the 10g listener
Copy adgrants.sql, adctxprv.sql and adstats.sql from the Admin Tier across to the 11gR2 Oracle home
APPL_TOP/admin/adgrants.sql APPL_TOP/admin/adstats.sql
AD_TOP/patch/115/sql/ adctxprv.sql
AutoConfig Setup
Deregister the current database server (conditional)
If you plan to change the database port, host, SID, or database name parameter on the database server, you must also update AutoConfig on the database tier and deregister the current database server node. Use SQL*Plus to connect to the database as APPS and run the following command:
Download jre-6u29-linux-x64.bin
run ./jre-6u29-linux-x64.bin mv jre1.6.0_29 jre [oracle@kens-orasql-002-uat bin]$ perl adbldxml.pl tier=db appsuser=apps_applfnd jtop=/hds001/oracle/product/11.2.0.3/dbhome_1/appsutil/jre
Run AutoConfig on Database Tier using adconfig We were getting error in autoconfig while it was running afdbprf.sh and adcrobj.sh sscripts SP2-1503: Unable to initialize Oracle call interface SP2-0152: ORACLE may not be functioning properly adcrobj.sh exiting with status 1 ERRORCODE = 1 ERRORCODE_END Fixed by:
Context Value Management will now update the Context file Updating Context file...COMPLETED Attempting upload of Context file and templates to database...COMPLETED Updating rdbms version in Context file to db112 Updating rdbms type in Context file to 64 bits Configuring templates from ORACLE_HOME ... AutoConfig completed successfully.
Run adstats.sql
As SYSDBA : SQL> shutdown immediate; SQL> startup restrict SQL> @adstats SQL> shutdown immediate; SQL> startup
Note: If host, listener port , database name etc changes then have to run autoconfig on the apps tiers as well