GlassFish Performance Advisor - Install and setup

The recently announced "GlassFish Enterprise Manager" has a number of cool features. In this blog I will introduce one of the interesting features, called the Performance Advisor and talk about how to install it and set it up.

As the name suggests, the Performance Advisor is designed to help users improve the performance of the application server. It does so in various ways :

  • Adjust the configuration settings in domain.xml to improve performance, based on the specific installation. This is discussed in more detail in a description of the Static Tuner.
  • Monitor various user configurable aspects of the system and alert the user when a potential problem is detected. You can find some examples here.
  • Automatically configure the settings of a running server instance, based on load and performance characteristics, observed while the server is running. An example would be the JDBC Pool Configuration.

    With this brief introduction, I will talk about how to install and set up the Performance Advisor.

    The Performance Advisor is available as a patch from SunSolve, look for patch id 140751. After downloading the patch do these steps :

  • Extract PerformanceAdvisor.jar and copy it into <glassfish-install>/lib directory.
  • Restart Domain Admin Server (DAS). The Performance Advisor is now installed and ready to be configured
  • Access the Admin Console (typically at <host>:4848) from your favorite browser.

    The "Performance Advisor" node will appear in the tree in the left frame of the console. This is how it would look like :

    Performance Advisor in Admin Console

    The Performance Advisor node consists of two parts -

  • Management rules
  • Static Tuner.

    Click on the Static Tuner to configure the domain.xml based on your installation. This is how the Static Tuner screen looks like : Static Tuner

    Click on "Management Rules". You will see a number of rules that can be configured to monitor various aspects of the running instance :

    Performance Advisor in Admin Console
    You can set up the advisor rules on different instances and clusters. After setting those up, you will need to restart the instances and clusters.

  • Comments:

    Excellent Blog! Thanks so much.

    Posted by Tom Kincaid on February 12, 2009 at 01:04 AM PST #

    Can't find that patch# at Sunsolve.

    Cheers.

    Posted by steve on November 23, 2009 at 05:09 PM PST #

    Post a Comment:
    • HTML Syntax: NOT allowed
    About

    sirajg

    Search

    Categories
    Archives
    « April 2014
    SunMonTueWedThuFriSat
      
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
       
           
    Today