Sunday 4 November 2012

PMI(PERFORMANCE MONITORING INFRASTRUCTURE)


         PMI (PERFORMANCE MONITORING INFRASTRUCTURE)



-----> collects performance data inside the server and provides an interface to externalize it to clients 



---> Performance Collected on



1) Application Resources : EJB, SERVLET , JSPS

2) WebSphere run time resources : JVM memory, thread pools , Connection pools.

3) System resources : CPU Usage, total free memory.




Configuration of PMI : 



STEP 1 : PMI is enabled by default.

STEP 2 : Select Monitoring and tuning -----> Performance Monitoring Infrastructure

STEP 3 : Select the server to be monitored.

STEP 4 : Configuration tab -----> Select Performance Monitoring Infrastructure (PMI) check box

STEP 5 : Restart the server.

STEP 6 : Default statistics set is Basic.

STEP 7 : In Administrative Console -----> Select Performance Monitoring Infrastructure (PMI) 

STEP 8 : Select radio button for desired statistic set  (None, Basic, 
Extended, All or Custom)


STEP 9 : Configuration tab is selected restart the server.





PMI TECHNOLOGIES :




1) PMI (PERFORMANCE MONITORING INFRASTRUCTURE) 



2) REQUEST METRICS :  Enables you to track individual transactions, recording the processing time in each of   the major WebSphere Application Server components 



-----> Output viewed in standard logs or using an Application Response Measurement 
  (ARM) based tool 



------> Supports externalization of data to standard log files and/or an 
Application Response Measurement (ARM) agent 





3) TPV (TIVOLI PERFORMANCE VIEWER) :  Enables administrators to monitor the overall health of WebSphere Application Server

------> Accessed from within the administrative console



4) PERFORMANCE SERVLET :  Provides simple retrieval of performance data in XML format

----->  Accessed through a browser
  



5) PERFORMANCE ADVISOR : Analyze collected performance data and provide configuration recommendations to  improve the application server performance

-----> Output viewed in TPV or in administrative console runtime messages

-----> we can view action logs in Performance Advisor.




WebSphere provide two seperate providers.



1) Performance Diagnostic Advisor.

2) Tivoli Performance Viewer Advisor.







1) Performance Diagnostic Advisor:




STEP 1 : Enable PMI.



STEP 2 : Change Configuration Settings under Servers ------> Application Servers ------->[SERVER_NAME] ------> Performance and Diagnostic Advisor Configuration

STEP 3 : If we want to see the  any error or Runtime messages we have to see SystemOut.logs




2) Tivoli Performance Viewer Advisor : 




STEP 1 : Enable PMI and Extended Statistic Set.



STEP 2 : In Admin Console Select Monitoring and Tuning -----> Performance Viewer -----> Current Activity.



STEP 3  Click Advisor in the Tivoli Performance   Viewer navigation tree



STEP 4  :   Click Refresh All Advice on top of the advice table to recalculate the advice 

based on the current data in the buffer 





CONFIGURATION OF TPV (TIVOLI PERFORMANCE VIEWER) :




STEP 1  : Goto Admin Console ------> Select Monitoring and Tuning -----> Select PMI 



STEP 2 : Select Server first then click Start Monitoring.



STEP 3 : Select default server Server1.



STEP 4 : Select Performance Viewer under TPV.



STEP 5 : Click on Performance Modules under Server1



STEP 6 : Select Summary reports

STEP 7 : In this reports we get Servlets , JSP , EJB's , Thread pool

STEP 8 : Select Servlet

STEP 9 : Here we can see the options in Servlet depending on this we can choose and also 

we can see the graphs in TPV

  

1 comments:

Unknown said...

do we have any commands for performance tuning

Post a Comment