OEM12c Overview for DBA Francisco Munoz Alvarez LAOUC, CLOUG & NZOUG President IOUC LA Spokesperson 8/9/10g/11g OCP, RAC OCE, AS OCA, E-Business OCP, SQL/PLSQL OCA, Oracle 7 OCM Oracle 7, 11GR2 & OVM 3.1 Beta Tester ITIL Certified 2010 Oracle Ace Director of the year by Oracle Magazine
Born here Grow up here Got Married Here Mature here Now Living here DBIS - Copyright 2010 2
AGENDA 1. Introduction to OEM12C 2. How to Install 3. Troubleshooting 4. Tips 5. Licensing Information
Introduction
Complete Cloud Lifecycle Management Optimize Plan Meter & Charge Manage Applications and Business Services Platform as a Service DBaaS MWaaS Infrastructure as a Service Setup Build Monitor Deploy Test
Plan and Setup the Cloud Environment Discover IT assets Plan capacity and consolidation Setup cloud services Define access rules and controls PLAN & SETUP
Package Multi-tier Enterprise Applications Oracle Virtual Assembly Builder Capture Complete Application Topology Package Into Single Assembly Upload to Software Library Deploy Self-Service HTTP OVM WLS OVM DB OVM HTTP OVM Metadata Oracle Enterprise Manager BUILT
Test Applications End-to-End Automate Application, Middleware and Database Testing Testing Application Changes Oracle Functional Testing Oracle Load Testing Oracle Test Manager Testing Infrastructure Changes SQL Performance Analyzer Database Replay Application Replay Test Data and Lab Management Data Masking Data Discovery and Modeling Data Subsetting Synthetic Workload Production Workload Test Data Management TEST
Infrastructure-as-a-Service (IaaS) x86 and SPARC Platform-as-a-Service (PaaS) Self-Service Access Self-Service Freedom, Professional Control Database (DBaaS), Java,. Physical and virtual environment support Out-of-box Portal and APIs DEPLOY
Monitor and Manage Cloud Operations Track resource flux, tenants, policy violations, etc Monitor requests and failures Manage resource and capacity utilization Automatic, policy driven elasticity MONITOR & MANAGE
Meter, Charge and Optimize Cloud Services Application-to-Disk resource metering Chargeback/Showback Oracle Billing and Revenue Management (BRM) Integration Optimize performance, capacity, QoS, costs METER -CHARGE & OPERATIONS
PERFORMANCE RELIABILITY SECURITY SUPPORT
Fusion Applications Management Deep, Integrated, Business-Driven Application discovery, modeling and monitoring Integrated business-it view Performance, configuration and lifecycle management
Middleware Management Deep and integrated application performance management Middleware diagnostics advisor Automatic metric correlation Multi-domain log viewer Routing topology Provisioning Automation Domain scale up, scale-out App deploy, undeploy New Automation to Lower TCO
Database Management Extending Database Self-Management Leadership Advance Performance Diagnostics Real-Time ADDM Compare Period ADDM Active Session History (ASH) Analytics Mass Database Upgrade Automation Minimal Downtime Patching
Engineered Systems Management Integrated hardware and software management Hardware schematics and alerts Integrated and deep software management Hardware and software topology, configuration management Proactive support Phone home Health checks Patch and best practices advisory Exadata and Exalogic
Proactive Support My Oracle Support Integration Proactive Patch Advisory Certification Checks End-of-life advisory Upgrade Planning and Automation Hardware Telemetry and Phone Home Knowledge Management Knowledge Management Performance Management My Oracle Support Problem/SR Management Problem/SR Management Problem Diagnosis Configuration Management Configuration Management Provisioning & Patching Hardware Databases Middleware Applications
New Massively Scalable Framework Robust, Extensible, Secure Better performance and scalability My Oracle Support Self-update Enhanced security New web 2.0 user interface Powerful configuration management Plug-Ins (Database, FMW, Fusion Apps,..) Management Services Monitoring Configuration Management Task Automation Security Oracle Enterprise Manager Auto-Push DB Plug-In Database FMW Plug-In Web Logic Host 1 Agent Host 2 Agent FMW Plug-In Web Logic FA Plug-In Fusion Apps
Installing OEM12c
When Installing OEM12c Read Installation Manual carefully Check environment minimum requirements Check if environment is certified by Oracle (Hardware/OS) Install OEM12c (12.1.0.1) with the bundle Patch 1 When running RunInstaller set the correct Host Name to be used./runinstaller ORACLE_HOSTNAME=example.com
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
Installing OEM 12c
OEM 12c DEMO
Troubleshooting
Stuck on Configuration Requeriments
Where to find it
Solution
Remove Previous DB Control Schema
Troubleshooting - Solution
Change Hostname or IP Address 1) Set $ORACLE_HOSTNAME to the old hostname: [oracle]$ export ORACLE_HOSTNAME=oc-oracle-prod.com 2) De-configure the old DB Console by running the following command: [oracle]$ $ORACLE_HOME/bin/emca-deconfig dbcontrol db STARTED EMCA at Jul 20, 2012 10:27:25 AM EM Configuration Assistant, Version 11.2.0.3.0 Production Copyright (c) 2003, 2011, Oracle. All rights reserved. Enter the following information: Database SID: COLD Do you wish to continue? [yes(y)/no(n)]: Y log4j:warn No appenders could be found for logger (emsdk.config). log4j:warn Please initialize the log4j system properly. Jul 20, 2012 10:27:38 AM oracle.sysman.emcp.emconfig perform INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/cold/emca_2012_07_20_10_27_24.log. Jul 20, 2012 10:27:38 AM oracle.sysman.emcp.util.dbcontrolutil stopoms INFO: Stopping Database Control (this may take a while)... Enterprise Manager configuration completed successfully FINISHED EMCA at Jul 20, 2012 10:27:53 AM [oracle]$
Change Hostname or IP Address (Cont.) 3) Un-set $ORACLE_HOSTNAME in the environment, in other words, set $ORACLE_HOSTNAME to the new hostname: [oracle]$ export ORACLE_HOSTNAME=oracle-prod.com 4) Configure the new DB Console: [oracle]$ $ORACLE_HOME/bin/emca -config dbcontrol db -repos recreate STARTED EMCA at Jul 20, 2012 10:28:49 AM EM Configuration Assistant, Version 11.2.0.3.0 Production Copyright (c) 2003, 2011, Oracle. All rights reserved. Enter the following information: Database SID: COLD Listener port number: 1521 Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0.3/db_1 ]: Password for SYS user: Password for DBSNMP user: Password for SYSMAN user: Email address for notifications (optional): Outgoing Mail (SMTP) server for notifications (optional): ----------------------------------------------------------------- You have specified the following settings Database ORACLE_HOME... /u01/app/oracle/product/11.2.0.3/db_1 Local hostname... col-oracle-prod.lakros.com Listener ORACLE_HOME... /u01/app/oracle/product/11.2.0.3/db_1 Listener port number... 1521 Database SID... COLD Email address for notifications... Outgoing Mail (SMTP) server for notifications... ----------------------------------------------------------------- WARNING : While repository is dropped the database will be put in quiesce mode. ---------------------------------------------------------------------- Do you wish to continue? [yes(y)/no(n)]: Y
Change Hostname or IP Address (Cont.) Jul 20, 2012 10:29:34 AM oracle.sysman.emcp.emconfig perform INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/coldfx/emca_2012_07_20_10_28_49.log. Jul 20, 2012 10:29:35 AM oracle.sysman.emcp.emreposconfig invoke INFO: Dropping the EM repository (this may take a while)... Jul 20, 2012 10:31:10 AM oracle.sysman.emcp.emreposconfig invoke INFO: Repository successfully dropped Jul 20, 2012 10:31:11 AM oracle.sysman.emcp.emreposconfig createrepository INFO: Creating the EM repository (this may take a while)... Jul 20, 2012 10:37:48 AM oracle.sysman.emcp.emreposconfig invoke INFO: Repository successfully created Jul 20, 2012 10:37:52 AM oracle.sysman.emcp.emreposconfig uploadconfigdatatorepository INFO: Uploading configuration data to EM repository (this may take a while)... Jul 20, 2012 10:39:32 AM oracle.sysman.emcp.emreposconfig invoke INFO: Uploaded configuration data successfully Jul 20, 2012 10:39:37 AM oracle.sysman.emcp.util.dbcontrolutil securedbconsole INFO: Securing Database Control (this may take a while)... Jul 20, 2012 10:40:03 AM oracle.sysman.emcp.util.dbcontrolutil securedbconsole INFO: Database Control secured successfully. Jul 20, 2012 10:40:03 AM oracle.sysman.emcp.util.dbcontrolutil startoms INFO: Starting Database Control (this may take a while)... Jul 20, 2012 10:40:32 AM oracle.sysman.emcp.emdbpostconfig performconfiguration INFO: Database Control started successfully Jul 20, 2012 10:40:32 AM oracle.sysman.emcp.emdbpostconfig performconfiguration INFO: >>>>>>>>>>> The Database Control URL is https://col-oracle-prod.lakros.com:5500/em Jul 20, 2012 10:40:36 AM oracle.sysman.emcp.emdbpostconfig invoke WARNING: ************************ WARNING ************************ Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /u01/app/oracle/product/11.2.0.3/db_1/oracle-prod.com_cold/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost. *********************************************************** Enterprise Manager configuration completed successfully FINISHED EMCA at Jul 20, 2012 10:40:36 AM [oracle@col-oracle-prod bin]$
Change Hostname or IP Address (Cont.) If using Oracle RAC you need to replace the step s 2 and 4 for: [oracle]$ $ORACLE_HOME/bin/emca -deconfig dbcontrol db -cluster [oracle]$ $ORACLE_HOME/bin/emca -config dbcontrol db -repos recreate -cluster
Some Tips
Status, Start and Stop Scripts [oracle@rvrwpdoemt01 ~]$ cat startoem12c.sh export OMS_HOME=/u01/app/oracle/OEM12C/oms export AGENT_HOME=/u01/app/oracle/OEM12C/agent/core/12.1.0.1.0 $OMS_HOME/bin/emctl start oms $AGENT_HOME/bin/emctl start agent [oracle@rvrwpdoemt01 ~]$ [oracle@rvrwpdoemt01 ~]$ cat statusoem12c.sh export AGENT_HOME=/u01/app/oracle/OEM12C/agent/core/12.1.0.1.0 $AGENT_HOME/bin/emctl status agent [oracle@rvrwpdoemt01 ~]$ [oracle@rvrwpdoemt01 ~]$ cat stopoem12c.sh export ORACLE_HOME=/u01/app/oracle/product/11.2.3/db_1 export OMS_HOME=/u01/app/oracle/OEM12C/oms export AGENT_HOME=/u01/app/oracle/OEM12C/agent/core/12.1.0.1.0 $OMS_HOME/bin/emctl stop oms -all $AGENT_HOME/bin/emctl stop agent [oracle@rvrwpdoemt01 ~]$
Backup of Admin Server
Licensing
OEM12c Licensing What us included for free
OEM12c Licensing What you need to pay for
OEM12c Licensing Prices and Package Changes with OEM12c
OEM12c Licensing Prices and Package Changes with OEM12c
OEM12c Licensing New Products with OEM12c
OEM12c Licensing OEM Licensable Products
OEM12c Licensing OEM Licensable Products
OEM12c Licensing OEM Licensable Products
OEM12c Licensing OEM Licensable Products
OEM12c Licensing OEM DB Packs
OEM12c Licensing OEM DB Packs
OEM12c Licensing OEM DB Packs
OEM12c Licensing OEM DB Packs
OEM12c Licensing OEM DB Packs
OEM12c Licensing OEM DB Packs
Questions?
Thank you!