Download presentation
Presentation is loading. Please wait.
Published byBelén Moya Robles Modified over 6 years ago
1
EM12c Monitoring, Metric Extensions and Performance Pages
Kellyn Pot’Vin Sr. Techical Consultant
2
Kellyn Pot’Vin Westminster, Colorado
Oracle ACE, Sr. Technical Specialist at Enkitec Multi-Platform DBA Specialize in performance and management of large enterprise environments. Board of directors for RMOUG, Director of Training Days 2013 Blog: DBAKevlar.com Twitter: @DBAKevlar
3
EM12c EM12c was announced at Oracle Open World, Oct. 2011.
EM12c was Oracle’s answer to business’ reach into Cloud environments, which offers the ability to setup, deliver and manage them. Administrators, through a single console, can now monitor usage, setup metering, chargeback for users, manage deployed applications, manage issues and link applications to MOS directly.
4
Why We Monitor our Databases
Pro-active notification of issues before resulting in outages/impact to users. Awareness of performance, resource usage and demands. Data collection to investigate performance issues- current, recent and historical. Capacity planning. Automation of maintenance work.
5
Monitoring and Notification Downfalls
Yahoo News- Over 70% of workers would give up showers to eliminate unnecessary s. Paging with “Successful” and/or “I’m OK”. Not alerting for enough types of failures, instead covering with when complete. Paging on “Warning” Setting Critical thresholds too high vs. giving time to correct.
6
Presentation Agenda EM Architecture
EM Incident Rules and the Incident Manager Metric Extensions- The Why and the How. Performance Pages Top Activity Diagnosing Issues SQL Monitor ASH Analytics
7
Simple EM Architecture
Oracle Repository stores data in an Oracle database. OMS (Oracle Management Service) Targets with OMA(Oracle Management Agent)/Plug-ins upload data to OMS. Cloud Control Console, (aka EM Console) Used to view data through interaction with OMS.
8
Effective Monitoring with Incident Manager
9
Creating Incidents From Alerts
10
Incident Rules From EM12c Console Setup Incidents
Incident Rules/ Job Events
11
Incident Rule Sets Two Non-Editable, Main Rule Sets Come with EM12c Installation, Incident Management Event Management
12
Incident Management Rules- Broken Down
Incident Creation for metric alerts Auto- Clear rule for metric alert older then 7 days. Auto-Clear rule for job status change for terminal status events. SLA Incident Creation Incident Creation for Target Unreachable, Down and Error. Clear ADP, (Applicaton Dependency and Performance) alerts without incident after 7 days. Incident creation rule for high-availability events.
13
Utilizing Existing Rule Sets
Disable existing, Non-editable, system generated, incident management rule set. Quality Rule Set, but needs to be editable. Need to Copy the incident rule set. Enhance or add our own rules to the new rule set.
14
Disabling and Copying Rulesets
15
Copying a Rule Set Fill in new name of Incident Rule Set.
Defaults to all targets, exclude, change to target types or specific types. Enable if copying a disabled rule set.
16
Copying Ruleset, Rules Tab
Click on the Rules Tab You can Edit Existing rules, enhancing, updating or changing default settings. Remove any unwanted rules. Add specific rules for your environment.
17
Copying Ruleset, Co-authors
18
Rules vs. Metric Thresholds
Set globally. Independent of database metric settings.
19
Metric Settings Set at database level unless using a template.
In BP1, only set with warning thresholds. Good reason to use a template.
20
What Are Metric Extensions?
A dynamically configured extensions feature allowing to monitor environment specific conditions. Simplifies monitoring of operational processes that once only existed outside of the EM12c console. Eliminates requirements for secondary monitoring and management tools. Eliminate need for external scripting that may require more monitoring logic than EM Jobs can provide.
21
Metric Extensions Details
Metric Extensions replace the formerly known “User Defined Metrics” User Defined Metrics were limited to database and host types, no longer with Metric Extensions. Ability to build a metric extensions library to utilize for your own environment. Full development cycle support Using specific protocols , the Oracle Integration Adapter gathers data about targets for use with metrics extensions. A simple wizard allows for easy development and refinement of metric extensions. Ability to test metrics using the “Test Page” allows an ability to run real-time metric evaluations to ensure definitions and scripts are free of errors before deploying.
22
Development Life Cycle
23
Enterprise > Monitoring > Metric Extensions
24
Metric Extensions Summary
Create development metric extension, wizard will simplify process. Test with test page and verify that all steps, all features of the metric extension test correctly. Deploy to target separately or to groups. Utilize to fulfill any missing areas in monitoring environment.
25
EM12c Performance Pages Summary Page Top Activity SQL Monitor
ASH Analytics ASH/AWR Reports SQL Tuning Advisor Misc. Features
26
The Summary Page
27
Database Level Summary Page
28
Top Activity, “The Grid”
Graphical display of performance usage. 15 second refresh, manual refresh or historical. Review up to time retained in AWR.
29
The low down of the Top Activity
Top SQL on left. Top sessions, clients, etc. on left in drop down.
30
Here’s our spike, which waits?
Commonly, focus on pink, orange, red and brown for issues. Network and queuing do have opportunities for tuning, as well. Green and blue are expected, but also part of problems when over utilized.
31
We’re in the Red, (Orange, too!)
Inspect High % use. Red, orange, brown and pink.
32
Session Details
33
Next? Two sessions are executing
Option to run an ASH report, (right hand side)
34
What ASH Tells Us
35
The Icing on the Cake Duh, add some memory to the EM12c box!
36
SQL Monitor Elapsed Time SQL_ID, Beginning SQL Text.
Parallel, Waits and Execution Time
37
Top Activity, ASH style Ability to choose timelines by: Hour Day
Week Month Calendar Custom
38
Familiar Interface Changes to interface were minimal for user comfort
39
Sql Details View
40
Load Map New Visual Way of Showing Data, Multiple Ways!
41
ASH Analytics Summary Future of “Top Activity”
Easy Agent Deployment through EM12c Console Comfortable Interface for those familiar with Previous Versions. Cool new features, new learning curve for some. Oracle user DOES NOT need sudo, disregard the instructions.
42
Links Step by Step to create a metric extension from Rob Zoeteweij- EM12c blogs- Gokhan Atil- Martin Bach- Niall Litchfield- Contact info for me Company Website: Twitter: @DBAKevlar RMOUG: RMOUG Training Days– Feb. 11th-13th, 2013, Denver, CO Linkedin: Kellyn Potvin and/or Rocky Mountain Oracle User Group or or Blog: dbakevlar.com
43
SAVE THE DATE! COLLABORATE 13 April 7-11, 2013 Colorado Convention Center Denver, Colorado
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.