oracle e-business suite r12.2.6 on database 12c: install, patch and administer

52
© Tieto Corporation Public Public Oracle E-Business Suite R12.2.6 on Database 12c Install, Patch and Administer Andrejs Karpovs Lead Applications DBA

Upload: andrejs-karpovs

Post on 18-Jan-2017

133 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

licP

ublic

Oracle E-Business Suite R12.2.6 on Database 12cInstall, Patch and Administer

Andrejs KarpovsLead Applications DBA

Page 2: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

About me• Lead Oracle Apps DBA / Architect

• In DB/Middleware/EBS since 2008• Works at Tieto• Oracle Certified Master 11g• Oracle ACE• Speaker at worldwide conferences

• UKOUG since 2011,• COLLABORATE since 2014,• OUGH, UKOUG_IRE

• Social media• Twitter: @AndrejsKarpovs• Blog: adbaday.wordpress.com

2

Page 3: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Overview (I)

3

Page 4: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Overview (II)

4

Page 5: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

licP

ublic

Installation

Page 6: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Where to start?

• Oracle E-Business Suite Release 12.2 Technology Stack Documentation Roadmap (Doc ID 1934915.1)

• Useful E-Business Suite 12.2 Documents (Doc ID 1585889.1)

• Official docs

6

Page 7: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

7

Page 8: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Server preparation

• Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 Note 1330701.1

• oracle-rdbms-server-12cR1-preinstall• oracle-ebs-server-R12-preinstall

• available on the 'addons' /etc/yum.repos.d

8

Page 9: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Staging area (I)

9

Page 10: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Staging area (II)

• R12.2: How To Create the Stage In Preparation For Installation (Doc ID 1596433.1)

• Download startCD 12.2.0.51, patch 22066363 • always check for a latest startCD

• Unzip only startCD, use ./buildStage.sh• Create staging area• Copy patches to staging area• Make sure all media files are present

• VISION• PROD

10

Page 11: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

11

Page 12: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Installation (I)

12

Page 13: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Installation (II)

13

Page 14: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Installation (III)

14

Page 15: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Installation (IV)

15

Page 16: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Installation (V)

16

Page 17: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

• Shipped with RMAN backup instead of zipped datafiles• Can be installed directly to RAC /w ASM• make sure clusterware is healthy and properly configured• additional workaround might be needed

• Latest startCD comes with JDK/JRE 7• Decreased build up time• Do not add secondary application tier node during installation• OVM templates do exist

Installation: Summary

17

Page 18: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Installation: extra storage options for DB?

• No problems with rapidwiz

• You can also use a “create database” statement

18

Page 19: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Installation: Best recommendation

• Never ever rely on your own documentation• Crosscheck requirements and new component versions

before each and every new installation• Consult Oracle E-Business Suite Release 12.2.6 Readme

(Doc ID 2114016.1)

19

Page 20: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

20

Page 21: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

21

Page 22: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

licP

ublic

Post Installation

Page 23: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Overview

• Latest rapidWiz comes with 12c database (12.1.0.2)• singletenant

• FMW 11.1.1.9.0• rapidWiz delivered EBS 12.2.0

• Latest available is 12.2.6• 12.2.0 can be directly upgraded to 12.2.6• not an online patch• In case of RAC installation, extra steps

• srvctl setenv ...• sqlnet.ora

23

Page 24: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

• Fix Timestamp Mismatch Issues for Synonym, View, Package and Package Body, Patch 17268684

• Apply Consolidated Seed Table Upgrade, Patch 17204589:12.2.0• Update current view snapshot before patch

• Run ETCC - EBS Technology Codelevel Checker against RDBMS home and Apps tier

• Patch 17537119 - always check for latest version before running to be updated on the bugs list

• Oracle E-Business Suite Release 12.2: Consolidated List of Patches and Technology Bug Fixes (Doc ID 1594274.1) - contains required patches

• Apply mandatory db and apps patches, run ETCC again• ETCC will store data in DB, therefore mandatory for further steps

High Level Plan (I)

24

Page 25: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

25

Page 26: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

26

Page 27: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

High Level Plan (II)

• Apply Patches: DB, WLS, FMW• Apply AD and TXK updates

• Always check for latest available AD and TXK updates• Upgrade to R12.2.6 (offline patch)• Apply additional critical patches (if any) / optional• Perform cutover, fs_clone• Backup

27

Page 28: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Patching process (I)

• Database and Fusion Middleware patches• latest version of opatch• opatch apply• check README for any post steps

• Weblogic• take latest available PSU (10.3.6.0.x)• Master Note on WebLogic Server Patch Set Updates (PSUs) (Doc ID

1470197.1)• Application Patches

• adop• hotpatch where instructed so

28

Page 29: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

29

Page 30: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Post Patching: Recommendation

• Use getMOSPatch.sh script• https://www.pythian.com/blog/getmospatch-v2-is-here/

• Save your precious time

30

Page 31: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Beware (I)

• lsnrctl reload $ORACLE_SID

31

Page 32: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Beware (II)

• SQLNET.EXPIRE_TIME=1

32

Page 33: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

licP

ublic

Administration

Page 34: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Administration (I)

• Try to avoid it until R12.2.6 is applied• Begin with . EBSapps.env run/patch• Note the file system you are in• Note the changes in directory structure

34

Page 35: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Administration (II)

35

/u01/vis/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS

Page 36: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

• Weblogic console• Fusion Middleware Control• AFPASSWD• $ADMIN_SCRIPTS_HOME

• adstrtal.sh• adstpall.sh• adadminsrvctl.sh start forcepatchfs• adnodemgrctl.sh

Administration (III)

36

Page 37: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

• Not all the files and configurations are under autoconfig control anymore. WLS managed configuration files include:

• httpd.conf• admin.conf• ssl.conf• ...

• Change the value in WLS -> run adSyncContext.pl. -> run autoconfig

• adProvisionEBS.pl -> provision EBS settings to WLS• adRegisterWLSListeners.pl run in background and syncs values

between WLS and CONTEXT_FILE

Administration (IV): autoconfig

37

Page 38: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Administration (V)

• APPS password change - should be updated also in WLS datasource

• Shut down the application tier services• Change the APPLSYS password• Start AdminServer using the adadminsrvctl.sh script from

your RUN filesystem• Do not start any other application tier services.• Update the “apps” password in WLS Datasource as follows

38

Page 39: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Administration: Integrations

• Simplified Look & Feel• Better integration with OAM and OID• Build-in OHS and WLS• No need to install additional components• Add Webgate on top of R12.2 OHS• Add AccessGate wls managed server into EBS_Domain• Less complexity

39

Page 40: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Administration: Cloning

• Not much difference from R12.1• FMW_Home handled by WLS utilities• adpreclone.pl creates a clone stage of FMW_Home• adcfgclone builds new FMW_Home on target via WLS

utilities• dualfs option

• perl adcfgclone.pl appsTier dualfs• clone the Run and Patch file systems in a single operation

40

Page 41: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Administration: Customizations

• Creating a Custom Application in Oracle E-Business Suite Release 12.2 (Doc ID 1577707.1)

• Developing and Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1)

• download IZU patch (3636980)• fill in the template files• use adsplice

41

Page 42: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

licP

ublic

Patching

Page 43: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Patching (I)• ADOP Initially introduced as revolutionary breakthrough in patching

mechanisms with zero downtime required for patching• It appears that downtime is still needed (10-20 minutes depending on

environment size, hardware resources, etc.)• downtime mode introduced gradually• hotpatch still exists

• official statement is that every R12.2 patch is online patch• exceptions• R12.2.6 release update (+downtime)• if Oracle states so

• built in merge option• patches under $PATCH_TOP (fs_ne)

43

Page 44: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Patching

44

Page 45: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Patching (II)

45

Page 46: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Patching (III)• Download patch to $NE_BASE/EBSapps/patch directory $PATCH_TOP• Prepare the system for patching: $ source <EBS_ROOT>/EBSapps.env $ adop phase=prepare• Apply a patch $ adop phase=apply patches=<patch_list> merge=yes• After all patches have been successfully applied, complete the patching cycle: $ adop phase=finalize $ adop phase=cutover $ source <EBS_ROOT>EBSapps.env run $ adop phase=cleanup• Synchronize the technology level between patch and run file systems: $ adop phase=fs_clone

46

Page 47: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Patching: experiences• Overall patching time increased• Problems with Applications multi-node environments

• Do not enable multi-node during installation• Not possible to instantly allow patch to finish even if some object,

form or report failed• flags=autoskip

• abandon=yes restart=no -> restart from beginning• abandon=no restart=yes -> continue from failed point

• check adctrl before• forceapply

47

Page 48: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Patching enhancements

48

Page 49: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Latest features (I)

• Weblogic server performance enhancements• Script to change Weblogic password• $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -

action=updateAdminPassword• adopmon

49

Page 50: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Latest features (II)

50

adop phase=prepare sync_mode=delta (w/ ignore list)

16 characters

63 characters

Page 51: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

lic

Latest features (III)

• Oracle E-Business Suite Applications DBA and Technology Stack Release Notes for Release 12.2.6 (Doc ID 2149555.1)

• Oracle E-Business Suite Applications DBA and Technology Stack Release Notes for R12.AD.C.Delta.8 and R12.TXK.C.Delta.8 (Doc ID 2159750.1)

51

Page 52: Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer

© Tieto Corporation

Pub

licP

ublic