Oracle E-Business Suite 12.2 Administration

Similar documents
E-Business Suite 12.2 Configuration Management II

E-Business Suite 11i Upgrade to and A Technical Comparison

More4Apps Mobile - Installation and Configuration Guide

How to Implement Oracle CPUs for EBS

Author A.Kishore

New Security Features in Oracle E-Business Suite 12.2

Cloning Methods for E-Business Suite 12.1 and 12.2

Oracle E-Business Suite R12.2 Administration

ORACLE APPLICATIONS R12.2, EBR, ONLINE PATCHING - MEANS LOT OF WORK FOR DEVELOPERS. Ajith Narayanan 25 th Feb 2015, Bangalore, India

The Big Picture of the Release Upgrade. Mike Swing CTO TruTek

OAUG Webinar: E-Business Suite New Oracle ADClone 12.2 Options. Oracle E-Business 11i/12.1/12.2 Six Easy Steps -- Now Three Easy Steps

R12.2 Development and Deployment of Customizations

E-Business Cloning Six Easy Steps, Now Three Easy Steps. Michael Brown BlueStar

Grid Control Patch Set Step by Step Install On Linux

Oracle WebLogic Server 12c: Administration I

Question No : 1 Which three are the correct definitions of the objects in the Oracle Applications database?(choose three.)

Upgrade Oracle Applications from R to R12.1.2

Fusion Applications Installations Lessons Learned #701. Todd Siler

Welcome to the Oracle Enterprise Manager

Installation and Configuration Guide

... Oracle E-Business Suite installation and upgrade to on IBM Power S824 with POWER8 processors and AIX 7.1

Oracle E-Business Suite: Migration to Oracle VM Template Based Deployment

Setup Middleware as a Service using EM12c

Oracle WebCenter Portal Jump Start Kit (JSK) Readme for Linux 64-bit Operating Systems

Oracle 1Z0-238 Exam Questions and Answers (PDF) Oracle 1Z0-238 Exam Questions 1Z0-238 BrainDumps

Oracle Exam 1z0-238 R12 Oracle: Install, Patch and Maintain Oracle Applications Version: 5.0 [ Total Questions: 225 ]

OEM Provisioning An Introduction

Oracle Secure Enterprise Search

How to Deploy an Oracle E-Business Suite System in Minutes Using Oracle VM Templates

Exam Name: Oracle 11i Install, Patch and Maintain Applications Exam Type: Oracle Exam Code: 1Z0-233 Total Questions: 116

OEM12c Overview for DBA

Masterclass: WebLogic Server for OAS Administrators

What every DBA needs to know about JDBC connection pools Bridging the language barrier between DBA and Middleware Administrators

Advanced Deployment Architectures for Oracle E-Business Suite

Adding an Additional Node to an existing Oracle Applications Instance Using Rapidclone

Virtualizing Oracle on VMware

Fusion Applications: Redefining the Technology Stack

<Insert Picture Here> E-Business Suite Technology Stack Certification Roadmap

What s New for Oracle Database 11gR2 on Windows?

APPLIES TO: PURPOSE SCOPE DETAILS. 1 of 7 1/28/ :32 PM. Master Note For Oracle Database Upgrades and Migrations (Doc ID

ORACLE RAC DBA COURSE CONTENT

Oracle Fusion Middleware

Virtualizing Oracle E-Business Suite Through Oracle VM. Kai Yu Oracle Solutions Engineering Dell Inc.

Accenture Enkitec Group PATCHING ORACLE MARTIN BACH #DOAGDB17

Oracle Database Appliance

Alain Fuhrer Oracle Database Administrator Swiss Mobiliar Insurance

Twist and Turn to Upgrade 11i E-Business Suite from Windows 32-bit to Rel on Linux

Oracle Fusion Middleware

EM 12c: Broadest, Most Complete Range of Enterprise Services

Oracle Fusion Middleware

Oracle WebLogic Server Management and Operations in Oracle E-Business Suite 12.2

Cloning Oracle Applications Environments. Introduction. AutoConfig Components.

W H I T E P A P E R : T E C H N I C AL. Symantec High Availability Solution for Oracle Enterprise Manager Grid Control 11g and Cloud Control 12c

Oracle 10g and IPv6 IPv6 Summit 11 December 2003

<Insert Picture Here> Exadata MAA Best Practices Series Session 12: Exadata Patching & Upgrades

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

SOA Cloud Service Automatic Service Migration

What s Next with Oracle RAC?

Enterprise Manager Cloud Control 12c Release1 ( ) Installation Akanksha Sheoran Product Management

Database Services at CERN with Oracle 10g RAC and ASM on Commodity HW

Safe Harbor Statement

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

12.1 Multitenancy in real life

R12 Upgrade Best Practices & Tips to Reduce Downtime

Staged APPL_TOP approach - Key to achieve tolerable downtime for Oracle Apps migrations

CO Oracle WebLogic Server 12c. Administration II. Summary. Introduction. Prerequisites. Target Audience. Course Content.

Oracle Support for IBM Linux on System Z Update

Gunes EROL-

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

GoldenGate Zbigniew Baranowski

SAP Bundle Patches - Patch Management with Oracle 12c Subtitle

<Insert Picture Here> Maximum Availability Architecture (MAA) Best Practices: Online Patching and Rolling Upgrades with Oracle Database

Informatica Developer Tips for Troubleshooting Common Issues PowerCenter 8 Standard Edition. Eugene Gonzalez Support Enablement Manager, Informatica

Oracle Database 12c: Clusterware & ASM Admin Accelerated Ed 1

Diplomado Certificación

Expert Oracle GoldenGate

Upgrade Oracle Applications from to R12.1.1

Oracle WebLogic Server 11g: Administration Essentials

Oracle Database 12c: Clusterware & RAC Admin Accelerated Ed 1

Enterprise Manager: Scalable Oracle Management

Experiences with OracleVM 3.3

Virtualizing Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips

Welcome to the Oracle Enterprise Manager Technical Webcast Series

Oracle Enterprise Manager

MAA SOA EDG 12c. FMW MAA Team. Copyright 2016, Oracle and/or its affiliates. All rights reserved.

1Z Oracle Application Grid 11g Essentials Exam Summary Syllabus Questions

Oracle Hyperion Enterprise Performance Management System Security Administration Guide

Oracle Application Server 10g Forms Reports

<Insert Picture Here> Oracle MAA und RAC Best Practices und Engineered Systems

Maximum Availability Architecture. Oracle Best Practices for High Availability

Author A.Kishore Upgrade Oracle Applications from to R12

Table of Contents HOL-PRT-1463

Solution-in-a-box: Deploying Oracle FLEXCUBE v12.1 on Oracle Database Appliance Virtualized Platform ORACLE WHITE PAPER JULY 2016

Don t get it right, just get it written.

Oracle Fusion Middleware

<Insert Picture Here> Reduce Problem Resolution Time with Oracle Database 11g Diagnostic Framework

What you will learn. interface clients. Learn To:

Sql 2005 User's Guide Oracle 11g Release 2

The Challenges of Oracle Cloning. Safa Alak Consulting System Engineer

Modernize Your Backup and DR Using Actifio in AWS

Transcription:

Oracle E-Business Suite 12.2 Administration Prepared by: Ivo Dujmovic Ivo@patchivo.com Entrepreneur Patchivo, Interana REMINDER Check in on the COLLABORATE mobile app

About the Presenter Ivo Dujmovic Patchivo : 12.2 PatchStatus free iphone app Specialized tools delivering insight into IT ivo@patchivo.com Interana : Hadoop accelerator for customer behavior analytics Stealth VC-backed startup ivo@interana.com Formerly Oracle Snr Director of Development Managed development organization for EBS Administrative functionality: Install, Cloning, Configuration, Patching, EM plugins, OAM, isetup, TechStack Wrapped up 12.2 to pursue entrepreneurship Holds Online Patching patents

Main Changes from 12.0/1 to 12.2 Re-platforming to FMW 11, DB 11.2 same WLS, webtier, DB as used by Fusion Applications Fusion applications use a different FND core version Native consumption of technology Install: bootstraps then defers to native tech installs Configuration: bootstraps then defers to native tech config Cloning: wraps native tech cloning 10.1.2 Forms & Reports considered EBS internal Online Patching Uses EBR from 11.2 of DB New concepts to EBS: dual FS, FS cloning Cheat sheet for Online Patching

Fusion Middleware (FMW) 11g WebLogic Server (WLS) 11g BEA acquisition, first partially integrated version Key concepts Admin Server manages Managed Servers (farm) Managed Servers have local copy of config, apps if Admin Server is unavailable Industry leadership due to great administrative functionality Deploy new version of staged App from AS to select MS s Run two versions side-by-side or preview new version with secret url Roll-back to previous version if needed

Other Technology WebTier delivers Oracle HTTP Server, aka Apache 2.2 Needed for mod_security Database 11.2 was the latest at development time, as well as the first delivering EBR, the key feature for Online Patching Grid Install concept: Lay down grid infrastructure (storage management, fast network interconnects) prior to installing the database binaries on top Forms & Reports 10.1.2 Same as in other R12 releases Forms servlet deployed to WLS instead of OC4J

12.2 Install Preparation Virtualization makes sense virtualbox with 64b Linux 9GB mem for the install; otherwise hard to troubleshoot bugs Platform install doc has gotcha s listed Hostname/network sensitivity even more pronounced OS patching and settings: install 32b libs before 64b ones Staging script When downloading zip files You do not need all You should not unzip them your self Start with startcd and follow readme See blog on patchivo.com for more tips & details

Dual File System File System: 1 R2 File System: 2 Oracle HTTP Server WebLogic Server Developer 10.1.2 APPL_TOP COMMON_TOP INST_TOP Edition-Based Redefinition Synchronization managed by patching tools Oracle HTTP Server WebLogic Server Developer 10.1.2 APPL_TOP COMMON_TOP INST_TOP File System: Non Editioned APPL_TOP_NE PATCH_TOP LOGS

12.2 File System for Install $ ls /oracle ebs122 orainventory stage $ ls /oracle/stage/ zipmedia client Disk1 EBSInstallMedia misc startcd current Disk2 examples patches TechInstallMedia database Disk3 gateways readme.htm TechPatches deinstall Documents grid README.txt wls1036_generic.jar

12.2 File System: FS1, FS2, FS_NE $ cd /oracle/ebs122/ $ ls EBSapps.env fs1 fs2 fs_ne VIS $. EBSapps.env E-Business Suite Environment Information ---------------------------------------- RUN File System : /oracle/ebs122/fs1/ebsapps/appl PATCH File System : /oracle/ebs122/fs2/ebsapps/appl Non-Editioned File System : /oracle/ebs122/fs_ne DB Host: ip-10-28-88-207.ec2.internal Service/SID: VIS

12.2 Key Environment Variables FILE_EDITION=run RUN_BASE=/oracle/ebs122/fs1 PATCH_BASE=/oracle/ebs122/fs2 CONTEXT_FILE=/oracle/ebs122/fs1/inst/apps/VIS_i p-10-28-88-207/appl/admin/vis_ip-10-28-88-207.xml ADMIN_SCRIPTS_HOME=/oracle/ebs122/fs1/inst/apps /VIS_ip-10-28-88-207/admin/scripts

FS1 - File System One $ ls fs1 EBSapps FMW_Home inst $ ls fs1/ebsapps/ 10.1.2 appl comn $ ls fs1/inst/ apps $ ls fs1/inst/apps/vis_ip-10-28-88-207/ admin appltmp logs out portal soa appl conf_vis.txt ora pids rgf temp

Instance Top of FS1 $ ls fs1/inst/apps/vis_ip-10-28-88-207/appl admin fnd $ ls fs1/inst/apps/vis_ip-10-28-88-207/appl/admin/ adovars_vis_ip-10-28-88-207.env oamextensions.xml cutover/ forms-c4ws_wls.properties forms_wls.properties fsclone_config.txt oacore_wls.properties ojspcompile.conf ojspcompile.properties VIS_ip-10-28-88-207_patch.txt VIS_ip-10-28-88-207_run.txt VIS_ip-10-28-88-207.xml oafm_wls.properties

FS_NE Non-Editioned File System $ ls fs_ne EBSapps inst $ ls fs_ne/ebsapps/ appl log patch $ ls fs_ne/ebsapps/appl/ ad $ ls fs_ne/ebsapps/log adop adopreports $ ls fs_ne/inst/ VIS_ip-10-28-88-207 $ ls fs_ne/inst/vis_ip-10-28-88-207/ certs logs oracle_common soa

12.2 Database File System $ ls EBSapps.env fs1 fs2 fs_ne VIS $ ls VIS/ 11.2.0 checkpoints data diag $ ls VIS/checkpoints/ $ ls VIS/diag/ asm clients crs diagtool lsnrctl netcman ofm rdbms tnslsnr VIS/11.2.0 is the database ORACLE_HOME

12.2 Admin Scripts $ ls $ADMIN_SCRIPTS_HOME 01041419.log adexecsql.pl adstpall.sh jtffmctl.sh adadminsrvctl.sh adformsrvctl.sh adstrtal.sh msc adalnctl.sh admanagedsrvctl.sh cz64bitengine.pl mwactl.sh adapcctl.sh adnodemgrctl.sh gsmstart.sh mwactlwrpr.sh adautocfg.sh adopmnctl.sh ieo sqlnet.log adcmctl.sh adpreclone.pl java.sh $ ls /oracle/ebs122/vis/11.2.0/appsutil/scripts/vis_ip-10-28-88-207/ adautocfg.sh addbctl.sh adexecsql.pl adpreclone.pl adstrtdb.sql adchknls.pl addlnctl.sh adlsnodes.sh adstopdb.sql

New Cloning Type: FS Clone Clone an Instance: Prod to Copy-of-Prod, Test1 to Test2 Clone a Node: scale-out, rolling upgrades New: Clone a File System Replicate one File System on a node, from the other File System on that node Instance and Node Cloning still copy bits for only one FS At target bits are recycled for creating both FS s

ADOP AD Online Patching $ which adop /oracle/ebs122/fs_ne/ebsapps/appl/ad/bin/adop $ adop -help Applications DBA Online Patching Tool (adop) Usage: adop [phase=<phase,phase,...>] [patches=<patch#,patch#,...>] [<parameter>=<value>...] [input_file=<filename>] Enter adop -examples for a detailed list of parameters and their usage. See Oracle E-Business Suite Maintenance Guide for a full description of adop features, operation, and usage.

Online Patching Affects DBA s Life Traditional Patching involved: scheduling downtime, kicking off users, stopping services, applying patch, restarting services Online Patching allows for patch application to happen during online use: Schedule quiet time to apply patch, bounce services Downtime slims to 5-20mins range, easier to schedule If applying patchsets, load can be non-negligible Target 1 RAC node (similar to reporting node ) Apply patches during quiet periods Adworker count logic is improved, but can still be manually set No workshifts/ramp-up

ADOP Phases Standard phases: prepare apply finalize cutover cleanup - Prepare the instance for patch application. - Apply patches (to the patch edition). - Ready the instance for cutover. - Make the patch edition the new run edition. - Drop obsolete objects and data from old editions. Special phases: abort - Abort the current patching cycle. actualize_all - Create new copies of all code objects in the patch edition. fs_clone - Copy the run file system to the patch file system.

ADOP Phase Parameters Apply parameters: patches=<patch#>[,<patch#>...] A single patch or comma-separated list of patches to apply. This parameter is required when executing the apply phase. For language patches, you must also specify the driver file: patches=10124646_ar:10124646.drv,10124646_ko:10124645.drv restart=(yes no) [default: no] Resume a failed apply action where processing left off. abandon=(yes no) [default: no] Re-apply a failed patch from the beginning. Finalize parameters: finalize_mode=(full quick) [default: quick] Quick mode will provide the shortest execution time, by

More ADOP Phase Parameters Finalize parameters: finalize_mode=(full quick) [default: quick] Quick mode will provide the shortest execution time, by skipping non-essential additional actions. Full mode performs additional actions such as gathering statistics, which may improve performance after cutover. Cutover parameters: mtrestart=(yes no) [default: yes]. Specifies whether to restart application tier servers after cutover. Leave at default unless performing manual steps during downtime. Cleanup parameters:

More ADOP Phase Parameters Cleanup parameters: cleanup_mode=(full quick) [default: quick] Quick mode provides the shortest execution time, by skipping non-essential additional actions. Full mode performs additional processing to remove all unused code, data, and old editions. May take a long time. General parameters apply to all phases: workers=<number> [default: computed] Number of parallel workers used to execute tasks. Default value is computed principally according to number of available CPU cores.

All ADOP Phases: Shared Parameters input_file=<file_name> As well as being entered directly on the command line, adop parameters can be specified in a text file, with one <parameter>=<value> on each line of the file. Examples: phase=prepare,apply,finalize,cutover,cleanup patches=123456 workers=4 Command line parameters override input file parameters. loglevel=(statement procedure event warning error unexpected) [default: event] Controls the level of diagnostic log detail displayed.

More Shared Parameters allnodes=(yes no) [default: yes] Specifies whether actions should be executed on all application tier nodes of a multi-node system. action=(db nodb) [default: db] Specifies whether to execute database actions (as well as file system actions). -status [<session_id>] Display status of the latest adop session, or a specified session. -help -examples

Adop Examples Complete patching cycle, running each phase separately: adop phase=prepare adop phase=apply patches=12345,67890 workers=4 adop phase=finalize workers=4 adop phase=cutover workers=4 adop phase=cleanup Complete patching cycle, running all phases in a single adop command: adop phase=prepare,apply,finalize,cutover,cleanup patches=12345 Complete patching cycle, specifying all parameters in an input_file: adop input_file=adop2013_05_13.txt

Online Patching Cycle - Cutover Cutover Requires a Brief Downtime Middle-tier processes stopped End Users are disconnected File system roles swapped Patched (FS-2) promoted to Run FS-1 available for next patching cycle Database Patch Edition promoted to Run Edition Middle-tier processes restarted Users reconnect

Great Presentation on Online Patching Slides with red corner from Kevin Hudson s: https://oracleus.activeevents.com/2013/connect/sessiondetail.w w?session_id=8432

ADOP Special Phases abort - Abort the current patching cycle. actualize_all - Create new copies of all code objects in the patch edition. fs_clone - Copy the run file system to the patch file system.

ADOP Behind The Curtain: Prepare Prepare Checks if cleanup was run after last cutover If not, runs it now Checks what was done to the other FS (currently run) Patches applied Configuration changed (both EBS and WLS,Webtier) Redoes those on this FS: patches applied and configuration cloned Checks if there was an aborted session on this FS (current patch) Losses confidence in the patchfs, so calls fs_clone to recreate the patchfs from the runfs

ADOP Behind the Curtain: Apply Apply Applying many patches within a single list merges them To apply patches without merging, use separate adop calls Applying many patches unassisted in test systems Use abandon = yes Cutover Does a finalize first if it was not run as last action before cutover Run finalize before cutover Runs certain (deferred) db actions from patch apply Duration of cutover can be impacted by patches applied in cycle

Hotpatching Apply a patch to runfs with your historical hotpatching processes adop phase=apply hotpatch=yes patches= Must be done outside normal patching cycle, so if you already did a prepare, you need to do a cutover (empty cycle) Empty cycle does not require an fs_clone unlike the other option: abort current cycle Not recommended unless you are really sure in what you are doing: review the patch, read all files delivered and actions listed in driver (some actions are not really documented) Know which users will be connected Bounce processes

Patching Many Nodes Adop automatically synchronizes patching across nodes FS_NE is shared across nodes, with patches and logs Sharing the file system amongst many nodes is possible to the extent that the underlying technologies allow it DB has Oracle Home sharing Webtier / Apache 2.2 is easy to share WLS has some competing infrastructure Rolling patching is possible, but has no benefit

Applying Technology Stack Changes [worse] Outside a patching cycle it should be done to the Run file system Followed by an FS_Clone to separate propagation of change from patching [better] Within the patching cycle After prepare finishes, perform on target Patch file system Applies to techstack config as well, although those changes should be automatically detected and propagated

Custom Code Patching During ADOP cycle Apply to Patch FS Register files in FS_NE/EBSapps/appl/ad/custom/adop_sync.drv Will propagate from Run to Patch FS

Special Cutover Processing See doc or code for pre-cutover and post-cutover hooks You can hang your special cutover processing functionality

Q & A

Oracle E-Business Suite 12.2 Administration Session ID#: This is a subtitle for the presentation that can be extended to three lines Prepared by: Joseph Josephine Head of Oracle Product Usage Acme Manufacturing REMINDER Check in on the COLLABORATE mobile app