WAS v8.5 > Script the application serving environment (wsadmin) > Troubleshooting with scripting

Enable the Runtime Performance Advisor tool using scripting

We can configure the Runtime Performance Advisor (RPA) using wsadmin or the dmgr console. The recommendations display as text in the SystemOut.log file.

IBM recommends using the HPEL log and trace infrastructure. With HPEL, one views logs using the LogViewer command-line tool in PROFILE/bin.

The processing of RPA is governed by various rules and corresponding rule IDs. The following table summarizes the mapping between rule IDs and the advice the RPA would process.

The Runtime Performance Advisor (RPA) requires the Performance Monitoring Service (PMI) is enabled. It does not require that individual counters be enabled. When a counter needed by the RPA is not enabled, the RPA will enable it automatically.

There is no MBean/object available for wsadmin to create a RPA configuration. We can use wsadmin to change the settings and make them effective at runtime. These changes will not be persisted. The changes remain until you stop the server. Since the RPA is disabled once you stop the server, you may want to disable the PMI Service or the counters that were enabled while it was active. We can enable the following counters using the Runtime Performance Advisor:

The following provides an explanation for some of the settings that we can use:

Setup the Runtime Performance Advisor (RPA), for example:

After completing the previous steps, start the server and monitor RPA.


Related concepts:

Performance and Diagnostic Advisor


Related

Use the wsadmin scripting AdminControl object for scripted administration
Troubleshoot applications with HPEL
Use the Performance and Diagnostic Advisor
Start the wsadmin scripting client using wsadmin.sh
Commands for the AdminControl object using wsadmin.sh


+

Search Tips   |   Advanced Search