Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1.

Similar presentations


Presentation on theme: "Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1."— Presentation transcript:

1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1

2 Oracle Fusion Middleware Upgrade: Best Practices & Strategy Renga Rengarajan - Oracle Director of Product Management and Architecture Michael Rubino – Oracle Senior Director Software Engineering

3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4 Program Agenda  Introduction & Strategy – Developing an upgrade strategy  Using the Upgrade Assistant – Upgrading to the latest 11g patch release – Upgrading to the 12c release

5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5 Terminology  Upgrade – Moving from a previous major version to a new major version, (ie: 11g to 12c) OR a minor version to a new minor version (ie: 12.1.2 to 12.1.3)  Patching – Copies a small number of files over an existing installation. – Updating from one patchset release to another patchset (ie: 11.1.1.4.0 to 11.1.1.5.0)  Migration – Migration typically involves moving from a third-party (non-Oracle) product to an Oracle product or across hardware platforms.

6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6 12c Upgrade – Features Upgrade Procedure Simplified upgrade steps with complete automation Consistent steps across all products Aggregate handling – upgrading domain as a whole User Experience No need for parallel infrastructure – “in- place” upgrade Separation of installation from upgrade Separation of mid- tier upgrade from schema upgrade Error recovery – re-runnable (idempotent) upgrade operations Preservation of Artifacts Complete preservation of user deployed artifacts – no redeployment Complete preservation of transactions and state information – no data loss Compatibility Complete public API backward compatibility Complete binary compatibility – no need to recompile

7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7 Developing an Upgrade Strategy 1. Familiarize yourself with the Oracle Upgrade documentation. 2. Consider compatibility and interoperability requirements 3. Review the valid upgrade starting points 4. Identify the tools needed for upgrade 5. Understand the differences between source and target topologies (ie:FMW11g, FMW 12c) 6. Develop a backup plan

8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8 Upgrade Documentation Library

9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9 Consider Compatibility & Interoperability Requirements  Collect the release and version numbers for installed products  Check the “Supported Configurations” matrix (Available on Oracle Technology Network)Oracle Technology Network  Understand which components installed in your deployment will be upgraded  Decide when components will be upgraded  Check that any dependent databases are supported by the FMW release you are upgrading to. Upgrade underlying DB’s first.

10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10 Upgrade Starting Points  You can upgrade to Oracle Fusion Middleware Release 12c (12.1.2) from the following previous versions of Oracle Fusion Middleware 11g: – Oracle Fusion Middleware 11g Release 1 (11.1.1.7.0) – Oracle Fusion Middleware 11g Release 1 (11.1.1.6.0)  WLS Domain Upgrade Starting Point – Your WLS domain must be at least version 10.3.5  HTTP Server Upgrade Starting Point – You can upgrade your Oracle HTTP Server 11g (11.1.1.6.0, 11.1.1.7.0)

11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11 Tools Used During the Upgrade Process  Oracle Universal Installer (OUI) – The upgrade process begins by installing a new 12c product set  Repository Creation Utility (RCU) – Use this tool to create schemas in your database. Certain schemas may need to be created before attempting an upgrade  Oracle FMW Upgrade Assistant (UA) - Use this tool to upgrade your supported 11g schemas and WebLogic domain component configurations  Oracle Reconfiguration Wizard - Use this tool to reconfigure the domain when upgrading WLS

12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12 Key Differences Between 11g & FMW 12c  OPMN is no longer used in Oracle Fusion Middleware, replaced by Node Manager  Redefinition of the Oracle home and elimination of the Middleware home  Oracle Web Cache is no longer part of Oracle Fusion Middleware

13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13 Develop a Backup Plan  Consider backing up your freshly installed 12.1.2 Oracle home directory and any other created artifacts.  After stopping the 11g servers and processes, back up your 11g environment, including…. – Middleware Oracle home directory, including the Oracle product home directories – Local Domain home directory, your local Oracle instances, and remote Domain home and Oracle instances  Schema Upgrades – Often the underlying database must be upgraded first. Always backup the DB before upgrading the schemas.

14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14 Program Agenda  Introduction & Strategy – Developing an upgrade strategy  Using the Upgrade Assistant – Upgrading to the latest 11g patch release – Upgrading to the 12c release

15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15 Tools For Patching and 11g Patchset Updates ToolDescription OPATCHOpatch copies a small collection of files over your existing installation WebLogic Server Upgrade InstallerUpdates your existing Oracle WebLogic Server installation to the latest available version Patch Set InstallerUpdates an existing product to the latest version. (ie: update to 11.1.1.6.0) Patch Set AssistantUpdates database schemas to prepare them for use with the latest version of Oracle Fusion Middleware software.

16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16 11gR1 Patchset Updates  General Process – Shut-down servers – Update of the 11gR1 installation through patchset installers – Perform in-place update of schemas through Patch Set Assistant – Start-up servers  Note – No requirement to rebuild custom binaries (SOA composites, ADF applications, etc…) – Best effort to minimize schema updates – Best effort to minimize manual updates at the domain level

17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 17 Oracle SOA Suite 11g Patchset Update 1 2 3 4 5

18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18 Program Agenda  Introduction & Strategy – Developing an upgrade strategy  Using the Upgrade Assistant – Upgrading to the latest 11g patch release – Upgrading to the 12c release

19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 19 Tools For Upgrading to 12c ToolDescription Oracle Universal InstallerUsed to install 12c Fusion Middleware Productsincluding WebLogic Server Repository Creation Utility (RCU)Used to create schemas in the database. Certain schemas may need to be created before attempting an upgrade Upgrade Assistant (UA)Updates database schemas as well as Fusion Middleware component configuration Reconfig WizardUpdates the WebLogic Server domain configuration for the latest release

20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 20 12c Upgrade – High Level Flow Prepare Stop all 11g servers Take a complete backup of 11g environment Pre-upgrade Install 12c products into a new Oracle Home Create any new schemas – RCU Upgrade Upgrade Schemas – Upgrade Assistant Reconfigure domain – Reconfig Wizard Start Admin Server Upgrade Config – Upgrade Assistant Post-upgrade Propagate upgraded domain config to other nodes – Pack/Unpack Start the upgraded servers

21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 21 12c Upgrade – “In-place” and “out-of-place”  Binary installation is out-of-place  As in previous releases, schema upgrades are either in-place or out-of- place, depending on the schema being upgraded – this is automatically determined by the system  Config upgrades, including the domain, are upgraded in-place – Creation of a parallel destination configuration (domain, system components, etc… is no longer required) – Existing domains can be reconfigured as part of the in-place upgrade flow Note: If desired, an “out-of-place” upgrade may be accomplished by creating a comparable target destination, and running an upgrade in that environment

22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 22 FMW 12c Upgrade Assistant  FMW Upgrade Assistant redesigned for 12.1.2 release – Complete separation of installation from upgrade – Complete separation of mid-tier upgrade from schema upgrade – Two-phase upgrades through examination phase – Simplify – Combine UA & PSA into single tool  Full GUI support for upgrading & patching – Highlight upgrade dependencies  Choosing SOA, highlights need for dependent MDS upgrade – Ability to upgrade more than one schema at a time – Upgrade Assistant supports Edition Based Redefinition (EBR) for FMW DB schemas to provide high availability upgrade of FMW components.

23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 23 Upgrade Candidates  The UA provides a list of components that are candidates for upgrade  Run the UA from the oracle_common/upgrade/bin directory of your FMW 12c (12.1.2) installation – For schema upgrade: The UA examines install directories and identifies all possible candidate schemas to be upgraded. When a schema is chosen, any dependent schema will also be selected. – For component configuration upgrades: The UA prompts for, and connects to the WebLogic Administration Server to determine the list of components that are configured and candidates for upgrade.

24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 24 12c Upgrade – Directory Structure Oracle Home ODI Product Home SOA Product Home Oracle Common UA Binaries Point SOA Binaries SOA UA Plugin ODI Binaries ODI UA Plugin UA Descriptor files $OH/upgrade/bin directory $OH/plugins/upgrade/ UA Descriptor files UA Descriptor files Infrastructure UA Plugins UA Descriptor files $OH/plugins/upgrade/

25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 25  Upgrade Assistant will be installed into the oracle_common area of the FMW home in the oracle_common/upgrade/bin directory.  On Unix, start the UA by typing:./ua  UA will provide a list of all schemas available for upgrade  Choose one or more schemas Schema Selection Schema Upgrade

26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 26  This option is available when the UA is run from an Oracle home that contains managed WebLogic domain components  Enter credentials for the domain you want to upgrade  In release 12.1.2 use this option to upgrade: – Oracle HTTP Server – Oracle Web Services Manager  All candidates are upgraded when performing a configuration upgrade Weblogic Component Configuration Component Configuration Upgrade

27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 27  This option is available if running the UA from an Oracle home that contains standalone system components.  Standalone components are not associated with a managed WebLogic domain in 11g  OHS, for example, may be configured to run standalone Standalone Components Standalone System Component Upgrade

28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 28  In addition to creating a domain, you must create a new node manager  Specify the credentials for the node manager to be created Node Manager Standalone System Component Upgrade (2)

29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 29  The UA examines and verifies that components are ready for upgrade.  You should ensure all components are ready for upgrade before proceeding  Examine is a “read-only” operation. No changes are made to the source or target Examine Phase Examining Components

30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 30  Review the “Upgrade Summary” screen carefully, ensuring the correct components and options are selected  Select the “Save Response File” option to create a response file for later use  Click “Upgrade” to start the process Performing the upgrade Upgrading Components

31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 31  Response files collect all the information entered through the UA GUI, and can perform them later -response (specifies response file name) -examine (Optionally perform examine phase only) -loglevel, –logdir (Optional logging parameters to specifiy level of log detail and directory) Using UA Response files Silent Upgrades With Response Files

32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 32  Ensure all components were successfully upgraded  Check the documentation to see if any post upgrade manual operations are required  Verify that the upgraded environment functions as expected Completing the upgrade Post Upgrade Steps & Verification

33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 33 Graphic Section Divider

34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 34

35 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 35


Download ppt "Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1."

Similar presentations


Ads by Google