geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Geronimo v2.1 > Performance monitoring
Date Fri, 23 Apr 2010 02:08:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/1520/1/1/_/styles/combined.css?spaceKey=GMOxDOC21&amp;forWysiwyg=true"
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="">Performance
     <h4>Page <b>edited</b> by             <a href="">Runhua
     <div class="notificationGreySide">
         <style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
class='ScrollbarPrevIcon'><a href="/confluence/display/GMOxDOC21/Monitor+Server+status"><img
border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td
width='33%' class='ScrollbarPrevName'><a href="/confluence/display/GMOxDOC21/Monitor+Server+status">Monitor
Server status</a>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/GMOxDOC21/Administering+the+Apache+Geronimo+Server"><img border='0'
align='middle' src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
the Apache Geronimo Server</a></td><td width='33%' class='ScrollbarNextName'>&nbsp;<a
href="/confluence/display/GMOxDOC21/Starting+and+stopping+the+server">Starting and stopping
the server</a></td><td class='ScrollbarNextIcon'><a href="/confluence/display/GMOxDOC21/Starting+and+stopping+the+server"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>

<p>For monitoring the Web server performance the <b>Monitoring</b> portlet
is available by selecting <b>Monitoring</b> on the <b>Console Navigation</b>
menu on the left hand side. This feature will allow you to view a number of server statistics
on the system JVM, web servers, and information via the AJP protocol. The graph information
is provided by the data exposed by the connector MBean.</p>

<p>This article shows one such way of monitoring server information. For this example,
we attempt to determine if there is a correlation between the server JVM heap space and the
web containers number of bytes downloaded. In other words, this monitoring session will show
if the server is releasing heap memory after client downloads. You can create views based
on your needs or just using <a href="#Performancemonitoring-Monitoringtheserverwithpredefinedgraphsandviews">predefined
graphs and views</a> in Geronimo 2.1.5</p>

<p>First, select the <b>Monitoring</b> link on the <b>Console Navigation</b>
menu. If this is your first monitoring session, you should see an empty set of Servers, Views,
and Graphs as shown in this figure.<br/>
<img src="/confluence/download/attachments/77235/consoleMonitoringStart.png" align="absmiddle"
border="0" /></p>

<h3><a name="Performancemonitoring-AddingaServer"></a>Adding a Server</h3>
<p>Select a server to monitor by providing a host name or IP address. Select the protocol
for communication and any security credentials. Save this server definition by pressing <b>Save</b>.<br/>
<img src="/confluence/download/attachments/77235/consoleMonitoringServerAdd.png" align="absmiddle"
border="0" /></p>

<h3><a name="Performancemonitoring-AddingaGraph"></a>Adding a Graph</h3>
<p>Select information to display by adding a graph. Select the server you are monitoring,
and then choose an MBean that publishes server information by choosing an MBean from the MBean
drop down control. Once you have selected an MBean, you can see what information is available
by selecting data from the Data series drop down control. When you have described the data,
save this graph by pressing <b>Save</b>.<br/>
<img src="/confluence/download/attachments/77235/consoleMonitoringGraphAddJVM.png" align="absmiddle"
border="0" /></p>

<p>Select more information to display by adding a second graph. As the two data series
scroll in time, we will be able to detect any correlation between the data. Once again, choose
a server and an MBean to monitor. Select data from the Data series drop down control. Since
data sent increases over time, also select <b>delta</b> for the Data series, so
we see the rise and fall of the data over time. Save this graph by pressing <b>Save</b>.<br/>
<img src="/confluence/download/attachments/77235/consoleMonitoringGraphAddBytes.png" align="absmiddle"
border="0" /></p>

<h3><a name="Performancemonitoring-AddingaView"></a>Adding a View</h3>
<p>Now group one or more graphs into a view. Here we add a view for "JVM vs Bytes Sent"
by selecting two of the graphs we created in earlier steps. Save the view by pressing <b>Save</b>.<br/>
<img src="/confluence/download/attachments/77235/consoleMonitoringViewAdd.png" align="absmiddle"
border="0" /></p>

<p>This figure shows the console monitoring portlet after we have added the server,
graphs, and views.<br/>
<img src="/confluence/download/attachments/77235/consoleMonitoringReady.png" align="absmiddle"
border="0" /></p>

<h3><a name="Performancemonitoring-TheMonitoringGraphView"></a>The Monitoring
Graph View</h3>
<p>Click on a view to start monitoring server information over time. This view shows
the JVM heap and web server bytes sent over a one hour period. As you see in the example,
the JVM heap memory goes up and down over time with little correlation to the number of bytes
users request from the web server. <br/>
<img src="/confluence/download/attachments/77235/consoleMonitoringView.png" align="absmiddle"
border="0" /></p>

<h2><a name="Performancemonitoring-Monitoringtheserverwithpredefinedgraphsandviews"></a>Monitoring
the server with predefined graphs and views</h2>

<p>Geronimo v2.1.5 provides a set of predefined graphs and views for server monitoring.
With the enhancement, a view-only user monitor is created and the user can leverage those
graphs and views directly to monitor the health of a server. See <a href="/confluence/display/GMOxDOC21/Monitoring+the+server+with+predefined+graphs+and+views"
title="Monitoring the server with predefined graphs and views">Monitoring the server with
predefined graphs and views</a> for the details.</p>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>

       <a href="">View
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message