The Performance Monitoring Infrastructure (PMI) uses a client-server architecture. The server collects performance data from various WebSphere Application Server components. A client retrieves performance data from one or more servers and processes the data.
The WebSphere Application Server server collects PMI data in memory. This data consists of counters such as servlet response time and data connection pool usage. The data points are then retrieved using a Web client, Java client or JMX client. WebSphere Application Server provides the Tivoli Performance Viewer, a Java client which displays and monitors performance data
In order to use the performance monitoring tools, you need to set up the WebSphere Commerce PMI module as follows:
- In order to monitor performance data through the PMI interfaces, you must first enable the performance monitoring services through the WebSphere Application Server administrative console and restart the server. See the section "Enabling PMI services in application server through the administrative console" in the >WebSphere Application Server Information Center (http://www.ibm.com/software/webservers/appserv/infocenter.html) for the detailed steps.
- You can also monitor performance data through the PMI interface by enabling the performance monitoring service in NodeAgent through the administrative console. See the section "Enabling PMI services in NodeAgent through the administrative console" in the >WebSphere Application Server Information Center (http://www.ibm.com/software/webservers/appserv/infocenter.html) for the detailed steps.
- Once you have setup the above, you can collect the data.
The monitoring levels that determine which data counters are enabled can be set dynamically, without restarting the server. This can be done in one of three ways:
- Enable data collection through the WebSphere Application Server administrative console.
- Enable performance monitoring services through Tivoli Performance Viewer (formerly Resource Analyzer).
- Enable performance monitoring services using the command line
See the sections corresponding to the above tasks in the >WebSphere Application Server Information Center (http://www.ibm.com/software/webservers/appserv/infocenter.html) for the detailed steps.
- Monitor and analyze performance data.
You can monitor and analyze data with several tools:
- Monitor performance data with Tivoli Performance Viewer. This tool is included with WebSphere Application Server.
- Monitor performance data with other Tivoli monitoring tools.
- Monitor performance data with user-developed monitoring tools. Write your own applications to monitor performance data.
- Monitor performance with third-party monitoring tools.
See the sections corresponding to the above tasks in the >WebSphere Application Server Information Center (http://www.ibm.com/software/webservers/appserv/infocenter.html) for the detailed information.