Sie sind auf Seite 1von 45

GOKHAN ATIL

ORACLE ENTERPRISE
MANAGER CLOUD
CONTROL 13C FOR DBAS
INTRODUCTION 2

GOKHAN ATIL
▸ DBA Team Lead with 15+ years of experience

▸ Oracle ACE (since 2011)

▸ 10g/11g and R12 OCP

▸ Founding Member and Vice President of TROUG

▸ Co-author of Expert Oracle Enterprise Manager 12c

▸ Blogger (since 2008) gokhanatil.com

▸ Twitter: @gokhanatil
INTRODUCTION 3

AGENDA

▸ Introduction to Enterprise Manager EM13c

▸ Why Enterprise Manager Cloud Control?

▸ Top Features for DBAs

▸ How to Start Using EM13c

▸ Maintaining Enterprise Manager


4

INTRODUCTION TO EM13C
INTRODUCTION TO EM13C 5

WHAT IS ENTERPRISE MANAGER CLOUD CONTROL?


▸ Enterprise Manager Cloud
Control provides a centralized
monitoring and management
platform for IT infrastructure.

▸ Enterprise Manager can manage


and monitor various targets (host,
ASM, RAC, Database, Listener,
Weblogic, Tomcat, Apache and
more), and it’s possible to add
more target types using plugins.
INTRODUCTION TO EM13C 6

ENTERPRISE MANAGER CLOUD CONTROL ARCHITECTURE


▸ Agents: Collect monitoring
and configuration data from 

Console (web/cli) the targets and executes
Connectors tasks
Agent

▸ Management Server (OMS):


Receives and processes
data from Agents, Provides
Repository Management Server Agent UI and Target Specific
Management

▸ Repository (OMR):
Persistent store for data
collected from the
Notifications Agent managed Targets
INTRODUCTION TO EM13C 7

SOFTWARE LIBRARY
Filesystem repository used to store software entities 

such as:

▸ Software patches

▸ Virtual appliance images

▸ Gold images

▸ Application software

▸ Deployment procedures
INTRODUCTION TO EM13C 8

CONSOLE AND EM CLI

▸ Console: Rich, customisable



application accessed through

web browser. Primary 

interface for interactive 

management of targets.

▸ EM CLI: Enterprise Manager command line interface.


It’s used to manage targets from command line
without a browser.
WHY ENTERPRISE MANAGER? 9

WHY ENTERPRISE MANAGER CLOUD CONTROL?

▸ One tool to monitor and manage all Oracle databases

▸ Standardize and automate management tasks

▸ Produced by Oracle: Most comprehensive and up-to-date


management features for Oracle databases.

▸ Easy to maintain: Familiar components (Oracle products),


My Oracle Support
WHY ENTERPRISE MANAGER? 10

EXTENSIBLE ARCHITECTURE
▸ Enterprise Manager 12c redesigned as base platform and
extensible entities

▸ All target specific management encapsulated in target plug-ins


(e.g. DB plug-in)

You don’t need to wait next version of EM13 to support Oracle


DB 13c

▸ Solution Plug-ins provide additional vertical EM functionality


(Cloud Application Plug-in)

▸ Supports 3rd Party Plugins (MongoDB, PostgreSQL etc)


WHY ENTERPRISE MANAGER? 11

BASE FUNCTIONALITY IS FREE


▸ EM Self Management and Monitoring

▸ Agent Management

▸ EM Support Workbench + My Oracle Support integration

▸ Groups and Systems Management

▸ Information Publisher and Reporting

▸ Job System and Corrective Actions

▸ Alerts and Metric Threshold Management (excluding notifications*)

▸ Monitoring and Incident Management


WHY ENTERPRISE MANAGER? 12

BASE FUNCTIONALITY IS FREE


▸ Data movement ▸ Pluggable Database (PDB)

▸ Error management ▸ Resource Management

▸ Grid Infrastructure management ▸ Scheduler Central

▸ High availability ▸ Security

▸ Non-structured data management ▸ SQL Execution

▸ Object, program and initialization ▸ Space and Undo Management


parameters management
▸ Support Workbench
▸ Optimizer Management
▸ Upgrade Planner Workspace
▸ Patch Recommendations management
WHY ENTERPRISE MANAGER? 13

BASE COMPONENTS DO NOT REQUIRE LICENSING


▸ Repository Database: Oracle Enterprise Edition
Dedicated to EM (+ AWR Warehouse), no data guard, no RAC

▸ Weblogic Cluster: Dedicated to Publisher and EM

▸ Oracle Business Intelligence Publisher and Business Intelligence


Mobile

▸ Oracle ZFS Storage Appliance Cloning is included with


Enterprise Manager Snap Clone (Oracle Cloud Management
Pack for Oracle Database)
14

TOP FEATURES FOR DBAS


TOP FEATURES FOR DBAS 15

ARE YOUR SYSTEMS UP AND RUNNING?


TOP FEATURES FOR DBAS 16

WHAT’S HAPPENING ON YOUR DATABASES?


TOP FEATURES FOR DBAS

METRICS, ALERTS AND INCIDENTS


PREDEFINED METRICS WARNING AND CRITICAL MONITORING TEMPLATE
+ METRIC EXTENSIONS THRESHOLDS
%75 warning

tablespace usage
%90 critical

INCIDENT RULES GENERATES ALERT TARGET

INCIDENT CREATED NOTIFICATION


TOP FEATURES FOR DBAS 18

MONITORING AND INCIDENT HANDLING

▸ Create a copy of the system default Incident Rule Sets. 


The default rule sets are locked.

▸ Create monitoring templates, set critical metric values.

▸ Create groups. Assign monitoring templates to groups and


set different notification types based on groups.

▸ Update all notification so only critical alerting is


performed*. You use the EM Console to view non-critical
warnings
TOP FEATURES FOR DBAS NEW ON 19
EM13C

INCIDENT DASHBOARD
TOP FEATURES FOR DBAS 20

CORRECTIVE ACTIONS

▸ Automate routine administrative tasks to resolve common


incidents

▸ Create a corrective action (OS command, SQL, RMAN


Script or EM actions such as start/stop agent)

▸ Assign the corrective action to a metric alert (on a


monitoring template)

▸ Apply the monitoring template to the targets


TOP FEATURES FOR DBAS LIFECYCLE 21
MANAGEMENT
PACK

DATABASE PROVISIONING
Repeatable, reliable, automated, unattended deployment
procedures for creating, cloning, updating databases
TOP FEATURES FOR DBAS NEW ON 22
EM13C

PROVISIONING ORACHK
Install and set up ORAchk from the Enterprise Manager console
instead of the command line on individual hosts
TOP FEATURES FOR DBAS 23

DATABASE PATCHING
▸ Integrated patching workflow with My Oracle Support (MOS). EM can
recommend patches

▸ Complete, end-to-end orchestration of patching workflow using Patch Plans.


1. Create a Patch Plan

2. Select patches

3. Set the Deployment Options (Stage Location, Targets, Credentials)

4. Validation (Analyze)

5. Review and Deploy

Common issues: Directory/file permissions or disk space


TOP FEATURES FOR DBAS DATABASE 24
DIAGNOSTICS
PACK

ASH ANALYTICS

▸ Interactive version of
ASH Reports

▸ Select the dimensions,


drill down to undertake
a performance review
on a single page

▸ The report can be


saved (as HTML) or
mailed
TOP FEATURES FOR DBAS DATABASE 25
DIAGNOSTICS
PACK

ASH ANALYTICS (MULTI DIMENSIONAL ANALYTICS)


Drill into a loadmap view to display the different waits indicating the importance
of each by the size of the box
TOP FEATURES FOR DBAS DATABASE 26
DIAGNOSTICS
PACK

COMPARE PERIOD ADDM


Why is the database slow? Is it slower than yesterday?
TOP FEATURES FOR DBAS DATABASE 27
DIAGNOSTICS
PACK

AWR WAREHOUSE
▸ Consolidation of AWR data
from multiple target databases

▸ Provides long term historical


information

▸ Requires Database version


11.2.0.4 or higher

▸ AWR data from source


databases moves as dump
files
TOP FEATURES FOR DBAS DATABASE 28
DIAGNOSTICS
PACK

EMERGENCY PERFORMANCE PAGE


EM Agent will connect directly to SGA to collect data when you navigate to Emergency Monitoring.
TOP FEATURES FOR DBAS DATABASE 29
DIAGNOSTICS
PACK

REALTIME ADDM
Real-Time ADDM performs a complementary analysis, a root
cause analysis that Emergency Monitoring does not provide.
30

HOW TO START USING EM13C


HOW TO INSTALL 31

ENTERPRISE MANAGER CLOUD CONTROL SIZING


Minimum requirements, recommended to add much more
RAM to OMS.

OMS Memory Database Cores per Memory


Agent Target Cores per
Size Machine per OMS Machine Database per DB
Count Count OMS
Count* (GB) Count Machine (GB)

Small < 100 < 1000 1 4 10 1 4 7

>= 100
 >= 1000
 2 (Oracle


Medium 2 6 12 6 10
< 1000 < 10,000 RAC)

2 (Oracle
Large >= 1000 >= 10,000 2 12 24 12 18
RAC)
HOW TO INSTALL 32

REQUIREMENTS FOR ENTERPRISE MANAGER 13.1.0.0

▸ You can perform fresh Install of EM 13.1.0.0 or upgrade


from (12.1.0.3, 12.1.0.4, 12.1.0.5)

▸ DB Repository version supported: 12.1.0.2

▸ Weblogic versions supported: 12.1.0.3

▸ JDK version supported: 1.7.0_80

▸ BI Publisher 12.1.0.3 integrated


HOW TO INSTALL EM13C 33

BEST PRACTICES FOR EM 13.1.0.0 INSTALL


▸ Download and install Oracle RDBMS 12.1.0.2 and use DB template to
create database

▸ Download the EM13c installer from OTN

▸ Do not unzip the binaries files. Just execute the


em13100_<platform>.bin file to invoke the installer

▸ Use EM installer to install WLS

Always refer to Official Install guide

Whenever you download a file from OTN, check if the file has correct
bytes/checksum values as displayed on OTN
HOW TO INSTALL EM13C 34

THE INSTALLER WILL HANDLE THE REST


POST INSTALL TASKS NEW ON 35
EM13C

INITIAL SETUP CONSOLE


After you install, visit Initial Setup Console to complete “recommeded”
post-install tasks.
POST INSTALL TASKS 36

MANAGEMENT PACK ACCESS


Disable auto licensing to prevent license violations.
DEPLOY AGENTS 37

DOWNLOAD AGENT SOFTWARE USING SELF UPDATE


You can download EM agents for Solaris, Linux, Windows, IBM AIX, HP-UX
DEPLOY AGENTS 38

DEPLOY AGENTS (ADD HOST TARGETS)


First deploy agents to hosts to convert them managed hosts, then add
targets running on the host (ASM, Listener, Database)
HOW TO BACKUP 39

BACKUPS
You need to back up following components:

▸ The Oracle Management Service: Filesystem backup of


installed software* and backup of OMS configuration:

$OMS_HOME/bin/emctl exportconfig oms

▸ The Management Repository: Backups can be taken using


RMAN

▸ The software library: Taking file system backups daily is


sufficient in most cases.
40

MAINTAINING ENTERPRISE MANAGER


MAINTAINING ENTERPRISE MANAGER 41

HEALTH OVERVIEW
MAINTAINING ENTERPRISE MANAGER

MANAGEMENT AGENTS
Start, stop, block, unblock, synchronise agents
MAINTAINING ENTERPRISE MANAGER 43

IMPORTANT LOG LOCATIONS


▸ Management Server side:
EM_INSTANCE_BASE/em/EMGC_OMS1/sysman/log

EM_INSTANCE_BASE/user_projects/domains/GCDomain/servers/ohs1/logs

Various Logs/Trace files in a 12c OMS Installation (Doc ID 1448308.1)

▸ Management Agent side:


AGENT_INSTANCE_HOME/sysman/log

Understanding the Management Agent Logs Files (Doc ID


1386781.1)
MAINTAINING ENTERPRISE MANAGER 44

KEEP YOUR ENTERPRISE MANAGER UP-TO-DATE


▸ Oracle Recommended Patches for Enterprise Manager Base Platform (MOS Doc
ID 822485.1 needs update)

▸ You need to use OPatch to patch OMS and the repository DB

▸ Database Recommended Patches (MOS Doc ID 756671.1)

▸ Keep your plugins and agents up to date using “Self-Update”

▸ Agents are patched via EM

▸ Create a patch plan, check for conflicts and deploy to a test server

▸ Create a gold image and use it to mass deploy

▸ Get to know EMDIAG Troubleshooting Kits Master Index (MOS Note 421053.1) -
hopefully they will be released for EM13c soon
THANK YOU FOR ATTENDING! 

ANY QUESTIONS?

45

Das könnte Ihnen auch gefallen