EM12c Monitoring,Metric Extensions and Performance Pages          Kellyn Pot’Vin     Sr. Techical Consultant
Kellyn Pot’Vin• Westminster, Colorado• Oracle ACE, Sr. Technical Specialist at Enkitec• Multi-Platform DBA• Specialize in ...
Why We Monitor our Databases• Pro-active notification of issues before resulting in  outages/impact to users.• Awareness o...
Monitoring and Notification DownfallsYahoo News- “Over 70% of workers would give upshower[ing] to eliminate unnecessary em...
Presentation Agenda•   EM Architecture•   EM Incident Rules and the Incident Manager•   Metric Extensions- The Why and the...
Simple EM Architecture                         • Oracle Repository stores                           data in an Oracle data...
Effective Monitoring with IncidentManager
Creating Incidents From Alerts
Incident RulesFrom EM12c Console•Setup•Incidents•Incident Rules/ Job Events
Incident Rule Sets• Two Non-Editable, Main Rule Sets Come with EM12c  Installation,   •   Incident Management   •   Event ...
Incident Management Rules- BrokenDown• Incident Creation for metric alerts• Auto- Clear rule for metric alert older then 7...
Utilizing Existing Rule Sets1. Disable existing, Non-editable, system generated,   incident management rule set.2. Pre-exi...
Disabling and Copying Rule Sets
Copying a Rule Set•   Fill in new name of Incident Rule Set.•   Defaults to all targets, exclude, change to target types o...
Copying Rule Set, Rules Tab• Click on the Rules Tab   • You can Edit Existing rules, enhancing, updating or     changing d...
Copying Rule Set, Co-authors
Rules vs. Metric Thresholds• Rule are Set Globally.• Rules are Independent of Database Metric Settings.
Metric Settings• Set at database level unless using a template.• In 12.0.1.0 BP1, only set with warning thresholds.• Good ...
What Are Metric Extensions?• A dynamically configured extensions feature allowing  to monitor environment specific conditi...
Metric Extensions Details• Metric Extensions replace the formerly known “User  Defined Metrics”• User Defined Metrics were...
The “More” of Metric Extensions• A simple wizard allows for easy development and  refinement of metric extensions.• Abilit...
Development Life Cycle
Enterprise > Monitoring > MetricExtensions
The Creation
Creation, Part II
Creation, Part III• Defaults meet the needs for example.
Creation, IV
Add Columns• Columns  • AGENT_PID with Description of “AGENT PID”  • MEM_USG with Description of “MEMORY USAGE”  • VAL_MEM...
Credentials• Choose a pre-existing setup or new?
The Finale!• Test, rinse, and repeat, (deploy/publish!)
Publishing/Deploying/Retaining
Metric Extensions Summary• Create development metric extension, wizard will  simplify process.• Test with test page and ve...
EM12c Performance Pages•   Summary Page•   Top Activity•   SQL Monitor•   ASH Analytics•   ASH/AWR Reports•   SQL Tuning A...
The Summary Page
Database Level Summary Page
Top Activity, “The Grid”• Graphical display of performance usage.• 15 second refresh, manual refresh or historical.• Revie...
The low down of the Top Activity• Top SQL on left.• Top sessions, clients, etc. on right in drop down.
Here’s our spike, which waits?                   • Commonly, focus on pink,                     orange, red and brown for ...
We’re in the Red, (Orange, too!)                                   • Inspect High                                     % us...
Session Details
Next?• Two sessions are executing• Option to run an ASH report, (right hand side)
What ASH Tells Us
The Icing on the Cake• Duh, add some memory to the EM12c box! 
SQL Monitor• Elapsed Time• SQL_ID, Beginning SQL Text.• Parallel, Waits and Execution Time
Top Activity, ASH style  Ability to choose timelines by:  Hour                Day  Week                Month  Calendar    ...
Familiar InterfaceChanges to interface were minimal for user comfort
Sql Details View
Load Map  New Visual Way of Showing Data, Multiple  Ways!
ASH Analytics Summary• Future of “Top Activity”• Easy Agent Deployment through EM12c Console• Comfortable Interface for th...
LinksStep by Step to create a metric extension from Rob Zoeteweij-http://oemgc.files.wordpress.com/2012/05/using-metric-ex...
SAVE THE DATE!     COLLABORATE 13      April 7-11, 2013Colorado Convention Center     Denver, Coloradohttp://collaborate13...
Upcoming SlideShare
Loading in …5
×

EM12c Monitoring, Metric Extensions and Performance Pages

5,076 views

Published on

Published in: Technology

EM12c Monitoring, Metric Extensions and Performance Pages

  1. 1. EM12c Monitoring,Metric Extensions and Performance Pages Kellyn Pot’Vin Sr. Techical Consultant
  2. 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 and Database Track Committee for KSCOPE 2013• Blog: DBAKevlar.com• Twitter: @DBAKevlar
  3. 3. 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.
  4. 4. Monitoring and Notification DownfallsYahoo News- “Over 70% of workers would give upshower[ing] to eliminate unnecessary emails.”•Paging with “Successful” and/or “I’m OK”.•Not alerting for enough types of failures, insteadcovering with when complete.•Paging on “Warning”•Setting Critical thresholds too high vs. giving time tocorrect.
  5. 5. 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
  6. 6. 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.
  7. 7. Effective Monitoring with IncidentManager
  8. 8. Creating Incidents From Alerts
  9. 9. Incident RulesFrom EM12c Console•Setup•Incidents•Incident Rules/ Job Events
  10. 10. Incident Rule Sets• Two Non-Editable, Main Rule Sets Come with EM12c Installation, • Incident Management • Event Management
  11. 11. Incident Management Rules- BrokenDown• 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, (Application Dependency and Performance) alerts without incident after 7 days.• Incident creation rule for high-availability events.
  12. 12. Utilizing Existing Rule Sets1. Disable existing, Non-editable, system generated, incident management rule set.2. Pre-existing are Quality Rule Sets, but need to be editable.3. Need to Copy the Incident Rule Sets.4. Enhance or Add Additional Rules to the New Copy of a Rule Set.
  13. 13. Disabling and Copying Rule Sets
  14. 14. 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.
  15. 15. Copying Rule Set, 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.
  16. 16. Copying Rule Set, Co-authors
  17. 17. Rules vs. Metric Thresholds• Rule are Set Globally.• Rules are Independent of Database Metric Settings.
  18. 18. Metric Settings• Set at database level unless using a template.• In 12.0.1.0 BP1, only set with warning thresholds.• Good reason to use a template.
  19. 19. 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.
  20. 20. 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.
  21. 21. The “More” of Metric 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.• Loved, stand-alone scripts, with small changes can become metric extensions, too!
  22. 22. Development Life Cycle
  23. 23. Enterprise > Monitoring > MetricExtensions
  24. 24. The Creation
  25. 25. Creation, Part II
  26. 26. Creation, Part III• Defaults meet the needs for example.
  27. 27. Creation, IV
  28. 28. Add Columns• Columns • AGENT_PID with Description of “AGENT PID” • MEM_USG with Description of “MEMORY USAGE” • VAL_MEM with Description of “VALUE of MEMORY” • Number of occurrences before alerting=5, then click OK
  29. 29. Credentials• Choose a pre-existing setup or new?
  30. 30. The Finale!• Test, rinse, and repeat, (deploy/publish!)
  31. 31. Publishing/Deploying/Retaining
  32. 32. 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.
  33. 33. EM12c Performance Pages• Summary Page• Top Activity• SQL Monitor• ASH Analytics• ASH/AWR Reports• SQL Tuning Advisor• Misc. Features
  34. 34. The Summary Page
  35. 35. Database Level Summary Page
  36. 36. Top Activity, “The Grid”• Graphical display of performance usage.• 15 second refresh, manual refresh or historical.• Review up to time retained in AWR.
  37. 37. The low down of the Top Activity• Top SQL on left.• Top sessions, clients, etc. on right in drop down.
  38. 38. 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.
  39. 39. We’re in the Red, (Orange, too!) • Inspect High % use. • Red, orange, brown and pink.
  40. 40. Session Details
  41. 41. Next?• Two sessions are executing• Option to run an ASH report, (right hand side)
  42. 42. What ASH Tells Us
  43. 43. The Icing on the Cake• Duh, add some memory to the EM12c box! 
  44. 44. SQL Monitor• Elapsed Time• SQL_ID, Beginning SQL Text.• Parallel, Waits and Execution Time
  45. 45. Top Activity, ASH style Ability to choose timelines by: Hour Day Week Month Calendar Custom
  46. 46. Familiar InterfaceChanges to interface were minimal for user comfort
  47. 47. Sql Details View
  48. 48. Load Map New Visual Way of Showing Data, Multiple Ways!
  49. 49. 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.
  50. 50. LinksStep by Step to create a metric extension from Rob Zoeteweij-http://oemgc.files.wordpress.com/2012/05/using-metric-extensions-in-em12c.pdfEM12c blogs-Gokhan Atil- http://www.gokhanatil.com/Martin Bach- http://martincarstenbach.wordpress.comNiall Litchfield- http://orawin.info/blog/Info for Me!Company Website: www.enkitec.comTwitter: @DBAKevlarRMOUG: www.rmoug.orgRMOUG Training Days– Feb. 11th-13th, 2013, Denver, COLinkedin: Kellyn Potvin and/or Rocky Mountain Oracle User GroupEmail: dbakevlar@gmail.com or kpotvin@enkitec.com or TrainingdaysDir@rmoug.orgBlog: dbakevlar.com
  51. 51. SAVE THE DATE! COLLABORATE 13 April 7-11, 2013Colorado Convention Center Denver, Coloradohttp://collaborate13.ioug.org

×