Build Two Node Oracle RAC 11gR2 11.2.0.3 With GNS (DNS, DHCP) and HAIP
Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!!...
Transcript of Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!!...
![Page 1: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/1.jpg)
Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades in an E-Business
Suite EnvironmentMichael Brown!
Technical ManagerColibri Limited
!
![Page 2: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/2.jpg)
Who Am I?Over 18 years experience with Oracle
Database!Over 15 years experience with E-Business
Suite!Chair, OAUG Database SIG!Co-Founder AppsPerf!Oracle ACE!Technical Manager, Colibri Limited
![Page 3: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/3.jpg)
Agenda
Introduction!Why!Assumptions!Application Base Level!Daylight Savings!Preupgrade!Upgrade!Post Upgrade
![Page 4: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/4.jpg)
Why do the UpgradeNew Features!Stay on Premier Support!Postpone further upgrades
![Page 5: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/5.jpg)
Desupport DatesDatabase Version Premier
SupportExtended Support
Sustaining Support
9.2 Jul 2007 Jul 2010 Indefinite (9.2.0.8)
10.1 Jan 2009 Jan 2012 Indefinite (10.1.0.5)
10.2 Jul 2010 Jul 2013!10.2.0.4 April 2011
Indefinite (10.2.0.5)
11.1!(11.1.0.7)
Aug 2012 Aug 2015 Indefinite
11.2 Jan 2015!(11.2.0.2 Sep 2012)
Jan 2018 Indefinite
![Page 6: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/6.jpg)
Why do the Upgrade
New Features!Stay on Premier Support!Postpone further upgrades!
Desupport Dates!Get on the Latest Technology!
Wrong Reason!
![Page 7: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/7.jpg)
Assumptions
Linux!Nothing Fancy
![Page 8: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/8.jpg)
Applications Base Level
11.5.10.2!! Baseline!12.0!
12.0.6 (12.0.4 works, but 12.0.6 is baseline)!12.1!
12.1.3 (12.1.1 works, but 12.1.3 is baseline)
![Page 9: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/9.jpg)
11.5.10.2Main Upgrade MOS 881505.1!Minimum Baseline MOS 883202.1!
If you do not meet this level, support may not allow you to!
• log SEV 1 SRs!• get new password protected patches!• receive new bug fixes!• get help on new patches that have issues
![Page 10: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/10.jpg)
11.5.10.2
Upgrade to current JRE 1.6 from JInitiator!MOS 290807.1
![Page 11: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/11.jpg)
R12
Master Document 1058763.1!!
Many R12 patches have the same number!– patches for 12.0 have A in the name!– patches for 12.1 have B in the name!
![Page 12: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/12.jpg)
11i InteroperabilityInteroperability Patch!
8815204!5644137!!
Oracle iStore!6400762
![Page 13: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/13.jpg)
R12 InteroperabilityR12.0!
9868229!9922442!
R12.1!9062910!9151516!9868229!10163753!11071569
![Page 14: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/14.jpg)
R12 Interoperability
Demand Signal Repository!! 12.1.2 with 9182368!Warehouse Builder!! !OWB 11.2.0.1 with 9403153!
![Page 15: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/15.jpg)
Autoconfig
11.5.10.2!9535311!9835302!19182813!
R12.0!9386653!
!
![Page 16: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/16.jpg)
Autoconfig11.5.10.2!
9535311!9834302!
R12.0!9386653!
R12.1!8919489 (included in 12.1.3)!
R12!9738085!9852070!1169265!12686610!
Apply to Database!$AD_TOP/admkappsutil.pl!unzip appsutil.zip in ORACLE_HOME!
![Page 17: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/17.jpg)
Autoconfig
R12!9738085!9852070!1169265!12686610!
Apply to Database!$AD_TOP/admkappsutil.pl!unzip appsutil.zip in ORACLE_HOME!
![Page 18: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/18.jpg)
Daylight SavingsVersion 14!MOS 458452.1 for 11.5.10.2!MOS 563019.1 for R12!MOS 840118.1 for the Database (only if
upgrading source)
![Page 19: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/19.jpg)
Daylight Saving
11.5.10.2!Developer 6i!
• 9005427!– adrelink.sh!
• 9814469!
![Page 20: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/20.jpg)
Daylight SavingR12!
10.1.0.5 versions of patches to 10.1.2 Home!• 7695070!
– cd $ORACLE_HOME/forms/lib!– make -f ins_forms.mk install!
• 9742718!• 6400501!
– ins_reports.mk!– OEL 5, libXtst.so MOS 1087151.1
![Page 21: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/21.jpg)
PreupgradePerformance Baselines!
Clone just prior to upgrade with all stats jobs off!Dictionary Stats!Invalid Objects
![Page 22: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/22.jpg)
11.2.0.3
Must have support to download!Patch 10404530!
Install Database!Install Examples
![Page 23: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/23.jpg)
11.2.0.3
Create nls/data/9idata!nls/data/old/cr9idata.pl!When you switch to the 11g home, ORA_NLS10 must point to the nls/data/9idata directory!
Latest OPatch (6880880)!
![Page 24: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/24.jpg)
11.2.0.3
Latest PSU!11.2.0.3.2 (13696216)!
MOS 1147107.1, EBS patch conflicts with PSU!One Off Patches!
Do not do the post install steps, but record them to apply after the database upgrade!
![Page 25: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/25.jpg)
11.2.0.3.2
One Off Patches!9858539!12942119!12960302!12985184!13001379!13004894!13258936!13366268
![Page 26: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/26.jpg)
11.2.0.3.2
R12!4247037!
CBO Patches from the Database Group!MOS 1392633.1!13656236!13705338!13831007
![Page 27: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/27.jpg)
Upgradeutlu11i.sql!DROP SYS.ENABLED$INDEXES!32 bit/64 bit conversion in the past!
579523.1!DROP SYS.PLAN_TABLE!
565600.1!ORA-1408 on system.repcat
$_audit_column_f2_idx!737400.1!
![Page 28: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/28.jpg)
Upgrade
Make sure native compilation is off!dbua!
Make sure to turn on timezone update
![Page 29: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/29.jpg)
dbua
![Page 30: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/30.jpg)
Old School
MOS 837570.1!Complete Checklist for Manual Upgrades to
11gR2!• Do Everything
![Page 31: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/31.jpg)
Upgrade
Post Upgrade!Do any post upgrade steps from one offs!utlrp.sql!
Init.ora!11.5.10.2 note 216205.1!R12 note 396009.1
![Page 32: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/32.jpg)
UpgradeUpgrade the statistics table!
DBMS_STATS.UPGRADE_STAT_TABLE('APPLSYS','FND_STATTAB')!
Port the listener to the new home!
![Page 33: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/33.jpg)
Upgrade
adgrants.sql!$APPL_TOP/admin/adgrants.sql!sqlplus '/ as sysdba' @adgrants APPS!
CTXSYS!$AD_TOP/patch/q15/sql/adctxprv.sql!sqlplus '/ as sysdba' @adctxprv.sql SYSTEM_PASSWORD CTXSYS!
as sysdba, exec ctxsys.ctx_adm.set_parameter ('file_access_role', 'public');
![Page 34: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/34.jpg)
Upgrade
R12!Validate Workflow Ruleset!
• sqlplus apps @$FND_TOP/patch/115/sql/wfaqupfix APPLSYS APPS!
Implement Autoconfig in 11.2.0.2 home!Run adstats!
startup restrict/bounce!alter system enable/disable restricted session;
![Page 35: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/35.jpg)
Upgrade
Recreate any custom database links!11.5.10.2!
Apply HRMS Patch 7721754!adadmin → Recreate Grants and Synonyms!Concurrent request -> Workflow Directory
Services User/Role Validation
![Page 36: Secrets of Successful Database 11gR2 (11.2.0.3) Upgrades ... · R12 Master Document 1058763.1!! Many R12 patches have the same number! – patches for 12.0 have A in the name! –](https://reader030.fdocuments.in/reader030/viewer/2022040301/5e747ad7a7253b2d20375b0f/html5/thumbnails/36.jpg)
Post Upgrade Support
rman!– BZIP2 can no longer be specified for
compression!• CONFIGURE COMPRESSION ALGORITHM
'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;!
– Check locations!Statistics!Comparison back to baseline