understanding enterprise manager 12.1.0.2 upgrade · title: understanding enterprise manager...

40
Enterprise Manager Cloud Control 12c Release2 (12.1.0.2) Upgrade

Upload: others

Post on 22-Jun-2020

30 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 1

Enterprise Manager Cloud Control 12c Release2 (12.1.0.2)

Upgrade

Page 2: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 2

Agenda

§  Binaries for Upgrade process

§  Upgrade paths to EM 12.1.0.2 a)  10.2.0.5 /11.1.0.1 à 12.1.0.2

I.  What’s new in Pre-Upgrade console

b)  12.1.0.1 (with/without bp1 patches) à 12.1.0.2

i.  Agent Upgrade Console

ii.  Step by Step Demo for 12.1.0.1 à 12.1.0.2

iii.  Troubleshooting

c)  Documentation

Page 3: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 3

Binaries for Upgrade process § All the upgrade specific binaries are available on OTN:

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

§ Pre-Upgrade console will support : –  Plugin opar files

–  Agent zip file

Page 4: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 4

Upgrade paths to EM 12.1.0.2 §  Following are the upgrade paths supported:

a)  10.2.0.5 à 12.1.0.2

b)  11.1.0.1 à 12.1.0.2

c)  12.1.0.1 (with bp1 patches) à 12.1.0.2 bp1 is not mandatory

d)  12.1.0.1 (without bp1 patches) à 12.1.0.2 bp1 is not mandatory

§  EM binaries for all the platforms are available ( No need to wait for platforms)

§  OMS to Agent versions compatibility Agentà OMS↓

12.1.0.1 12.1.0.2

12.1.0.1

12.1.0.2

Page 5: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 5

Upgrade Path

§ The Upgrade process remains same : –  1-system Upgrade

–  2-system Upgrade

–  1-system Upgrade on diff host

§  You have to download the pre-upgrade console patch from OTN

§  Go through the steps from pre-upgrade console

§  Follow the steps from Post upgrade console

§  Refer the Upgrade guide for details

10.2.0.5 à 12.1.0.2 and 11.1.0.1 à 12.1.0.2

Page 6: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 6

§ Added new link to show the agents installed after repository back up time, which will not participate in upgrade process

New in Pre-Upgrade console Upgrade path : 10.2.0.5 à 12.1.0.2 and 11.1 à 12.1.0.2

Page 7: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 7

•  Link to show agents broken targets •  Link on dashboard to show the Last Submitted Jobs

New in Pre-Upgrade console Upgrade path : 10.2.0.5 à 12.1.0.2 and 11.1 à 12.1.0.2

Page 8: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 8

•  Provided option in deploy page to ignore deploy prerequisites •  Provided an option to cleanup failed deployments

New in Pre-Upgrade console Upgrade path : 10.2.0.5 à 12.1.0.2 and 11.1 à 12.1.0.2

Page 9: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 9

Upgrade Path

§ Upgrading from 12.1.0.1 to 12.1.0.2 is an EM upgrade with downtime

§ Upgrade options supported : 1-System only

§ Upgrade to 12c Release 2 (12.1.0.2) is an out-of-place upgrade

§ High level steps: Step 1: Bring down your 12.1.0.1 OMS and invoke EM 12.1.0.2 runInstaller

Step 2: Upgrade your OMS and repository (Use1-system option in Installer)

Step 3: You will get Agent upgrade console ( AUC) in the EM 12.1.0.2 console

Step 4: Use AUC to upgrade your 12.1.0.1 agents to 12.1.0.2

12.1.0.1 (with / without bp1 patches) à 12.1.0.2 bp1 is not mandatory

Page 10: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 10

Upgrade Path

§ Plug-ins installed in 12.1.0.1 EM will be Upgraded when newer version of plug-in exists during upgrade

§ New Plug-ins will be installed by default if any of the plug-ins that will be upgraded has a dependency.

§ User can select new plug-ins for deployment during OMS upgrade.

12.1.0.1 (with / without bp1 patches) à 12.1.0.2 bp1 is not mandatory

Page 11: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 11

Demo Upgrading EM 12.1.0.1 to EM 12.1.0.2 on Linux x86 (32 bit) Phase 1 : Upgrade OMS and Repository Phase 2 : Upgrade Agents to 12.1.0.2

Page 12: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 12

Upgrade process

Phase 1 : Upgrade OMS and Repository

Phase 2 : Upgrade Agents to 12.1.0.2

12.1.0.1 (with / without bp1 patches) à 12.1.0.2 bp1 is not mandatory

Page 13: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 13

Page 14: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 14

Step 1 § Make sure that you take backup of your EM 12.1.0.1 OMS home, software

library, central inventory and repository

§ Download the EM 12.1.0.2 binaries from OTN and invoke the runInstaller on the host where you have EM 12.1.0.1

§  Shutdown your 12.1.0.1 OMS by running the command: $<OMS_HOME>/bin/emctl stop oms -all

Note: if you don’t shutdown OMS, the installer will prompt you to stop it in further screens

Page 15: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 15

Step 2

§ Uncheck the option “I Wish to receive security update” and click Next

Page 16: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 16

Step 3 §  It is recommended that you search for the updates. Provide the

username/password and click Search for updates

§  If there any updates available then apply the updates and click Next

Page 17: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 17

Step 4 § Execute the system specific pre-requisites. Once all of them are

successfully click next . Don't ignore any failure or warning

Page 18: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 18

Step 5 §  Select “Upgrade an existing Enterprise manager system ” and select the existing OMS home,

click Next . Note select 1-system upgrade option, if you choose 2-system then installer will give you a pop up message in the forthcoming screens

Page 19: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 19

Step 6 §  Upgrade to 12c Release 2 (12.1.0.2) is an out-of-place upgrade, therefore you must either

select an existing middleware home (where Enterprise Manager is not already installed) or enter a new middleware home where Oracle WebLogic Server and Java Development Kit are installed.

Page 20: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 20

Step 7 § Provide the passwords for the SYS and SYSMAN user accounts of

the database that houses the Management Repository for the selected OMS

Page 21: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 21

Step 8 §  Installer will throw warning, error if the existing database doesn’t meet the requirements. In EM 12.1.0.2 the installer also has the ability to fix some of these error.

Page 22: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 22

Step 9

§  Plugins upgraded to new version as a part of EM upgrade

§  Plugins for which newer version are not available, will be migrated from old EM 12.1.0.1 to EM 12.1.0.2

Page 23: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 23

Step 10 § Select the optional plug-ins you want to deploy in addition to the plug-

ins that will automatically be upgraded while upgrading the OMS.

Page 24: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 24

Step 11 § Provide weblogic details

Page 25: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 25

Step 12 § Review the Detail and click Next

Page 26: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 26

Page 27: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 27

Agent Upgrade console (AUC)

§  Agent Upgrade console is single-window solution to mass-upgrade

your existing agents across platform

§  Make sure that agent software is downloaded using self update

§  Upgrade an Agent from 12.1.0.1 to 12.1.0.2

§  All deployed plugins on 12.1.0.1 agent will be upgraded

§  Central agent ( default agent with OMS) is also upgraded using AUC

Page 28: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 28

Agent Upgrade console (AUC)

§  Agent Upgrade will be §  In-place with respect to the Agent Base Directory

§  Out-of-place with respect to agent oracle home

§  In-place with respect to the instance home

§ You cannot upgrade a Agent in the following scenarios: §  The Management Agent is not up and running

§  The Management Agent is not secure

§  The new Management Agent software is not present in Oracle Software Library

Page 29: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 29

Step 1

§ Log into the EM 12.1.0.2 console

§ Navigate to Setup àselect Manage Cloud Control àselect Upgrade Agents

Page 30: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 30

Step 2 •  Click “Not Upgradable Agents” this page displays the Management Agents that cannot be upgraded, and other details about these Management Agents, such as why they cannot be upgraded, what you can do to upgrade them, and so on

Page 31: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 31

Step 3 §  Click Add and select the agents for upgrade

Page 32: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 32

Step 4

§ Click on the sign “ “ to view the list of plugins that will be upgraded along with agent

Page 33: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 33

Step 5

§ Click Submit to submit the job

Page 34: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 34

Step 6 § Click on Agent upgrade result to monitor the progress

Page 35: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 35

Log file location for Agent Upgrade Console

§  <INSTANCE_HOME>/sysman/log/emoms.trc

§  <INSTANCE_HOME>/sysman/log/emoms.log

§  <NEW_ORACLE_HOME>/cfgtoollogs/agentDeploy/agentDeploy_<timeStamp>.log

§  <AGENT_BASE_DIR>/ plugins_upgrade.txt.status

§  Plugin Upgrade Configuration Logs: $AGENT_INSTANCE_HOME/install/logs/agentplugindeploy_<timestamp>.log

Page 36: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 36

Troubleshooting (on click of Plugins)

Fig 1: No certified plug-ins exist for the agent.

Fig 2: Unsupported plug-ins on 12.1.0.1 agent will be notified upon click of ‘plugins’ icon.

Page 37: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 37

Troubleshooting (on click of Submit)

Fig 3: When one of the shared agents is down, the other agents will not be selected for upgrade.

Fig 4: Platforms RHEL4, OEL4, SUSE10 [64 bit O/S]

requires 32 bit agent image.

Page 38: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 38

Troubleshooting (on click of Submit) Fig 5: Reasons for not running <NEW_ORACLE_HOME> /root.sh on upgraded agent.

Fig 6: Plug-in prerequisite checks.

Page 39: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 39

Documentation § Upgrade guide is the single source of truth

§ Always refer to the Upgrade guide

§ You can get the Install guide from: http://www.oracle.com/technetwork/indexes/documentation/index.html#em

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

§  Installation and Upgrade collateral page on OTN http://www.oracle.com/technetwork/oem/install-upgrade-496677.html

Page 40: Understanding Enterprise Manager 12.1.0.2 Upgrade · Title: Understanding Enterprise Manager 12.1.0.2 Upgrade Author: Oracle Subject: Understanding Enterprise Manager 12.1.0.2 Upgrade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 16 40