ZA380 Unit19 Script
ZA380 Unit19 Script
Performance monitoring
This unit is about monitoring system performance for WebSphere Application Server.
Unit objectives
After completing this unit, you should be able to:
Describe performance monitoring and tuning methodology
Use the Tivoli Performance Viewer to monitor application server resources
Use the performance servlet to generate performance data
Configure the Request Metrics tool to generate performance data about the end-to-end request flow
Use Performance Advisors to generate recommended tuning actions
Enable the performance collectors from ITCAM for WebSphere Application Server
Topics
In this unit, the following topics are presented:
Performance tuning and monitoring
Request metrics
Performance advisors
ITCAM for WebSphere Application Server
1
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
provide a starting point to the tuning process for the application server, and help you without requiring that you become an
expert.
Take advantage of performance functions. Obtain performance advice from the advisors. Tune the environment.
Troubleshoot performance problems. For more information, see the list of resources that are displayed on the slide.
Performance terminology
This slide displays a list of terms that are commonly associated with performance. Creating a glossary of performance terms
is essential for good performance monitoring. The glossary is used to ensure that everyone who is involved understands the
meaning of each term, decreasing the chance of inaccurate performance statistics.
Response time measures an individual user’s average wait for a request. Response times include the cumulative time that is
spent in processing the request, time that is spent in transit between systems, and the wait time that is spent in queues.
2
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
3
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
Each statistic set is a collection of a set of performance counters. If you select none, then no statistics are being collected. If
you select basic, then you are collecting statistics that include Java EE applications, HTTP session, and CPU usage. If you
select extended, then you are collecting the basic statistics plus statistics that include workload management and dynamic
caching. If you select all, then you collect all available statistics. Finally, you can select custom and choose the individual
components that you want to collect statistics.
Start monitoring
After enabling PMI for the server, in the console, select Monitoring and Tuning > Tivoli performance Viewer >
server_name > Start Monitoring. Then, go back to Monitoring and Tuning > Tivoli performance Viewer > current
activity.
4
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
Summary reports
Another option for viewing PMI data is selecting one of the summary reports available. These summary reports collect a
number of statistics for a broader group of related components into a report form.
5
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
6
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
However, when the request comes to the EJB container, the EJB filter is not checked because it is no longer an edge
transaction. You must regenerate the web server plug-in configuration file after modifying the request metrics configuration.
7
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
The performance advisor in Tivoli Performance Viewer (TPV) provides advice to help tune systems for optimal performance
and provide recommendations on inefficient settings by using collected PMI data. Obtain the advice by selecting the
performance advisor in TPV. In a network deployment environment, the performance advisor in TPV runs within the JVM of
the node agent and can provide advice on resources that are more expensive to monitor and analyze. The TPV advisor
requires that you enable performance modules, counters, or both.
8
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
9
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
10
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZA380/ZA580 Unit 19
3. Under Additional Properties, click ITCAM for WebSphere Application Server. After you make this selection, you
will see that Enable IBM Tivoli Composite Application Manager for WebSphere Application Server is selected.
4. Click the Runtime tab.
5. Click Start Monitoring. The system starts monitoring the ITCAM for WebSphere Application Server module, and the
Tivoli Performance Viewer sends the signal to ITCAM by using a Java Management Extensions (JMX) call. ITCAM
for WebSphere Application Server registers all performance modules from the PMI registry and starts monitoring
performance.
Unit summary
After completing this unit, you should now be able to:
Describe performance monitoring and tuning methodology
Use the Tivoli Performance Viewer to monitor application server resources
Use the performance servlet to generate performance data
Configure the Request Metrics tool to generate performance data about the end-to-end request flow
Use Performance Advisors to generate recommended tuning actions
Enable the performance collectors from ITCAM for WebSphere Application Server
11
© Copyright IBM Corporation 2012
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.