Skip to main content

Do You Know How to get performance data from WebSphere over http?


In such type of scenarios you can easily consume performance statistics from your WebSphere instance. The way is to establish a JMX connection to the JVM and gather the metrics.


However remote JMX connections are not firewall friendly as they require a non standard port for communication.This non standard port has also to be defined in the WebSphere configuration.


WebSphere provides a small and easy to install servlet applications that delivers performance data over http in a xml format.
The application is called PerfServletApp.ear, Performance Servlet or PerfServlet.


The installation is straight forward. Navigate to Applications > Application types > WebSphere enterprise applications > Install and deploy the PerfServletApp.ear located in <WebSphere-Install-Root>/installableApps/PerfServletApp.ear

After deployment the Performance Servlet is reachable under the URL







Filtering the results


The performance servlet provides a basic filter functionality for the xml results. To filter the results simply add parameters to the url. IBM defined serveral parameters:

  • Node: http://localhost:9082/wasPerfTool/servlet/perfservlet?node=Marcel-PCNode03

  • Server: http://localhost:9082/wasPerfTool/servlet/perfservlet?server=server1

  • Module (!): http://localhost:9082/wasPerfTool/servlet/perfservlet?module=testmodule1

  • etc.The filters can be combined:

  • http://localhost:9082/wasPerfTool/servlet/perfservlet?node=Marcel-PCNode03&server=server1&module=jvmRuntimeModule+systemModule

The PerfServlet has a kind of man page:
http://localhost:9082/wasPerfTool/servlet/perfservlet?action=help


However the PerfServlet is limited and not really for use in large network deployment topology.



Comments

Popular posts from this blog

What is STP? - Explain Advantages and Disadvantages

The Spanning Tree Protocol is a network protocol that builds a loop-free logical topology for Ethernet networks. The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. STP is a protocol. It actively monitors all links of the network. To finds a redundant link, it uses an algorithm, known as the STA (spanning-tree algorithm). The STA algorithm first creates a topology database then it finds and disables the redundant links. Once redundant links are disabled, only the STP-chosen links remain active. If a new link is added or an existing link is removed, the STP re-runs the STA algorithm and re-adjusts all links to reflect the change. STP (Spanning Tree Protocol) automatically removes layer 2 switching loops by shutting down the redundant links. A redundant link is an additional link between two switches. A redundant link is usually created for backup purposes. Just like every coin has two sides, a redundant link, along with

What are the Advantages and Disadvantages of TCP/UDP ?? Difference between TCP and UDP

As in previous blog we have define and explain about what is TCP and UDP and from now we are moving ahead with Advantages, Disadvantages and Difference of TCP and UDP but for this you have to know about TCP and UDP hence to understand it go for a What is TCP and UDP . Advantage of TCP Here, are pros/benefits of TCP: It helps you to establish/set up a connection between different types of computers. It operates independently of the operating system. It supports many routing-protocols. It enables the internetworking between the organizations. TCP/IP model has a highly scalable client-server architecture. It can be operated independently. Supports several routing protocols. It can be used to establish a connection between two computers. Disadvantages of TCP Here, are disadvantage of using TCP: TCP never conclude a transmission without all data in motion being explicitly asked. You can't use for broadcast or multicast transmission. TCP has no block boundaries, so you