qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Qpid > Configuring Qpid JMX Management Console
Date Mon, 24 Aug 2009 02:49:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=qpid&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/qpid/Configuring+Qpid+JMX+Management+Console">Configuring
Qpid JMX Management Console</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~robbie">Robbie
Gemmell</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <h2><a name="ConfiguringQpidJMXManagementConsole-ConfiguringQpidJMXManagementConsole"></a>Configuring
Qpid JMX Management Console</h2>

<p>Qpid has a JMX management interface that exposes a number of components of the running
broker. <br/>
You can find out more about the features exposed by the JMX interfaces <a href="/confluence/display/qpid/Qpid+Management+Features"
title="Qpid Management Features">here</a>.</p>

<p><a name="ConfiguringQpidJMXManagementConsole-eclipsercp"></a></p>

<h3><a name="ConfiguringQpidJMXManagementConsole-InstallingtheQpidJMXManagementConsole"></a>Installing
the Qpid JMX Management Console</h3>

<ol>
	<li>Unzip the archive to a suitable location.
<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><b>SSL encrypted
connections</b><br /><p>Recent versions of the broker can make use of SSL
to encrypt their RMI based JMX connections. If a broker being connected to is making use of
this ability then additional console configuration may be required, particularly when using
self-signed certificates. See <a href="/confluence/display/qpid/Management+Console+Security"
title="Management Console Security">Management Console Security</a> for details.</p></td></tr></table></div></li>
</ol>


<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td><b>JMXMP based
connections</b><br /><p>In previous releases of Qpid (M4 and below) the
broker JMX connections could make use of the JMXMPConnector for additional security over its
default RMI based JMX configuration. This is no longer the case, with SSL encrypted RMI being
the favored approach going forward. However, if you wish to connect to an older broker using
JMXMP the console will support this so long as the <em>jmxremote_optional.jar</em>
file is provided to it. For details see <a href="/confluence/display/qpid/Management+Console+Security"
title="Management Console Security">Management Console Security</a>.</p></td></tr></table></div>


<h3><a name="ConfiguringQpidJMXManagementConsole-RunningtheQpidJMXManagementConsole"></a>Running
the Qpid JMX Management Console</h3>

<p>The console can be started in the following way, depending on platform:</p>

<ul>
	<li>Windows: by running the 'qpidmc.exe' executable file.</li>
</ul>


<ul>
	<li>Linux: by running the 'qpidmc' executable.</li>
</ul>


<ul>
	<li>Mac OS X: by launching the consoles application bundle (.app file).</li>
</ul>




<h3><a name="ConfiguringQpidJMXManagementConsole-UsingtheQpidJMXManagementConsole"></a>Using
the Qpid JMX Management Console</h3>

<p>Please see <a href="/confluence/display/qpid/Qpid+JMX+Management+Console+User+Guide"
title="Qpid JMX Management Console User Guide">Qpid JMX Management Console User Guide</a>
for details on using this Eclipse RCP application.</p>



<p><a name="ConfiguringQpidJMXManagementConsole-jconsole"></a></p>
<h2><a name="ConfiguringQpidJMXManagementConsole-UsingJConsole"></a>Using
JConsole</h2>

<p>See <a href="/confluence/display/qpid/JConsole" title="JConsole">JConsole</a></p>

<p><a name="ConfiguringQpidJMXManagementConsole-hermesjms"></a></p>
<h2><a name="ConfiguringQpidJMXManagementConsole-UsingHermesJMS"></a>Using
HermesJMS</h2>

<p>HermesJMS also offers integration with the Qpid management interfaces. You can get
instructions and more information from <a href="http://wiki.apache.org/qpid/HermesJMS"
rel="nofollow">http://wiki.apache.org/qpid/HermesJMS</a>.</p>

<h2><a name="ConfiguringQpidJMXManagementConsole-UsingMC4J"></a>Using MC4J</h2>

<p><a href="http://www.mc4j.org" rel="nofollow">MC4J</a> is an alternative
management tool. It provide a richer "dashboard" that can customise the raw MBeans.</p>

<h4><a name="ConfiguringQpidJMXManagementConsole-Installation"></a>Installation</h4>

<ul>
	<li>First download and install MC4J for your platform. Version 1.2 beta 9 is the latest
version that has been tested.</li>
	<li>Copy the directory <tt>blaze/java/management/mc4j</tt> into the directory
<tt>&lt;MC4J-Installation&gt;/dashboards</tt></li>
</ul>


<h4><a name="ConfiguringQpidJMXManagementConsole-Configuration"></a>Configuration</h4>

<p>You should create a connection the JVM to be managed. Using the <tt>Management-&gt;Create
Server Connection</tt> menu option. The connection URL should be of the form: <tt>service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi</tt>
making the appropriate host and post changes.</p>

<h4><a name="ConfiguringQpidJMXManagementConsole-Operation"></a>Operation</h4>

<p>You can view tabular summaries of the queues, exchanges and connections using the
Global Dashboards-&gt;QPID tree view. To drill down on individual beans you can right
click on the bean. This will show any available graphs too.</p>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/qpid/Configuring+Qpid+JMX+Management+Console">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=60667&revisedVersion=15&originalVersion=14">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/qpid/Configuring+Qpid+JMX+Management+Console?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message