welcome to the oracle enterprise manager technical webcast ... · how to apply the upgrade console...

42
Welcome to the Oracle Enterprise Manager Technical Webcast Series Please ensure that you are connected to the audio portion of this event which is available by dialing: Dial-in US/Canada : ( 888 ) 794 - 4691 Dial In Int'l/Local Toll : ( 706 ) 679 9955 Dial-In Int'l/Local Toll : ( 706 ) 679 - 9955 Password : cloud For local toll free numbers for other countries please visit the following page, http://www.oracle.com/technetwork/oem/grid-control/intercall-audio-dialin-182843.html The meeting will begin in a few minutes. 1

Upload: others

Post on 14-Feb-2021

5 views

Category:

Documents


0 download

TRANSCRIPT

  • Welcome to the Oracle Enterprise Manager Technical Webcast Series

    Please ensure that you are connected to the audio portion of this event which is available by dialing:

    Dial-in US/Canada : ( 888 ) 794 - 4691

    Dial In Int'l/Local Toll : ( 706 ) 679 9955Dial-In Int'l/Local Toll : ( 706 ) 679 - 9955

    Password : cloud

    For local toll free numbers for other countries please visit the following page, http://www.oracle.com/technetwork/oem/grid-control/intercall-audio-dialin-182843.html

    The meeting will begin in a few minutes.

    1

  • Start

    Business-Driven IT Management

    Enterprise Manager Cloud Control 12cTechnical Webcast Series:

    f OPerforming a Zero Downtime Upgrade to Oracle Enterprise Manager 12c

    Ankur Gupta, Akanksha Sheoran - Product Management

  • Safe Harbor Statement

    The following is intended to outline our general product direction. It is intended for information ppurposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material code or functionality and should not bematerial, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or f ti lit d ib d f O l ’ d t ifunctionality described for Oracle’s products remains at the sole discretion of Oracle.

  • Agenda

    • Enterprise Manager 12c Overview• Upgrade Path to Enterprise Manager 12c• Upgrade Requirements pg q• Upgrade Approaches• Upgrade Console patch • Pre-Upgrade Console e Upg ade Co so e

    Key featuresDemo

    • 2-System Upgrade Approach Understand the approach and workflowOMS and Repository upgrade stepsDemo

    P U d l• Post Upgrade console• Q&A• Documentation

  • Enterprise Manager Overview

  • Total Cloud Control

    Complete Lifecycle M t

    Integrated Cloud St k M t

    Business-Driven Application M tManagement Stack Management Management

    Self-Service IT | Simple and Automated | Business Driven| p |

  • Upgrade Path

    Direct Upgrade from 10.2.0.5 or 11.1.0.0 Grid Control

    Out of place upgrade

    Upgrades from previous Upg ades o p e ousreleases, determined by your base release

    Example, Windows 32 bit platforms you can upgrade from 10 1 0 x 0 toyou can upgrade from 10.1.0.x.0 to 10.2.0.2, bypassing the 10.2.0.1 installation

    Refer to Certification MatrixRefer to Certification Matrix available in My Oracle Support

    *Old versions of agents will not work with 12.1 OMS

  • Upgrade Requirements

    • Older versions of agent (< 12c) will not work with 12c OMS The OMS upgrade will happen prior to Agent upgrade• The OMS upgrade will happen prior to Agent upgrade

    • 12c OMS can be on same/different Host • Minimum 12c Infrastructure requirementMinimum 12c Infrastructure requirement

    Minimum Requirements

    12c OMS 12c ManagementAgent q g

    RAM 4GB 512 MB

    Hard Disk 7GB 1GB

    • Always recommend upgrade guide to the customers

    Hard Disk 7GB 1GB

  • Upgrade Approaches

    Complete Cutover With Higher Downtime (Using One System)*• EM OMS and all agents are upgraded at the same time, with some

    downtimedowntime• Both pre-12.1 and 12.1 installations co-exist and only one of them can be

    active at any given point in time• Entire system (agents, OMS, Repository) gets upgraded to 12.1

    i lt lsimultaneously

    Phased Cutover With Minimal Downtime (Using Two Systems)*• Upgrade can be staggered over time, but this incurs minimal monitoring

    downtime• Both pre-12.1 and 12.1 systems co-exist and can be active simultaneously

    until all targets from ‘pre-12.1’ are migrated to 12.1 system in an orderlyuntil all targets from pre 12.1 are migrated to 12.1 system in an orderly fashion.

    • 12.1 system will only contain12.1 agents/targets

    * Henceforward referred to as One-system and Two-system approaches respectively Henceforward referred to as One system and Two system approaches, respectively

  • How to apply the Upgrade Console Patch

    Prereq for applying the patch:i. Opatch version for applying the upgrade patch 10205 should be 10.2.0.5 .Opatch

    number : 6880880 to download it from ARUnumber : 6880880 to download it from ARUii. Opatch version for applying the upgrade patch 11101 should be 11.1.0.8.4

    Opatch number : 6880880 to download it from ARUiii. if the opatch present in 10.2.0.5 or 11.1.0.1 OMS home is lesser that above

    ti d t h i l it ith t hmentioned opatch version replace it with proper opatch

    Set the Environment variables:

  • How to apply the Upgrade Console Patch-1Patch application steps

    1. Copy the upgrade console patch to the OMS machine and unzip the upgrade console patch2. Cd to unzipped location 3. Refer to the Readme for applying the patch and it will be present in unzipped location. Follow

    the Readme religiously ☺4 Stop the OMS4. Stop the OMS5. Apply the patch

  • How to apply the Upgrade Console Patch-2Patch application steps

    1. Copy the upgrade console patch to the OMS machine and unzip the upgrade console patch2. Cd to unzipped location 3. Refer to the Readme for applying the patch and it will be present in unzipped location. Follow

    the Readme religiously ☺4 Stop the OMS4. Stop the OMS5. Apply the patch

  • How to apply the Upgrade Console Patch-3Post Patch application steps:

    If you don't execute Post patch application steps then you will get the pre- upgrade console link in the GC but while clicking on that link you will get an Internal error

    1.Login to database as sys user:Run $ORACLE_HOME/sysman/preupgc/puc_dblink_pkgdef.sqlRun $ORACLE_HOME/sysman/preupgc/puc_dblink_pkgbody.sql

    2.Login to database as SYSMAN user:Run $ORACLE_HOME/sysman/preupgc/pre_upg_console.sql

    Run command $ORACLE_HOME/jdk/bin/java ‐classpath $ORACLE_HOME/sysman/jlib/emCORE.jar:$ORACLE_HOME/sysman/jlib/emagentSDK.jar:$ORACLE_HOME/sysman/jlib/log4j‐core.jar oracle.sysman.emSDK.util.help.BuildMasterHelpSet $ORACLE_HOME/j2ee/OC4J_EM/applications/em/em

    3.Start the OMS. Note that the ORACLE_HOME is the OMS home

  • Demo: Pre-Upgrade console

    DEMODEMOPre-Upgrade console

    a) What are the key featurea) What are the key featureb) Go over Upgrade impact reports

  • Demo Flow and Details

    Phase 1: Upgrade Planning (Manage Software )

    Phase 2: OMS and Repository Upgrade (through runInstaller)

    Phase 3:Mass Agent Upgrade and Switch over

  • 2-System Upgrade2-System Upgrade

  • 2- System approach workflow

    1. Start with existing 10.2.0.5 / 11.1 systemsystem

    2. Apply the Upgrade console patch 3. Deploy 12.1 agents from upgrade

    consoleconsole 4. Backup /restore the repository

    (Manually)5. Deploy / configure OMS (can be on X5. Deploy / configure OMS (can be on different host) and upgrade repository6. Start the 12.1 OMS7. Shutdown the 10.2.0.5 / 11.1 agents

    Backup

    XX

    gincrementally and activate12.1 agents

    8. When all agents are successfully moved, decommission the pre-12.1 OMS

    XOMS

  • 2- Systems Approach – how to restore old system?

    1. You will have your old GC system intact We don't touch your oldintact. We don t touch your old OMS.

    2. We don't touch your repository and it will be up and runningp g

    3. You have to manually start your old agent

    4. You have your old GC back ☺

  • Demo: 1-System Upgrade

    DEMODEMO

    2-System Upgrade

  • Demo Flow and Details

    Phase 1: Upgrade Planning (Manage Software )Phase 1: Upgrade Planning (Manage Software )

    Phase 2: OMS and Repository Upgrade (through runInstaller)

    Phase 3:Mass Agent Upgrade and Switch over

  • Demo: 1-System Upgrade

    DEMODEMO

    2-System Upgrade

    Upgrade Planning (Manage Software )

  • Demo Flow and Details

    Phase 1: Upgrade Planning (Manage Software )Phase 1: Upgrade Planning (Manage Software )

    Phase 2: OMS and Repository Upgrade (through runInstaller)Phase 2: OMS and Repository Upgrade (through runInstaller)

    Phase 3:Mass Agent Upgrade and Switch over

  • Demo: 1-System Upgrade

    DEMODEMO2-System Upgrade

    OMS and Repository Upgrade (through runInstaller)(through runInstaller)

  • OMS and Repository Upgrade-Screen1

  • OMS and Repository Upgrade-Screen2

  • OMS and Repository Upgrade-Screen3

  • OMS and Repository Upgrade-Screen4

  • OMS and Repository Upgrade-Screen5

  • OMS and Repository Upgrade-Screen6

  • OMS and Repository Upgrade-Screen7

  • OMS and Repository Upgrade-Screen8

  • OMS and Repository Upgrade-Screen9

  • OMS and Repository Upgrade-Screen10

  • OMS and Repository Upgrade-Screen11

  • Log FilesLog Files

    Installation logs during upgrade• oraInventory/logs/*.*• /cfgtoollogs/oui/* *• /cfgtoollogs/oui/ .• /tmp/OraInstall/*.*

    Configuration LogsCo gu at o ogs• /cfgtoollogs/cfgfw/*.*

    /cfgtoollogs/cfgfw/CfmLogger_.log

    Specific Component logs• OMS configuration tool logs /cfgtoollogs/omsca/*.* • PluginCA configuration tool logs /cfgtoollogs/pluginca• Repository configuration tool logs• Repository configuration tool logs

    /sysman/log/schemamanager/*• Agent configuration tool logs /cfgtoollogs/cfgfw/*

  • Demo Flow and Details

    Phase 1: Upgrade Planning (Manage Software )Phase 1: Upgrade Planning (Manage Software )

    Phase 2: OMS and Repository Upgrade (through runInstaller)Phase 2: OMS and Repository Upgrade (through runInstaller)

    Phase 3:Mass Agent Upgrade and Switch over Phase 3:Mass Agent Upgrade and Switch over

  • Demo: 1-System Upgrade

    DEMODEMO

    2-System Upgrade

    Mass Agent Upgrade and Switch over

  • Enterprise Manager 12.1 – Post Upgrade StepsSteps

    Post Upgrade Console (from 12.1 Grid Control)Deferred data migration

    • Lazy migration of historical data• Status tracking from post upgrade console • Ability to retry

    Accrued target data migration• Applicable for two-system approach only• Automatic migration of accrued data from old system to 12C

    Diff reports• Configuration or setup-related changes that were manually made to the g p g y

    old system while 2-system upgrade was happening Deleting Old Agents from repository

  • Demo::Post upgrade console

    DEMODEMO

    Post Upgrade Console

  • Documentation and Help

    • Upgrade guide is the single source of truth.

    • EM 12c Upgrade guide available on OTN: http://www.oracle.com/technetwork/indexes/documentation/index.html#em

    Post your queries on forum for any help:• Post your queries on forum for any help: http://myforums.oracle.com/jive3/forum.jspa;jsessionid=8a01b91e30dc54e9d3d2878542859196b34aadeed060.e3mNb38NcheTe3mMbhiQa38Sb40?forumID=4137&start=0

    • Installation and upgrade collateral page on OTNhttp://www.oracle.com/technetwork/oem/install-upgrade-496677.html

    • EM 12.1 Upgrade OTN page to get the required Pre-upgrade console patch and other binaries

    http://www.oracle.com/technetwork/oem/grid-control/downloads/oem-upgrade-console-502238 ht l502238.html

  • For More Information……

    • Oracle Enterprise Manager Cloud Control 12c home pagehttp://www oracle com/technetwork/oem/index htmlhttp://www.oracle.com/technetwork/oem/index.html

    • Installation and Upgrade on OTNhttp://www oracle com/technetwork/oem/install upgrade 496677 htmlhttp://www.oracle.com/technetwork/oem/install-upgrade-496677.html

    • Enterprise Manager 12c live and recorded webcastshttp://www.oracle.com/technology/products/oem/events/webcasts_index.html

    • Enterprise Manager 12c Screenwatcheshttp://www.oracle.com/technetwork/oem/grid-control/webcasts-index-090211.html

    Connect with Oracle Enterprise Manager:F b k | Y T b | Li k di | Bl | T ittFacebook | YouTube | Linkedin | Blog | Twitter

  • Q&A

    Questions and Answers.