oracle enterprise manager cloud control 13c for dbas

35
ORACLE ENTERPRISE MANAGER CLOUD CONTROL 13C FOR DBAs Gökhan Atıl

Upload: gokhan-atil

Post on 16-Apr-2017

1.464 views

Category:

Software


9 download

TRANSCRIPT

Page 1: Oracle Enterprise Manager Cloud Control 13c for DBAs

ORACLE ENTERPRISE MANAGER

CLOUD CONTROL 13C FOR DBAs

Gökhan Atıl

Page 2: Oracle Enterprise Manager Cloud Control 13c for DBAs

GÖKHAN ATIL

➤ DBA Team Lead with 15+ years of experience

➤ Oracle ACE Director (2016)ACE (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

2

Page 3: Oracle Enterprise Manager Cloud Control 13c for DBAs

AGENDA

➤ Introduction to Enterprise Manager Cloud Control

➤ Why Enterprise Manager Cloud Control?

➤ Top Features for DBAs

Monitoring

Performance Tuning

Provisioning

➤ Tips for Using EM13c

3

Page 4: Oracle Enterprise Manager Cloud Control 13c for DBAs

WHAT IS ENTERPRISE MANAGER CLOUD CONTROL?

➤ Centralised monitoring and management platform

➤ Agents: Collects monitoring and configuration data

➤ Management Server (OMS): Receives and processes data from Agents

➤ Repository (OMR): Persistent store for collected data

Agent

Agent

Agent

Repository Management Server

Connectors

Notifications

Console (web/cli)

4

Page 5: Oracle Enterprise Manager Cloud Control 13c for DBAs

➤ One tool to monitor and manage all Oracle databases

➤ Standardise (and automate) management tasks

➤ Extensible Architecture:

➤ Supports 3rd party plugins (MongoDB, PostgreSQL)

➤ Easy to maintain: Familiar components(Weblogic, Oracle DB, My Oracle Support)

➤ Base Functionality is Free (it's hard to beat free!)

WHY ENTERPRISE MANAGER CLOUD CONTROL?

No Data Guard No Real Application Clusters

Dedicated to EM13cNo Extra License

Required

5

Page 6: Oracle Enterprise Manager Cloud Control 13c for DBAs

ENTERPRISE MANAGERTop Features for DBAsME

Page 7: Oracle Enterprise Manager Cloud Control 13c for DBAs

YOU NEED TO MONITOR YOUR DATABASES

Page 8: Oracle Enterprise Manager Cloud Control 13c for DBAs

COMPREHENSIVE MONITORING CAPABILITIES

➤ Monitoring for on-premise, hybrid, and Oracle Cloud Platform

➤ Oracle-recommended metrics and thresholds

➤ Incident Management

➤ Metric data stored in the Management Repository (can be used for reporting)

➤ Real-time performance charts

➤ E-mail and pager notifications

8

Page 9: Oracle Enterprise Manager Cloud Control 13c for DBAs

METRICS, ALERTS AND INCIDENTS

PREDEFINED METRICS

+ Metric Extensions

WARNING & CRITICAL THRESHOLDS

MONITORING TEMPLATE

TARGETALERTSINCIDENT RULES

INCIDENT CREATED NOTIFICATION

tablespace usage %75 warning %90 critical

9

Page 10: Oracle Enterprise Manager Cloud Control 13c for DBAs

INCIDENT MANAGEMENT

➤ Assign

➤ Set Priority

➤ Escalate

➤ Clear

➤ Acknowledge

➤ Status Updates

10

Page 11: Oracle Enterprise Manager Cloud Control 13c for DBAs

INCIDENT DASHBOARDNEW ON

EM13c

11

Page 12: Oracle Enterprise Manager Cloud Control 13c for DBAs

CORRECTIVE ACTIONS

➤ Helps to automate administrative tasks to resolve incidents

➤ OS command, SQL, RMAN Script or EM actions such as start/stop agent

12

Page 13: Oracle Enterprise Manager Cloud Control 13c for DBAs

YOU ARE A FIREFIGHTER, RIGHT?

Page 14: Oracle Enterprise Manager Cloud Control 13c for DBAs

TOP ACTIVITY PAGEDatabase

Diagnostics Pack

Page 15: Oracle Enterprise Manager Cloud Control 13c for DBAs

ASH ANALYTICS

➤ Interactive version of ASH Reports

➤ Select the dimensions, drill down to undertake a performance review on a single page

➤ Save report as HTML

Database Diagnostics

Pack

15

Page 16: Oracle Enterprise Manager Cloud Control 13c for DBAs

ASH ANALYTICS (LOADMAP)

Loadmap shows waits indicating the importance of each by the size of the box

16

Database Diagnostics

Pack

Page 17: Oracle Enterprise Manager Cloud Control 13c for DBAs

COMPARE PERIOD ADDM

Why is the database slow? Is it slower than yesterday?

Database Diagnostics

Pack

17

Page 18: Oracle Enterprise Manager Cloud Control 13c for DBAs

AWR WAREHOUSE

➤ Consolidation of AWR data from multiple DBs

➤ Long term historical information

➤ Requires DB 11.2.0.4 or higher

➤ AWR data transferred with datapump

Database Diagnostics

Pack

18

Page 19: Oracle Enterprise Manager Cloud Control 13c for DBAs

EMERGENCY PERFORMANCE PAGE

EM Agent directly access SGA

Database Diagnostics

Pack

19

Page 20: Oracle Enterprise Manager Cloud Control 13c for DBAs

REALTIME ADDM

Root cause analysis using direct access to SGA

Database Diagnostics

Pack

20

Page 21: Oracle Enterprise Manager Cloud Control 13c for DBAs

PATCHING AND PROVISIONING

Page 22: Oracle Enterprise Manager Cloud Control 13c for DBAs

DATABASE PROVISIONING

Repeatable, reliable, automated, unattended deployment procedures for creating, cloning, updating databases.

➤ Create Profile (Database, Grid Infrastructure, Both)

➤ Setup Hosts (Credentials, Privileged Delegation, OS Groups)

➤ Deploy Software (Source, Destination)

➤ Grid Infrastructure (ASM Disk Groups, Password, Listener)

➤ Create Databases (Template, SID, Passwords, Storage, Initialization Parameters, Sizing)

➤ Schedule to Deploy

Lifecycle Management

Pack

22

Page 23: Oracle Enterprise Manager Cloud Control 13c for DBAs

DATABASE CLONING

➤ Manage your clones in one place

➤ Easily clone or create test database

➤ Clone your PDB to cloud

NEW ON

EM13c

Page 24: Oracle Enterprise Manager Cloud Control 13c for DBAs

PROVISIONING ORACHK

Install and set up ORAchk from the Enterprise Manager console instead of the command line on individual hosts

NEW ON

EM13c

24

Page 25: Oracle Enterprise Manager Cloud Control 13c for DBAs

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

25

Page 26: Oracle Enterprise Manager Cloud Control 13c for DBAs

ENTERPRISE MANAGERTips for Using EM13c

Page 27: Oracle Enterprise Manager Cloud Control 13c for DBAs

SIZING ENTERPRISE MANAGER 13.1.0.0

Always add more RAM to OMS Servers!

Size Agent Count

Target Count

OMS Machine Count*

Cores per OMS

Memory per OMS

(GB)

Database Machine

Count

Cores per Database Machine

Memory per DB

(GB)

Small < 100 < 1000 1 4 10 1 4 7

Medium >= 100 < 1000

>= 1000 < 10,000 2 6 12 2 (Oracle

RAC) 6 10

Large >= 1000 >= 10,000 2 12 24 2 (Oracle

RAC) 12 18

27

Page 28: Oracle Enterprise Manager Cloud Control 13c for DBAs

INSTALLING ENTERPRISE MANAGER 13.1.0.0

➤ Use DB template to create repository database (DB version

supported: 12.1.0.2)

➤ Do not unzip the binaries files. Execute the

em13100_<platform>.bin file to invoke the installer

➤ Use EM installer to install WLS

Always refer to “Official Installation Guide”

Check if the files have correct bytes/checksum values

28

Page 29: Oracle Enterprise Manager Cloud Control 13c for DBAs

LET THE INSTALLER HANDLE THE REST

Page 30: Oracle Enterprise Manager Cloud Control 13c for DBAs

USE “INITIAL SETUP CONSOLE”

After you install, visit Initial Setup Console to complete “recommended” post-install tasks.

NEW ON

EM13c

30

Page 31: Oracle Enterprise Manager Cloud Control 13c for DBAs

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.

➤ Use the EM Console to view non-critical warnings

Page 32: Oracle Enterprise Manager Cloud Control 13c for DBAs

CHECK “MANAGEMENT PACK ACCESS”

Disable auto licensing to prevent license violations.

32

Page 33: Oracle Enterprise Manager Cloud Control 13c for DBAs

TAKE REGULAR 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.

33

Page 34: Oracle Enterprise Manager Cloud Control 13c for DBAs

KEEP YOUR ENTERPRISE UP TO DATE

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

➤ Use omspatcher (Patch 19999993) to patch OMS

➤ 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

34

Page 35: Oracle Enterprise Manager Cloud Control 13c for DBAs

THANK YOU FOR ATTENDING! ANY QUESTIONS?