Fusion Middleware Performance Problems? Take Advantage of DMS
By Daniel Mortimer-Oracle on Feb 04, 2013
Why is my application running slowly?
How can I access configuration data and related metrics?
I need to a tool to help me tune my Fusion Middleware solution?
If you are asking these types of questions then take some time out to find out more about DMS.
What is DMS?
Yes, another acronym .. sorry ... translation : "Dynamic Monitoring Service." It is a service which enables Oracle Fusion Middleware components to provide data regarding the component's performance, state and ongoing behavior. DMS measures and reports metrics, trace events and system performance and provides a context correlation service for these components.
- Comprehensive set of performance metrics
- Multiple tools for easier viewing and analysis of the metrics - including:
- Fusion Middleware (EM) Control
- DMS Spy Servlet
- Remote Diagnostic Agent
- Diagnostic Framework
- Event Tracing
- configure live tracing with no restarts
- trace issues within a given time period or collect specific data at a specific time for a specific set of criteria
Oracle Fusion Middleware Performance and Tuning Guide 11g
Chapter 6 Oracle Dynamic Monitoring Service Performance Tuning
is the place to find out more.
Important to Note:
The majority of Oracle Fusion Middleware 11g WebLogic based products incorporate DMS in their product code. As such there is no special set up required. DMS works out of the box. For WebLogic based products Diagnostic Framework is provided via JRF (Java Required Files). If a WebLogic Managed Server does not have JRF applied, DFW will NOT be available. Domains created with standalone WebLogic Server will not, by default, have JRF applied. Refer to:
Oracle Fusion Middleware Administrator's Guide 11g Release 1 (11.1.1)
19 Scaling Your Environment
19.3.1 Applying Oracle JRF Template to a Managed Server or Cluster
If you have a login to My Oracle Support, also check out the knowledge article:
How to Apply FMW ( EM ) Control and JRF to a WebLogic Domain and Managed Servers [ID 947043.1]
DMS and Fusion Middleware (EM) Control
As stated above there are many ways to integrate with DMS. In this blog post, I am going to focus on Fusion Middleware (EM) Control as I think it tackles the task rather well. In Fusion Middleware Control, the DMS metrics for a component (e.g. a WebLogic managed server) are accessed via the Performance Summary option.
Screenshot : Performance Summary Menu Option
The Performance Summary will show a default selection of metrics for the component - some displayed in chart form, others listed in tables. However, within a matter of minutes you can change the metric selection and configure a metric view which suits your purpose or analysis.
For example; the screenshot below shows charts which plots, by way of comparison, the CPU and Memory usage of two WebLogic Managed Servers residing in the same domain.
Screenshot: WebLogic Managed Server - CPU and Memory Comparison
How is this done? Well, first click the button "Show Metric Pallette".
Screenshot : Show Metric Pallette
The metric pallette allows you to pick and choose from a wide range of metrics. It is worth exploring. In this example, CPU and Memory Usage under the "JVM Metrics" has been chosen for WC_Spaces1.
Screenshot : WC_Spaces1
Then we scrolled down and selected the same metrics for WC_Spaces2 which is found under "Related Targets". To plot metrics on the same chart, the trick is to drag the metric from the pallette onto the existing chart which is showing just the one value. It's a bit difficult to show this in a screenshot :-) Just give it a go.
You can also play around with the metric time period by enabling the Slider, or by specifying default time selection periods (15 minutes, 30 minutes, 1 hour), or by specifying your own start and end date / times.
Screenshot: Metric Time Period
And a final tip. Try using the Overlay menu option to build a chart which shows a data comparison - for example another Oracle WebLogic Server or Yesterday's data. (You will only see the latter option if you have been logged into Fusion Middleware (EM) Control for over 24 hours.)
I hope this gives a flavor of what Dynamic Monitoring Service has to offer and that it can help you resolve performance related issues.