WebLogic Performance Monitoring - OFM Canberra July 2014
Upcoming SlideShare
Loading in...5
×
 

WebLogic Performance Monitoring - OFM Canberra July 2014

on

  • 97 views

Slides from the July Oracle Middleware Forum held in Canberra, Australia. Covers performance monitoring in WebLogic through WLDF (WebLogic Diagnostic Framework). Check out our blog ...

Slides from the July Oracle Middleware Forum held in Canberra, Australia. Covers performance monitoring in WebLogic through WLDF (WebLogic Diagnostic Framework). Check out our blog http://ofmcanberra.wordpress.com for more details on the Nagios integration

Statistics

Views

Total Views
97
Views on SlideShare
74
Embed Views
23

Actions

Likes
0
Downloads
8
Comments
0

2 Embeds 23

http://ofmcanberra.wordpress.com 22
https://ofmcanberra.wordpress.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • This is a Title Slide with Picture slide ideal for including a picture with a brief title, subtitle and presenter information. <br /> <br /> To customize this slide with your own picture: <br /> <br /> Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert.

WebLogic Performance Monitoring - OFM Canberra July 2014 WebLogic Performance Monitoring - OFM Canberra July 2014 Presentation Transcript

  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | WebLogic Performance Monitoring Joel Nation Solutions Architect Oracle Canberra Oracle Confidential – Internal/Restricted/Highly Restricted
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Monitoring WebLogic • How to monitor what’s going on in WebLogic? • Use WLDF (WebLogic Diagnostic Framework) – Diagnose runtime problems with WebLogic environments – Provides a watch/notification system for issues – Enables you to dump a diagnostic image to disk (to send to support) – Integrates with JRockit Flight Recorder to capture WebLogic events for offline viewing Oracle Confidential – Internal/Restricted/Highly Restricted 2
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Architecture Oracle Confidential – Internal/Restricted/Highly Restricted 3 Log File Event Collector Mbean Property Harvester Code Instrumentor Archiver Watcher JRockit Flight Recorder Buffer Accessor Notifier JRockit Mission Control SNMP, JMS, Email WLST, JMX, Dashboard Capture Process Expose
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | How does it help me? • Allow you to monitor and notify on WebLogic internal metrics that may be causing problems. Common examples include: • JDBC Connection pool metrics like: – Average/Max Connection Pool Wait Time – Average/Max Number in Use – Prepared Statement Cache Hit/Miss Ratio • JMS Server Metrics like: – Number of Messages – Number of consumers >= 1 Oracle Confidential – Internal/Restricted/Highly Restricted 4
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Diagnostic System Module • A DSM is a configuration container for: – Harvester: for collecting metrics from Mbeans – Watches and Notifications: conditions to watch for and the notifications to take – Instrumentation: Add diagnostics code to WebLogic instances and the applications running them • Create through the Admin console or WLST • Can target multiple servers and clusters • Only one DSM active per server Oracle Confidential – Internal/Restricted/Highly Restricted 5
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Collecting Metrics • The Harvester is used to collect data from Mbeans – Only simple type attributes can be harvested • Metrics are collected over a sampling period – Once collected can be accessed via the dashboard, JMX etc Oracle Confidential – Internal/Restricted/Highly Restricted 6
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Dashboard Oracle Confidential – Internal/Restricted/Highly Restricted 7
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Demo 1: WebLogic Dashboard Oracle Confidential – Internal/Restricted/Highly Restricted 8
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Watches & Notifications • A Watch identifies a situation that you want to trap for monitoring • There are 3 types: – Harvester: monitor Mbeans – Log: monitor the log – Instrumentation: monitor events generated by WLDF • A Notification is an action taken when a watch is triggered. WLDF supports the following: – SMTP Notification: Send an email – JMS Notification: Send a message to a JMS queue – SNMP Notification: Raise an SNMP trap – Image Notification: Dump a diagnostic image to disc – JMX Notification: Raise a JMX notfication Oracle Confidential – Internal/Restricted/Highly Restricted 9
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Demo 2: Create a Watch Oracle Confidential – Internal/Restricted/Highly Restricted 10
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3rd Party Integration • Enterprise Manager provides in-built SNMP monitoring to WebLogic • You can integrate with any monitoring tool that can accept SNMP Traps. Eg: Nagios Oracle Confidential – Internal/Restricted/Highly Restricted 11 WLS SNMP Alert Run Nagios Cmd SNMP Trap Handler
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Demo 3: Nagios Integration Oracle Confidential – Internal/Restricted/Highly Restricted 12
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Going further... • The Harvester can harvest any MBean – Even from your application! – Expose metrics from Java as MBeans that WLDF can use in a DSM • The DSM can also output Diagnostic Images – You can create a watch to output this automatically Oracle Confidential – Internal/Restricted/Highly Restricted 13
  • Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | More Resources • WLDF 11g Documentation: – http://docs.oracle.com/cd/E17904_01/web.1111/e13714/toc.htm • WLDF 12c Documentation: – http://docs.oracle.com/cd/E24329_01/web.1211/e24426/toc.htm • Our Blog – Detailed WebLogic-Nagios post to added soon – http://ofmcanberra.wordpress.com Oracle Confidential – Internal/Restricted/Highly Restricted 14