Orb Data

Orb Data's Blog Site

IBM Application Performance Diagnostics Lite: The Basics

IBM recently released the IBM Application Performance Diagnostics (APD)  Lite product, but what is it? What does it do? How can it help you?

The product homepage can be found here and contains a product demonstration video as well as a download  area for the software and associated documentation. So what does IBM say it actually is?

From developerworks: IBM Application Performance Diagnostics (APD) Lite is a powerful yet lightweight tool that can be deployed quickly to help optimize the performance of your WebSphere Application Server and WebSphere Portal applications.

What it does for you?

Key benefits

So, what next?

This is all very well and useful information to know. But what is IBM Application Performance Diagnostics (APD) Lite. In a nutshell it comprises two things and requires no infrastructure.

Installation and configuration of the data collector is very straightforward and is documented comprehensively in the product documentation. Re-configuring the data collector to interface with other products or to make changes will require a restart of the WebSphere JVM.

Installation of the client is pretty straightforward.

Now in our example we installed WebSphere Application Server v8.x including the PlantsbyWebSphere application. We then installed the data collector and configured it to simply talk to Application Performance Diagnostics Lite. We then restarted the WebSphere Application Server instance. Had this been in a Network Deployment we would also be required to restart the Node Agent. A simple check was performed to ensure the application is running by going to http://<mywasserver>:9080/PlantsByWebSphereAjax

PlantsbyWebSphere Homepage

 

Starting the client

On Windows you can create a link to %CLIENT_HOME%\apd.exe. Double click this link to open the Application Diagnostics Lite Rich Client.

APD Lite GUI - EmptyFrom the opened IBM Application Diagnostics Lite client we can see that there are two possible modes of operation – log file connection and server connection.

Modes of Operation

As discussed previously the data collector collects monitoring information about an application server instance(s) and the application Performance Diagnostics Lite client displays this monitoring information.

As can be seen from the IBM Application Performance Diagnostics Lite Client there are two modes of operation, namely Log File and Server Connection.

Server Connection

Log File Connection

Viewing Data Real Time via a JMX Connection

Within the APD Lite client, right click Server Connection and select Open Server. Give your server connection a name, hostname, SOAP Port and credentials.6

Then select Finish. The connection should automatically be established and a performance overview blank screen should be visible.

Server Connection Connected - No data yet

Now if we exercise the application PlantsByWebSphere, data should start to appear in the APD Lite client. Let us login, buy some plants and checkout for example. As this is collecting data in real time the APD client starts to receive and visualise the data. We will get information in the Performance Overview including a Request Summary, Time Chart, Breakdown Chart and Distribution Chart for each of the request types.

Live data from a JMX Server Connection

Viewing Data from a Previous Log File

We can save the performance data we have just collected upon stopping Icon bar

10

Log File Connection Established

Now we have both a log file connection to load previous data and a server connection to retrieve live data via JMX

Summary

Basically this blog aims to show how easy it is to install and retrieve application data into a lite client interface without the requirement of a large infrastructure. The breakdown includes Servlet, EJB, JNDI, JDBC and JCA including Response Time (ms) and CPU (ms). Further detail can be visualised by drilling down inside the pie charts or request summaries. There is also the ability to set thresholds within this user interface. It is a very neat and efficient way of getting application performance diagnostic information out of WebSphere without deploying large scale infrastructures such as ITCAM.

It should be used as a diagnostics tool, for testing and development in anticipation of a large scale deployment of ITCAM for Application Diagnostics or ITCAM for Transactions.

Oh and did I mention, this is part of an IBM Continuous BETA and doesnt require a license, so is essentially free. Not often that happens from IBM.

, , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *