SlideShare une entreprise Scribd logo
1  sur  67
Télécharger pour lire hors ligne
Migrating from Oracle
Enterprise Manager 10g
  to 12c Cloud Control
       Leighton L. Nelson
About Me
•    Oracle DBA for 10+ years
•    Oracle RAC SIG US Events Chair/IOUG Liaison
•    Blogs at blogs.griddba.com
•    Started presenting in 2012 (Collaborate 12)
Agenda
•  Oracle Enterprise Manger Cloud Control12c
   Architecture
•  Upgrade Path
   •  Overview
•  Pre-Requisites
   •  Patches
   •  Certification Matrix
•  2-System Upgrade
   •  Repository Database Upgrade
   •  OMS Migration & Upgrade
•  Lessons Learned
•  Managing Databases (Demo)
Current and Proposed States
•  Current Architecture (IBM JS21 Blades)
      •    OMS – 10.2.0.5 / AIX 6.1
      •    Repository Database – 11.1.0.6 / AIX 6.1
      •    Agents – 100 (AIX + Linux)
      •    Targets – 500+
•  Proposed Architecture (VMware vSphere)
      •    OMS – 12.1.0.2 / RHEL 6.2
      •    Repository Database – 11.2.0.3 / RHEL 6.2
      •    Agents – 100 (AIX + Linux)
      •    Targets – 500+


•  Database + OS + EM Upgrade = Trinity!
Enterprise Manager 12c Upgrade
Paths
•  1-System Upgrade
   •  Upgrade done on same host as 10.2.0.5/11.1 EM
   •  All agents, OMS and repository upgraded at once
   •  Requires significant downtime
•  2-System Upgrade
   •  New OMS created on separate host (platform migration
      possible)
   •  Both 10.2.0.5/11.1 and 12.1 EM run concurrently
   •  Requires almost zero downtime
   •  Migrates existing metrics, jobs, report etc.
Which Path to Choose?
•  Migrate/consolidate onto
   VMware
•  EM 10.2.0.5 primary monitoring
   tool for Oracle databases.
   Minimal downtime required
•  User-defined metrics, scheduled
   reports and jobs in EM 10.2.0.5.
   Don’t want to recreate
Upgrade Overview
1.  Apply Upgrade Console patch to 10.2.0.5 OMS
2.  Deploy 12.1 agents to monitored targets from
    Upgrade Console
   •  Only 12c agents monitored by EM 12c
3.  Backup repository database. This will be used as the
    12.1 repository.
   •  DBCA, RMAN can be used for backups (same platform)
   •  Datapump, Cross-Platform tablespaces/databases (different
      platforms)
4.  Install and upgrade OMS on new RHEL 6.2 host
5.  Shutdown 10.2.0.5 agents and startup 12c agents
6.  Decommission 10.2.0.x agents/OMS or rollback
Upgrade Overview
Pre-requisites
•  Patches
   •  OMS requires PSU 3 or higher
       •  opatch lsinventory –bugs_fixed | grep PSU
   •  Pre-Upgrade Console
•  Certification Matrix
   •  Database, OMS, Agent and OS
•  Plug-ins and agent software
   •  Plug-ins required can be identified from the Upgrade
      Console Manage Software
   •  Plug-ins will be migrated/upgraded to new OMS
   •  Agents required for each OS being monitored
Pre-requisites
Certification Matrix
Pre-requisites
2-System Upgrade
Repository Database Upgrade
•  The EM installer does not
   upgrade the database
•  Database can be upgraded
   before EM upgrade or after
   repository backup




11.1.0.6	

               11.2.0.2
2-System Upgrade
Apply Pre-Upgrade Console Patch
2-System Upgrade
2-System Upgrade
Identify Host and Port for new EM System
2-System Upgrade
Manage Software
All targets and agents should be upgradeable.
2-System Upgrade
Manage Software
Check for missing agents or plug-ins
2-System Upgrade
Backup Repository
•  DBCA or RMAN recommended
   •  Unlock SYSMAN account if using DBCA
   •  Duplicate from Active feature in 11g makes cloning DB easy
•  For cross-platform migration take a look at note
   388090.1
   •  Datapump instructions not specific to EM12c repository
      upgrade (Open SR with Oracle Support)
   •  Cross platform transportable tablespaces instructions not
      specific to EM12c repository upgrade (Open SR with Oracle
      Support)
   •  RMAN Convert database also possible for supported
      platforms
2-System Upgrade
Backup Repository
•  Using an existing database via Datapump
   •  Enterprise Manager schema needs to be removed from
      target database first
$OMS_HOME/sysman/admin/emdrep/bin/RepManager
  omshost port SID -sys_password <password> -action
  drop
•  Not all objects dropped in some cases
    •  See MOS NOTE [ID 1365820.1]
•  EM 12c R2 has a database template
2-System Upgrade
Backup Repository
•  Copy emkey to repository before taking backup
   emctl config emkey –copy_to_repos –sysman_pwd <password>
   •  Re-secure emkey after taking the backup
•  Verify that SYSMAN schema doesn’t contain invalid
   object
   SELECT count(*) from user_objects
   WHERE status=‘INVALID’
2-System Upgrade
Provide Repository Backup Details
2-System Upgrade
Upgrade OMS and Repository Manually
•  Check pre-requisites for the intended 12.1 repository
   using EM Prereq Kit
   •  EM Prereq Kit can validate database parameters and
      configuration prior to upgrade
      e.g. install/requisites/bin/emprereqkit -executionType
     upgrade -prerequisiteXMLLoc install/requisites/list -
     connectString
     "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
     (HOST=dbhost1)(PORT=1521)))(CONNECT_DATA=(SID=emrep)))"
     -dbUser SYS -dbPassword -dbRole sysdba -showPrereqs
   •  Some parameters can be automatically adjusted (e.g.
      process)
   •  The utility is also run automatically by OUI
2-System Upgrade
Upgrade OMS and Repository Manually
Repository Database Pre-requisites
•  Verify your initialization parameters
   •  PROCESSES parameter is at least 300. The installer can also make the
      changes if desired.
   •  Set JOB_QUEUE_PROCESSES to 0 (temporarily)
   •  Set SHARED_POOL_SIZE to 700MB or greater
   •  PGA_AGGREGATE_TARGET should be at least 1GB
   •  SGA_TARGET should be at least twice PGA_AGGREGATE_TARGET
   •  Grant execute on DBMS_RANDOM to DBSNMP and SYSMAN
   •  Unlock ORACLE_OCM account

•  Increase your redo log size to at least 300MB due to
   the high level of transactions during the repository.
•  Check to make sure your emkey is in the repository
2-System Upgrade
•  Check to make sure your emkey is in the repository
     SQL> select count(*) from MGMT_REPOS_TIME_COEFFICIENT;

     COUNT(*)

     ----------
     1

  TIP
   Create guaranteed restore point on both the old and
   new repository database so that changes can be
   easily flashed back;
   create restore point PRE_OMS_UPGRADE guarantee
     flashback database;
2-System Upgrade
Upgrade OMS and Repository Manually
OMS Server Verification
•  Verify that server meets pre-requisites
   •  Check ulimit to make sure it’s at least 4096
       •  ulimit –n
•  If using RHEL 6 or Oracle Linux 6 – make sure you
   have the following package installed or else your
   installation may fail at OMS Configuration Assistant.
   •  glibc-2.12-1.47.0.2.el6_2.12.x86_64
       •  See MOS Note: EM12c: Installation Fails On Linux 6 at "Start
          Oracle Management Service" step (Doc ID 1472216.1) for
          workaround
2-System Upgrade
Upgrade OMS and Repository Manually
cd /stage/
./runInstaller
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
                                rpm -qa|grep glibc-2.12-1.47

                                glibc-2.12-1.47.el6.x86_64

                                glibc-2.12-1.47.el6.i686
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually

  •  EM Prereq Kit generates false warnings for ORACLE_OCM
     account if it has expired and processes parameter if less
     than 1000!!
  •  Run EM Prereq Kit manually and double check database
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
2-System Upgrade
Upgrade OMS and Repository Manually
•  At the end of the installation you can verify whether if
   the OMS is running.
   /u01/app/oracle/Middleware/oms/bin/
   emctl status oms -details
2-System Upgrade
Post-Upgrade
2-System Upgrade
Post-Upgrade
•  Both old and new OMSs are running
2-System Upgrade
2-System Upgrade
Post-Upgrade
•  Create a DB link between the old and new
   repositories
•  Upgrade Console in old EM creates/recreates link
•  The link between the two repositories allows
   operations performed on the old repository to be
   propagated to the new repository.
•  Link also enables DDMP and ADDMP
2-System Upgrade
•  Create DB Link
   •  Connect descriptor found in MW_HOME/gc_inst/em/EMGC_OMS1/
      emgc.properties
   e.g. /u01/app/oracle/Middleware/gc_inst/em/EMGC_OMS1/emgc.properties
•  Remove escape characters
   $ cat emgc.properties |grep EM_REPOS_CONNECTDESCRIPTOR
   EM_REPOS_CONNECTDESCRIPTOR=(DESCRIPTION=(ADDRESS_LIST
      =(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521)))
      (CONNECT_DATA=(SID=sid)))
2-System Upgrade
Agent Upgrade Steps
•  EM12c only communicates with 12c agents
•  Deploy and configure 12c agents
•  Generate and sign off on health check reports
•  Switch over the agents to the new EM System.
   •  Brief outage incurred while 10g agents are stopped and 12c
      agents are started
2-System Upgrade
Deploy and Configure Agents
2-System Upgrade
View Job status
2-System Upgrade
Verify and signoff
2-System Upgrade
Verify and signoff
2-System Upgrade
Verify and sign off Health Report
2-System Upgrade
Verify and sign off Health Report
2-System Upgrade
Switch Agents
2-System Upgrade
Status of agents before switchover in old EM & new EM
2-System Upgrade
View status of Switch Agents Job
2-System Upgrade
After switchover agents status is up in EM 12c
Very minimal (< 1 minute) monitoring downtime!
2-System Upgrade
Post-Upgrade Steps
•  Stop the OCM Scheduler in the 10.2.0.5 OMS
•  Delete Obsolete targets (via console or EMCLI)
   •  EM Website
   •  EM Website System
   •  Oracle Application Server target of 10g OMS ORACLE
      HOME consisting of:
      •    Oracle Application Server
      •    OC4J
      •    Oracle HTTP Server
      •    Web Cache
•  Delete default incident Rule sets
2-System Upgrade
Post-Upgrade Console
•  Location changed in 12.1.0.2.0
   •  In 12.1.0.1.0 go to Setup -> Post Upgrade Tasks
   •  In 12.1.0.2.0 go to Setup->Manage Cloud Control->Post
      Upgrade Tasks




          12.1.0.1.0	

                       12.1.0.2.0
2-System Upgrade
Post-Upgrade Console
•  Track the status of Accrued Data Migration (ADMP)
   job
•  ADMP is data accrued since the repository backup
   and agent switchover
2-System Upgrade
Post-Upgrade Console
•  Track the status of Deferred Data Migration (DDMP)
   job
•  DDMP is historical metrics, configuration data which
   is moved over time (lazy migration)
2-System Upgrade
Post-Upgrade Console
•  Diff Report
   •  Shows configuration differences between old and new OMS
•  Sign Off
   •  Removes old 10.2.0.5 agents
Reports Migration
Jobs Migration
How far did the rabbit hole go?
•  Host level jobs on 10.2.0.5 EM should work before
   starting agent deployment
   •  Configure PAM on Linux/UNIX for 3rd party authentication if
      in use. E.g. LDAP, Kerberos, SecureID
   •  Configure Privilege Delegation Provisioning (PDP). i.e. sudo
      or Powerbroker for easier deployment
•  Verify that OMS host server can send emails for
   notifications
   •  Some servers require authentication for SMTP relay
•  Cross-platform repository migration is your
   responsibility!
•  Complex but not scary. Read instructions carefully.
•  Test, Test and Test Again!
Managing Databases with EM12c

•  Demo
•  Website - blogs.griddba.com
•  LinkedIn – Leighton Nelson
•  Twitter - @leight0nn
•  Email: leighton.nelson@mercy.net
References
•    OTN Enterprise Manager Page
•    Announcing Enterprise Manager Cloud Control 12c Release 12.1.0.1
     Bundle Patch 1(BP1) and 12.1.0.2 Plug-ins [ID 1395505.1]
•    Upgrade Advisor: Enterprise Manager 2-System Upgrade from 10.2.0.5
     or from 11.1.0.1 to 12.1.0.1 [ID 327.1]
•    EM 12c: Upgrading to Enterprise Manager Cloud Control 12.1.0.1 on
     Linux x86_64 with the 2-System Method [ID 1367919.1]
•    Grid Control Repository: Steps for Cross Platform Migration of the 10g
     Grid Control Repository [ID 388090.1]
•    EM12c R2: How to Upgrade to EM 12c R2 - Two System Method [ID
     1363162.1]
•    EM 12c R2: How to Apply Upgrade Console Patch for Upgrading to EM
     12.1.0.2 [ID 1362537.1]
•    Grid Control Repository: How to Recompile Invalid SYSMAN Objects?
     [ID 372706.1]
SAVE THE DATE!

     COLLABORATE 13
      April 7-11, 2013
Colorado Convention Center
     Denver, Colorado

http://collaborate13.ioug.org

Contenu connexe

Tendances

Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White PaperConfiguring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Leighton Nelson
 
Oracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c OverviewOracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c Overview
Fred Sim
 

Tendances (20)

Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White PaperConfiguring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
 
Enterprise manager 13c
Enterprise manager 13cEnterprise manager 13c
Enterprise manager 13c
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAs
 
Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016
 
Upgrading Em13c Collaborate 2016
Upgrading Em13c Collaborate 2016Upgrading Em13c Collaborate 2016
Upgrading Em13c Collaborate 2016
 
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
Configuring Oracle Enterprise Manager Cloud Control 12c for High AvailabilityConfiguring Oracle Enterprise Manager Cloud Control 12c for High Availability
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry Osborne
 
Em13c New Features- Two of Two
Em13c New Features- Two of TwoEm13c New Features- Two of Two
Em13c New Features- Two of Two
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!
 
Em13c New Features- One of Two
Em13c New Features- One of TwoEm13c New Features- One of Two
Em13c New Features- One of Two
 
Oracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c OverviewOracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c Overview
 
Oracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid CloudOracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid Cloud
 
Professional SharePoint Solution Deployment with PowerShell
Professional SharePoint Solution Deployment with PowerShellProfessional SharePoint Solution Deployment with PowerShell
Professional SharePoint Solution Deployment with PowerShell
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
SPSD SharePoint Solution Deployer
SPSD SharePoint Solution DeployerSPSD SharePoint Solution Deployer
SPSD SharePoint Solution Deployer
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
 
Weblogic12 c installation guide
Weblogic12 c installation guideWeblogic12 c installation guide
Weblogic12 c installation guide
 

En vedette

Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Alfredo Krieg
 
Boost your APEX Deployment and Provisioning with Docker
Boost your APEX Deployment and Provisioning with DockerBoost your APEX Deployment and Provisioning with Docker
Boost your APEX Deployment and Provisioning with Docker
Steven Grzbielok
 
MT AG: 7 gute Gründe warum Apex
MT AG: 7 gute Gründe warum ApexMT AG: 7 gute Gründe warum Apex
MT AG: 7 gute Gründe warum Apex
MT AG
 
3852 It In2018 V4
3852 It In2018 V43852 It In2018 V4
3852 It In2018 V4
Anuradha
 
Hope Phones slides
Hope Phones slidesHope Phones slides
Hope Phones slides
joshnesbit
 
Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...
Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...
Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...
Tony Freeman
 

En vedette (20)

Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
 
MT AG: Sesam oeffne Dich
MT AG: Sesam oeffne DichMT AG: Sesam oeffne Dich
MT AG: Sesam oeffne Dich
 
APEX für den Oracle DBA
APEX für den Oracle DBAAPEX für den Oracle DBA
APEX für den Oracle DBA
 
Boost your APEX Deployment and Provisioning with Docker
Boost your APEX Deployment and Provisioning with DockerBoost your APEX Deployment and Provisioning with Docker
Boost your APEX Deployment and Provisioning with Docker
 
MT AG: 7 gute Gründe warum Apex
MT AG: 7 gute Gründe warum ApexMT AG: 7 gute Gründe warum Apex
MT AG: 7 gute Gründe warum Apex
 
MT AG Präsentation Rapid Application Development mit APEX 5
MT AG Präsentation Rapid Application Development mit APEX 5MT AG Präsentation Rapid Application Development mit APEX 5
MT AG Präsentation Rapid Application Development mit APEX 5
 
Oracle Enterprise Manager Security: A Practitioners Guide
Oracle Enterprise Manager Security: A Practitioners GuideOracle Enterprise Manager Security: A Practitioners Guide
Oracle Enterprise Manager Security: A Practitioners Guide
 
3852 It In2018 V4
3852 It In2018 V43852 It In2018 V4
3852 It In2018 V4
 
Hope Phones slides
Hope Phones slidesHope Phones slides
Hope Phones slides
 
Branding in Digital marketing's Point of View
Branding in Digital marketing's Point of ViewBranding in Digital marketing's Point of View
Branding in Digital marketing's Point of View
 
MiM Slideshow
MiM SlideshowMiM Slideshow
MiM Slideshow
 
Oracle 12c SPM
Oracle 12c SPMOracle 12c SPM
Oracle 12c SPM
 
MAC Furniture by Sonu Vishwakarma
MAC Furniture by Sonu VishwakarmaMAC Furniture by Sonu Vishwakarma
MAC Furniture by Sonu Vishwakarma
 
Tangible User Experience
Tangible User ExperienceTangible User Experience
Tangible User Experience
 
Interactive Data Visualization with Tangible User Interface
Interactive Data Visualization with Tangible User InterfaceInteractive Data Visualization with Tangible User Interface
Interactive Data Visualization with Tangible User Interface
 
Tangible User Interface
Tangible User Interface Tangible User Interface
Tangible User Interface
 
Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...
Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...
Global Trends in Medical Device and Diagnostic OEM Strategy and Implications ...
 
Tangible User Interface Showcase
Tangible User Interface ShowcaseTangible User Interface Showcase
Tangible User Interface Showcase
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.
 
APEX 5.0, und sonst?
APEX 5.0, und sonst?APEX 5.0, und sonst?
APEX 5.0, und sonst?
 

Similaire à Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control

Configuration / Patching of EM 12c
Configuration / Patching of EM 12cConfiguration / Patching of EM 12c
Configuration / Patching of EM 12c
Jon Petter Hjulstad
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
LarryZaman
 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
Paresh Patel
 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slides
Saiful
 
Monitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_TutorialMonitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_Tutorial
Tim Vaillancourt
 

Similaire à Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control (20)

E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
 
Collaborate2
Collaborate2Collaborate2
Collaborate2
 
Configuration / Patching of EM 12c
Configuration / Patching of EM 12cConfiguration / Patching of EM 12c
Configuration / Patching of EM 12c
 
Identity and Access Management Deployment using Lifecycle Management (LCM)
Identity and Access Management Deployment using Lifecycle Management (LCM)Identity and Access Management Deployment using Lifecycle Management (LCM)
Identity and Access Management Deployment using Lifecycle Management (LCM)
 
IUG ATL PC 9.5
IUG ATL PC 9.5IUG ATL PC 9.5
IUG ATL PC 9.5
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
 
ONE Automation Platform - v11 Features and Functions
ONE Automation Platform - v11 Features and FunctionsONE Automation Platform - v11 Features and Functions
ONE Automation Platform - v11 Features and Functions
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
Best practices in Deploying SUSE CaaS Platform v3
Best practices in Deploying SUSE CaaS Platform v3Best practices in Deploying SUSE CaaS Platform v3
Best practices in Deploying SUSE CaaS Platform v3
 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
 
PCA_Admin_Presentation-1.pptx
PCA_Admin_Presentation-1.pptxPCA_Admin_Presentation-1.pptx
PCA_Admin_Presentation-1.pptx
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technology
 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slides
 
Installation of EM 12c
Installation of EM 12cInstallation of EM 12c
Installation of EM 12c
 
How to Install and Use MMS
How to Install and Use MMSHow to Install and Use MMS
How to Install and Use MMS
 
3 10 morgan
3 10 morgan3 10 morgan
3 10 morgan
 
les12.pdf
les12.pdfles12.pdf
les12.pdf
 
Monitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_TutorialMonitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_Tutorial
 

Plus de Leighton Nelson

Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsOracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Leighton Nelson
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Learning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox WhitepaperLearning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox Whitepaper
Leighton Nelson
 
Learning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBoxLearning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBox
Leighton Nelson
 

Plus de Leighton Nelson (12)

IOUG Collaborate 2015 - PDB Cloning Using SQL Commands
IOUG Collaborate 2015 - PDB Cloning Using SQL CommandsIOUG Collaborate 2015 - PDB Cloning Using SQL Commands
IOUG Collaborate 2015 - PDB Cloning Using SQL Commands
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
 
A Second Look at Oracle RAC 12c
A Second Look at Oracle RAC 12cA Second Look at Oracle RAC 12c
A Second Look at Oracle RAC 12c
 
PDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service ApplicationPDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service Application
 
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
 
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsOracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
SQL Developer for DBAs
SQL Developer for DBAsSQL Developer for DBAs
SQL Developer for DBAs
 
Learning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox WhitepaperLearning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox Whitepaper
 
Learning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBoxLearning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBox
 
Looking at RAC, GI/Clusterware Diagnostic Tools
Looking at RAC,   GI/Clusterware Diagnostic Tools Looking at RAC,   GI/Clusterware Diagnostic Tools
Looking at RAC, GI/Clusterware Diagnostic Tools
 
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One NodeOracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control

  • 1. Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control Leighton L. Nelson
  • 2. About Me •  Oracle DBA for 10+ years •  Oracle RAC SIG US Events Chair/IOUG Liaison •  Blogs at blogs.griddba.com •  Started presenting in 2012 (Collaborate 12)
  • 3. Agenda •  Oracle Enterprise Manger Cloud Control12c Architecture •  Upgrade Path •  Overview •  Pre-Requisites •  Patches •  Certification Matrix •  2-System Upgrade •  Repository Database Upgrade •  OMS Migration & Upgrade •  Lessons Learned •  Managing Databases (Demo)
  • 4. Current and Proposed States •  Current Architecture (IBM JS21 Blades) •  OMS – 10.2.0.5 / AIX 6.1 •  Repository Database – 11.1.0.6 / AIX 6.1 •  Agents – 100 (AIX + Linux) •  Targets – 500+ •  Proposed Architecture (VMware vSphere) •  OMS – 12.1.0.2 / RHEL 6.2 •  Repository Database – 11.2.0.3 / RHEL 6.2 •  Agents – 100 (AIX + Linux) •  Targets – 500+ •  Database + OS + EM Upgrade = Trinity!
  • 5. Enterprise Manager 12c Upgrade Paths •  1-System Upgrade •  Upgrade done on same host as 10.2.0.5/11.1 EM •  All agents, OMS and repository upgraded at once •  Requires significant downtime •  2-System Upgrade •  New OMS created on separate host (platform migration possible) •  Both 10.2.0.5/11.1 and 12.1 EM run concurrently •  Requires almost zero downtime •  Migrates existing metrics, jobs, report etc.
  • 6. Which Path to Choose? •  Migrate/consolidate onto VMware •  EM 10.2.0.5 primary monitoring tool for Oracle databases. Minimal downtime required •  User-defined metrics, scheduled reports and jobs in EM 10.2.0.5. Don’t want to recreate
  • 7. Upgrade Overview 1.  Apply Upgrade Console patch to 10.2.0.5 OMS 2.  Deploy 12.1 agents to monitored targets from Upgrade Console •  Only 12c agents monitored by EM 12c 3.  Backup repository database. This will be used as the 12.1 repository. •  DBCA, RMAN can be used for backups (same platform) •  Datapump, Cross-Platform tablespaces/databases (different platforms) 4.  Install and upgrade OMS on new RHEL 6.2 host 5.  Shutdown 10.2.0.5 agents and startup 12c agents 6.  Decommission 10.2.0.x agents/OMS or rollback
  • 9. Pre-requisites •  Patches •  OMS requires PSU 3 or higher •  opatch lsinventory –bugs_fixed | grep PSU •  Pre-Upgrade Console •  Certification Matrix •  Database, OMS, Agent and OS •  Plug-ins and agent software •  Plug-ins required can be identified from the Upgrade Console Manage Software •  Plug-ins will be migrated/upgraded to new OMS •  Agents required for each OS being monitored
  • 12. 2-System Upgrade Repository Database Upgrade •  The EM installer does not upgrade the database •  Database can be upgraded before EM upgrade or after repository backup 11.1.0.6 11.2.0.2
  • 15. 2-System Upgrade Identify Host and Port for new EM System
  • 16. 2-System Upgrade Manage Software All targets and agents should be upgradeable.
  • 17. 2-System Upgrade Manage Software Check for missing agents or plug-ins
  • 18. 2-System Upgrade Backup Repository •  DBCA or RMAN recommended •  Unlock SYSMAN account if using DBCA •  Duplicate from Active feature in 11g makes cloning DB easy •  For cross-platform migration take a look at note 388090.1 •  Datapump instructions not specific to EM12c repository upgrade (Open SR with Oracle Support) •  Cross platform transportable tablespaces instructions not specific to EM12c repository upgrade (Open SR with Oracle Support) •  RMAN Convert database also possible for supported platforms
  • 19. 2-System Upgrade Backup Repository •  Using an existing database via Datapump •  Enterprise Manager schema needs to be removed from target database first $OMS_HOME/sysman/admin/emdrep/bin/RepManager omshost port SID -sys_password <password> -action drop •  Not all objects dropped in some cases •  See MOS NOTE [ID 1365820.1] •  EM 12c R2 has a database template
  • 20. 2-System Upgrade Backup Repository •  Copy emkey to repository before taking backup emctl config emkey –copy_to_repos –sysman_pwd <password> •  Re-secure emkey after taking the backup •  Verify that SYSMAN schema doesn’t contain invalid object SELECT count(*) from user_objects WHERE status=‘INVALID’
  • 22. 2-System Upgrade Upgrade OMS and Repository Manually •  Check pre-requisites for the intended 12.1 repository using EM Prereq Kit •  EM Prereq Kit can validate database parameters and configuration prior to upgrade e.g. install/requisites/bin/emprereqkit -executionType upgrade -prerequisiteXMLLoc install/requisites/list - connectString "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=dbhost1)(PORT=1521)))(CONNECT_DATA=(SID=emrep)))" -dbUser SYS -dbPassword -dbRole sysdba -showPrereqs •  Some parameters can be automatically adjusted (e.g. process) •  The utility is also run automatically by OUI
  • 23. 2-System Upgrade Upgrade OMS and Repository Manually Repository Database Pre-requisites •  Verify your initialization parameters •  PROCESSES parameter is at least 300. The installer can also make the changes if desired. •  Set JOB_QUEUE_PROCESSES to 0 (temporarily) •  Set SHARED_POOL_SIZE to 700MB or greater •  PGA_AGGREGATE_TARGET should be at least 1GB •  SGA_TARGET should be at least twice PGA_AGGREGATE_TARGET •  Grant execute on DBMS_RANDOM to DBSNMP and SYSMAN •  Unlock ORACLE_OCM account •  Increase your redo log size to at least 300MB due to the high level of transactions during the repository. •  Check to make sure your emkey is in the repository
  • 24. 2-System Upgrade •  Check to make sure your emkey is in the repository SQL> select count(*) from MGMT_REPOS_TIME_COEFFICIENT; COUNT(*) ---------- 1   TIP Create guaranteed restore point on both the old and new repository database so that changes can be easily flashed back; create restore point PRE_OMS_UPGRADE guarantee flashback database;
  • 25. 2-System Upgrade Upgrade OMS and Repository Manually OMS Server Verification •  Verify that server meets pre-requisites •  Check ulimit to make sure it’s at least 4096 •  ulimit –n •  If using RHEL 6 or Oracle Linux 6 – make sure you have the following package installed or else your installation may fail at OMS Configuration Assistant. •  glibc-2.12-1.47.0.2.el6_2.12.x86_64 •  See MOS Note: EM12c: Installation Fails On Linux 6 at "Start Oracle Management Service" step (Doc ID 1472216.1) for workaround
  • 26. 2-System Upgrade Upgrade OMS and Repository Manually cd /stage/ ./runInstaller
  • 27. 2-System Upgrade Upgrade OMS and Repository Manually
  • 28. 2-System Upgrade Upgrade OMS and Repository Manually
  • 29. 2-System Upgrade Upgrade OMS and Repository Manually rpm -qa|grep glibc-2.12-1.47 glibc-2.12-1.47.el6.x86_64 glibc-2.12-1.47.el6.i686
  • 30. 2-System Upgrade Upgrade OMS and Repository Manually
  • 31. 2-System Upgrade Upgrade OMS and Repository Manually
  • 32. 2-System Upgrade Upgrade OMS and Repository Manually
  • 33. 2-System Upgrade Upgrade OMS and Repository Manually •  EM Prereq Kit generates false warnings for ORACLE_OCM account if it has expired and processes parameter if less than 1000!! •  Run EM Prereq Kit manually and double check database
  • 34. 2-System Upgrade Upgrade OMS and Repository Manually
  • 35. 2-System Upgrade Upgrade OMS and Repository Manually
  • 36. 2-System Upgrade Upgrade OMS and Repository Manually
  • 37. 2-System Upgrade Upgrade OMS and Repository Manually
  • 38. 2-System Upgrade Upgrade OMS and Repository Manually
  • 39. 2-System Upgrade Upgrade OMS and Repository Manually •  At the end of the installation you can verify whether if the OMS is running. /u01/app/oracle/Middleware/oms/bin/ emctl status oms -details
  • 41. 2-System Upgrade Post-Upgrade •  Both old and new OMSs are running
  • 43. 2-System Upgrade Post-Upgrade •  Create a DB link between the old and new repositories •  Upgrade Console in old EM creates/recreates link •  The link between the two repositories allows operations performed on the old repository to be propagated to the new repository. •  Link also enables DDMP and ADDMP
  • 44. 2-System Upgrade •  Create DB Link •  Connect descriptor found in MW_HOME/gc_inst/em/EMGC_OMS1/ emgc.properties e.g. /u01/app/oracle/Middleware/gc_inst/em/EMGC_OMS1/emgc.properties •  Remove escape characters $ cat emgc.properties |grep EM_REPOS_CONNECTDESCRIPTOR EM_REPOS_CONNECTDESCRIPTOR=(DESCRIPTION=(ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521))) (CONNECT_DATA=(SID=sid)))
  • 45. 2-System Upgrade Agent Upgrade Steps •  EM12c only communicates with 12c agents •  Deploy and configure 12c agents •  Generate and sign off on health check reports •  Switch over the agents to the new EM System. •  Brief outage incurred while 10g agents are stopped and 12c agents are started
  • 46. 2-System Upgrade Deploy and Configure Agents
  • 50. 2-System Upgrade Verify and sign off Health Report
  • 51. 2-System Upgrade Verify and sign off Health Report
  • 53. 2-System Upgrade Status of agents before switchover in old EM & new EM
  • 54. 2-System Upgrade View status of Switch Agents Job
  • 55. 2-System Upgrade After switchover agents status is up in EM 12c Very minimal (< 1 minute) monitoring downtime!
  • 56. 2-System Upgrade Post-Upgrade Steps •  Stop the OCM Scheduler in the 10.2.0.5 OMS •  Delete Obsolete targets (via console or EMCLI) •  EM Website •  EM Website System •  Oracle Application Server target of 10g OMS ORACLE HOME consisting of: •  Oracle Application Server •  OC4J •  Oracle HTTP Server •  Web Cache •  Delete default incident Rule sets
  • 57. 2-System Upgrade Post-Upgrade Console •  Location changed in 12.1.0.2.0 •  In 12.1.0.1.0 go to Setup -> Post Upgrade Tasks •  In 12.1.0.2.0 go to Setup->Manage Cloud Control->Post Upgrade Tasks 12.1.0.1.0 12.1.0.2.0
  • 58. 2-System Upgrade Post-Upgrade Console •  Track the status of Accrued Data Migration (ADMP) job •  ADMP is data accrued since the repository backup and agent switchover
  • 59. 2-System Upgrade Post-Upgrade Console •  Track the status of Deferred Data Migration (DDMP) job •  DDMP is historical metrics, configuration data which is moved over time (lazy migration)
  • 60. 2-System Upgrade Post-Upgrade Console •  Diff Report •  Shows configuration differences between old and new OMS •  Sign Off •  Removes old 10.2.0.5 agents
  • 63. How far did the rabbit hole go? •  Host level jobs on 10.2.0.5 EM should work before starting agent deployment •  Configure PAM on Linux/UNIX for 3rd party authentication if in use. E.g. LDAP, Kerberos, SecureID •  Configure Privilege Delegation Provisioning (PDP). i.e. sudo or Powerbroker for easier deployment •  Verify that OMS host server can send emails for notifications •  Some servers require authentication for SMTP relay •  Cross-platform repository migration is your responsibility! •  Complex but not scary. Read instructions carefully. •  Test, Test and Test Again!
  • 64. Managing Databases with EM12c •  Demo
  • 65. •  Website - blogs.griddba.com •  LinkedIn – Leighton Nelson •  Twitter - @leight0nn •  Email: leighton.nelson@mercy.net
  • 66. References •  OTN Enterprise Manager Page •  Announcing Enterprise Manager Cloud Control 12c Release 12.1.0.1 Bundle Patch 1(BP1) and 12.1.0.2 Plug-ins [ID 1395505.1] •  Upgrade Advisor: Enterprise Manager 2-System Upgrade from 10.2.0.5 or from 11.1.0.1 to 12.1.0.1 [ID 327.1] •  EM 12c: Upgrading to Enterprise Manager Cloud Control 12.1.0.1 on Linux x86_64 with the 2-System Method [ID 1367919.1] •  Grid Control Repository: Steps for Cross Platform Migration of the 10g Grid Control Repository [ID 388090.1] •  EM12c R2: How to Upgrade to EM 12c R2 - Two System Method [ID 1363162.1] •  EM 12c R2: How to Apply Upgrade Console Patch for Upgrading to EM 12.1.0.2 [ID 1362537.1] •  Grid Control Repository: How to Recompile Invalid SYSMAN Objects? [ID 372706.1]
  • 67. SAVE THE DATE! COLLABORATE 13 April 7-11, 2013 Colorado Convention Center Denver, Colorado http://collaborate13.ioug.org