- Oracle SOA Suite 11g Performance Tuning Cookbook
- Matthew Brasier Nicholas Wright
- 414字
- 2021-08-13 16:51:44
Monitoring the system using the DMS servlet
The DMS Spy servlet provides access to information from the Oracle Dynamic Monitoring System. It is not strictly a monitoring tool, as it does not display historical metrics or trends, but has a wide range of metrics, so is nevertheless useful.
Getting ready
You will need to have your WebLogic SOA Domain administration server running, and will wneed to know the administration credentials for this recipe.
How to do it...
These steps show us how to use the DMS servlet:
- Open a web browser, and point it at
http://servername:port/dms/Spy
. For example,http://localhost:7001/dms/Spy
. - A login dialog box will pop up; enter your domain administration credentials.
- The DMS Spy servlet will open, displaying a list of available metrics:
- Select the metric you want from the available categories on the left, and it will be displayed in the main pane.
How it works...
The Oracle Dynamic Monitoring System (DMS) is a library that pulls together metrics from a number of different sources, and exposes them in a common way. This does not only include JMX metrics from the servers, but also other metrics. In fact, you can add your own metrics to the DMS by adding sensors into your Oracle SOA Suite application. We recommend doing this if you wish to track performance metrics from within your application processes.
The DMS Spy servlet provides a simple way to view the metrics made available by the DMS, and is deployed by default on the administration server in a SOA Suite domain. On its own, it is not very powerful, but the simple format of the pages means that you can build simple "screen scraping" tools that will pull the metrics from the DMS servlet and make them available.
There's more...
A majority of the information available via the DMS servlet is also exposed via JMX, which is a much easier way of accessing it, and because you can also expose your own metrics over JMX, we have not seen many organizations that make use of the DMS servlet.
As JMX is a standards-based protocol, with many tools available for retrieving metrics (such as Hyperic, discussed elsewhere in this chapter), we would recommend using this over DMS if you wish to expose your own monitoring information about your application. Having said that, the DMS servlet can be a useful tool in identifying performance problems, and the fact that it is deployed by default in SOA domain environments makes it worth mentioning here.
- 工業(yè)控制網(wǎng)絡(luò)安全技術(shù)與實(shí)踐
- 異構(gòu)基因共表達(dá)網(wǎng)絡(luò)的分析方法
- 物聯(lián)網(wǎng)關(guān)鍵技術(shù)及應(yīng)用
- Spring Cloud微服務(wù)架構(gòu)進(jìn)階
- 城域網(wǎng)與廣域網(wǎng)(第2版)
- 網(wǎng)絡(luò)安全應(yīng)急響應(yīng)技術(shù)實(shí)戰(zhàn)
- 圖解手機(jī)元器件維修技巧
- Getting Started with nopCommerce
- 設(shè)備監(jiān)控技術(shù)詳解
- 加密與解密實(shí)戰(zhàn)全攻略
- 網(wǎng)絡(luò)分析技術(shù)揭秘:原理、實(shí)踐與WinPcap深入解析
- 現(xiàn)場總線與工業(yè)以太網(wǎng)及其應(yīng)用技術(shù)(第2版)
- CDN技術(shù)詳解
- 5G時(shí)代:生活方式和商業(yè)模式的大變革
- 基于問題學(xué)習(xí)的計(jì)算機(jī)網(wǎng)絡(luò)教程