You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jo...@apache.org on 2010/06/20 00:15:13 UTC

svn commit: r956304 [21/33] - in /qpid/site/docs/books/0.7: ./ AMQP-Messaging-Broker-CPP-Book/ AMQP-Messaging-Broker-CPP-Book/html-single/ AMQP-Messaging-Broker-CPP-Book/html-single/images/ AMQP-Messaging-Broker-CPP-Book/html-single/images/jmx_console/...

Added: qpid/site/docs/books/0.7/Qpid-Book/html/ch05s07.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.7/Qpid-Book/html/ch05s07.html?rev=956304&view=auto
==============================================================================
--- qpid/site/docs/books/0.7/Qpid-Book/html/ch05s07.html (added)
+++ qpid/site/docs/books/0.7/Qpid-Book/html/ch05s07.html Sat Jun 19 22:15:03 2010
@@ -0,0 +1,231 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>7.  Queue State Replication</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Qpid"><link rel="up" href="ch05.html" title="Chapter 5.  Running the AMQP Messaging Broker"><link rel="prev" href="ch05s06.html" title="6.  LVQ"><link rel="next" href="ch05s08.html" title="8.  Starting a cluster"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">7. 
+    Queue State Replication
+  </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s06.html">Prev</a> </td><th width="60%" align="center">Chapter 5.             
+      Running the AMQP Messaging Broker
+    </th><td width="20%" align="right"> <a accesskey="n" href="ch05s08.html">Next</a></td></tr></table><hr></div><div class="section" title="7.  Queue State Replication"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="queue-state-replication"></a>7. 
+    Queue State Replication
+  </h2></div></div></div><div class="section" title="7.1.  Asynchronous Replication of Queue State"><div class="titlepage"><div><div><h3 class="title"><a name="queuestatereplication-AsynchronousReplicationofQueueState"></a>7.1. 
+      Asynchronous
+      Replication of Queue State
+    </h3></div></div></div><div class="section" title="7.1.1.  Overview"><div class="titlepage"><div><div><h4 class="title"><a name="queuestatereplication-Overview"></a>7.1.1. 
+	Overview
+      </h4></div></div></div><p>
+	There is support in qpidd for selective asynchronous replication
+	of queue state. This is achieved by:
+      </p><p>
+	(a) enabling event generation for the queues in question
+      </p><p>
+	(b) loading a plugin on the 'source' broker to encode those
+	events as messages on a replication queue (this plugin is
+	called
+	replicating_listener.so)
+      </p><p>
+	(c) loading a custom exchange plugin on the 'backup' broker (this
+	plugin is called replication_exchange.so)
+      </p><p>
+	(d) creating an instance of the replication exchange type on the
+	backup broker
+      </p><p>
+	(e) establishing a federation bridge between the replication
+	queue on the source broker and the replication exchange on the
+	backup broker
+      </p><p>
+	The bridge established between the source and backup brokers for
+	replication (step (e) above) should have acknowledgements turned
+	on (this may be done through the --ack N option to qpid-route).
+	This ensures that replication events are not lost if the bridge
+	fails.
+      </p><p>
+	The replication protocol will also eliminate duplicates to ensure
+	reliably replicated state. Note though that only one bridge per
+	replication exchange is supported. If clients try to publish to
+	the replication exchange or if more than a the single required
+	bridge from the replication queue on the source broker is
+	created, replication will be corrupted. (Access control may be
+	used to restrict access and help prevent this).
+      </p><p>
+	The replicating event listener plugin (step (b) above) has the
+	following options:
+      </p><pre class="programlisting">
+Queue Replication Options:
+  --replication-queue QUEUE                      Queue on which events for
+                                                 other queues are recorded
+  --replication-listener-name NAME (replicator)  name by which to register the
+                                                 replicating event listener
+  --create-replication-queue                     if set, the replication will
+                                                 be created if it does not
+                                                 exist
+      </pre><p>
+	The name of the queue is required. It can either point to a
+	durable queue whose definition has been previously recorded, or
+	the --create-replication-queue option can be specified in which
+	case the queue will be created a simple non-durable queue if it
+	does not already exist.
+      </p></div><div class="section" title="7.1.2.  Use with Clustering"><div class="titlepage"><div><div><h4 class="title"><a name="queuestatereplication-UsewithClustering"></a>7.1.2. 
+	Use with
+	Clustering
+      </h4></div></div></div><p>
+	The source and/or backup brokers may also be clustered brokers.
+	In this case the federated bridge will be re-established between
+	replicas should either of the originally connected nodes fail.
+	There are however the following limitations at present:
+      </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The backup site does not process membership updates after it
+	  establishes the first connection. In order for newly added
+	  members on a source cluster to be eligible as failover targets,
+	  the bridge must be recreated after those members have been added
+	  to the source cluster.
+	  </p></li></ul></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>New members added to a backup cluster will not receive
+	  information about currently established bridges. Therefore in
+	  order to allow the bridge to be re-established from these members
+	  in the event of failure of older nodes, the bridge must be
+	  recreated after the new members have joined.
+	  </p></li></ul></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Only a single URL can be passed to create the initial link
+	  from backup site to the primary site. this means that at the time
+	  of creating the initial connection the initial node in the
+	  primary site to which the connection is made needs to be running.
+	  Once connected the backup site will receive a membership update
+	  of all the nodes in the primary site, and if the initial
+	  connection node in the primary fails, the link will be
+	  re-established on the next node that was started (time) on the
+	  primary site.
+	  </p></li></ul></div><p>
+	Due to the acknowledged transfer of events over the bridge (see
+	note above) manual recreation of the bridge and automatic
+	re-establishment of te bridge after connection failure (including
+	failover where either or both ends are clustered brokers) will
+	not result in event loss.
+      </p></div><div class="section" title="7.1.3.  Operations on Backup Queues"><div class="titlepage"><div><div><h4 class="title"><a name="queuestatereplication-OperationsonBackupQueues"></a>7.1.3. 
+	Operations
+	on Backup Queues
+      </h4></div></div></div><p>
+	When replicating the state of a queue to a backup broker it is
+	important to recognise that any other operations performed
+	directly on the backup queue may break the replication.
+      </p><p>
+	If the backup queue is to be an active (i.e. accessed by clients
+	while replication is on) only enqueues should be selected
+	for
+	replication. In this mode, any message enqueued on the source
+	brokers copy of the queue will also be enqueued on the backup
+	brokers copy. However not attempt will be made to remove messages
+	from the backup queue in response to removal of messages from the
+	source queue.
+      </p></div><div class="section" title="7.1.4.  Selecting Queues for Replication"><div class="titlepage"><div><div><h4 class="title"><a name="queuestatereplication-SelectingQueuesforReplication"></a>7.1.4. 
+	Selecting
+	Queues for Replication
+      </h4></div></div></div><p>
+	Queues are selected for replication by specifying the types of
+	events they should generate (it is from these events that the
+	replicating plugin constructs messages which are then pulled and
+	processed by the backup site). This is done through options
+	passed to the initial queue-declare command that creates the
+	queue and may be done either through qpid-config or similar
+	tools, or by the application.
+      </p><p>
+	With qpid-config, the --generate-queue-events options is used:
+      </p><pre class="programlisting">
+    --generate-queue-events N
+                         If set to 1, every enqueue will generate an event that can be processed by
+                         registered listeners (e.g. for replication). If set to 2, events will be
+                         generated for enqueues and dequeues
+      </pre><p>
+	From an application, the arguments field of the queue-declare
+	AMQP command is used to convey this information. An entry should
+	be added to the map with key 'qpid.queue_event_generation' and an
+	integer value of 1 (to replicate only enqueue events) or 2 (to
+	replicate both enqueue and dequeue events).
+      </p><p>
+	Applications written using the c++ client API may fine the
+	qpid::client::QueueOptions class convenient. This has a
+	enableQueueEvents() method on it that can be used to set the
+	option (the instance of QueueOptions is then passed as the value
+	of the arguments field in the queue-declare command. The boolean
+	option to that method should be set to true if only enequeue
+	events should be replicated; by default it is false meaning that
+	both enqueues and dequeues will be replicated. E.g.
+      </p><pre class="programlisting">
+    QueueOptions options;
+    options.enableQueueEvents(false);
+    session.queueDeclare(arg::queue="my-queue", arg::arguments=options);
+      </pre></div><div class="section" title="7.1.5.  Example"><div class="titlepage"><div><div><h4 class="title"><a name="queuestatereplication-Example"></a>7.1.5. 
+	Example
+      </h4></div></div></div><p>
+	Lets assume we will run the primary broker on host1 and the
+	backup on host2, have installed qpidd on both and have the
+	replicating_listener and replication_exchange plugins in qpidd's
+	module directory(*1).
+      </p><p>
+	On host1 we start the source broker and specifcy that a queue
+	called 'replication' should be used for storing the events until
+	consumed by the backup. We also request that this queue be
+	created (as transient) if not already specified:
+      </p><pre class="programlisting">
+    qpidd --replication-queue replication-queue --create-replication-queue true --log-enable info+
+      </pre><p>
+	On host2 we start up the backup broker ensuring that the
+	replication exchange module is loaded:
+      </p><pre class="programlisting">
+    qpidd
+      </pre><p>
+	We can then create the instance of that replication exchange that
+	we will use to process the events:
+      </p><pre class="programlisting">
+    qpid-config -a host2 add exchange replication replication-exchange
+      </pre><p>
+	If this fails with the message "Exchange type not implemented:
+	replication", it means the replication exchange module was
+	not
+	loaded. Check that the module is installed on your system and if
+	necessary provide the full path to the library.
+      </p><p>
+	We then connect the replication queue on the source broker with
+	the replication exchange on the backup broker using the
+	qpid-route command:
+      </p><pre class="programlisting">
+    qpid-route --ack 50 queue add host2 host1 replication-exchange replication-queue
+</pre><p>
+            The example above configures the bridge to acknowledge messages
+            in batches of 50.
+          </p><p>
+            Now create two queues (on both source and backup brokers), one
+            replicating both enqueues and dequeues (queue-a) and the
+            other
+            replicating only dequeues (queue-b):
+          </p><pre class="programlisting">
+    qpid-config -a host1 add queue queue-a --generate-queue-events 2
+    qpid-config -a host1 add queue queue-b --generate-queue-events 1
+
+    qpid-config -a host2 add queue queue-a
+    qpid-config -a host2 add queue queue-b
+	    </pre><p>
+	      We are now ready to use the queues and see the replication.
+	    </p><p>
+	      Any message enqueued on queue-a will be replicated to the backup
+	      broker. When the message is acknowledged by a client connected to
+	      host1 (and thus dequeued), that message will be removed from the
+	      copy of the queue on host2. The state of queue-a on host2 will
+	      thus mirror that of the equivalent queue on host1, albeit with a
+	      small lag. (Note
+	      however that we must not have clients connected to host2 publish
+	      to-or consume from- queue-a or the state will fail to replicate
+	      correctly due to conflicts).
+	    </p><p>
+	      Any message enqueued on queue-b on host1 will also be enqueued on
+	      the equivalent queue on host2. However the acknowledgement and
+	      consequent dequeuing of messages from queue-b on host1 will have
+	      no effect on the state of queue-b on host2.
+	    </p><p>
+	      (*1) If not the paths in the above may need to be modified. E.g.
+	      if using modules built from a qpid svn checkout, the following
+	      would be added to the command line used to start qpidd on host1:
+	    </p><pre class="programlisting">
+    --load-module &lt;path-to-qpid-dir&gt;/src/.libs/replicating_listener.so
+	    </pre><p>
+	      and the following for the equivalent command line on host2:
+	    </p><pre class="programlisting">
+    --load-module &lt;path-to-qpid-dir&gt;/src/.libs/replication_exchange.so
+	    </pre></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch05s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">6. 
+      LVQ
+     </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 8. 
+      Starting a cluster
+    </td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.7/Qpid-Book/html/ch05s08.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.7/Qpid-Book/html/ch05s08.html?rev=956304&view=auto
==============================================================================
--- qpid/site/docs/books/0.7/Qpid-Book/html/ch05s08.html (added)
+++ qpid/site/docs/books/0.7/Qpid-Book/html/ch05s08.html Sat Jun 19 22:15:03 2010
@@ -0,0 +1,170 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>8.  Starting a cluster</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Qpid"><link rel="up" href="ch05.html" title="Chapter 5.  Running the AMQP Messaging Broker"><link rel="prev" href="ch05s07.html" title="7.  Queue State Replication"><link rel="next" href="ch05s09.html" title="9.  ACL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">8. 
+      Starting a cluster
+    </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s07.html">Prev</a> </td><th width="60%" align="center">Chapter 5.             
+      Running the AMQP Messaging Broker
+    </th><td width="20%" align="right"> <a accesskey="n" href="ch05s09.html">Next</a></td></tr></table><hr></div><div class="section" title="8.  Starting a cluster"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2973144"></a>8. 
+      Starting a cluster
+    </h2></div></div></div><div class="section" title="8.1.  Running a Qpidd cluster"><div class="titlepage"><div><div><h3 class="title"><a name="Startingacluster-RunningaQpiddcluster"></a>8.1. 
+            Running a
+            Qpidd cluster
+          </h3></div></div></div><p>
+            There are several pre-requisites to running a qpidd cluster:
+          </p><div class="section" title="8.1.1.  Install and configure openais/corosync"><div class="titlepage"><div><div><h4 class="title"><a name="Startingacluster-Installandconfigureopenais-2Fcorosync"></a>8.1.1. 
+            Install
+            and configure openais/corosync
+          </h4></div></div></div><p>
+            Qpid clustering uses a multicast protocol provided by the
+            corosync (formerly called openais) library. Install whichever is
+            available on your OS.
+            E.g. in fedora10: yum install corosync.
+          </p><p>
+            The configuration file is /etc/ais/openais.conf on openais,
+            /etc/corosync.conf on early corosync versions and
+            /etc/corosync/corosync.conf on recent corosync versions. You will
+            need to edit the default file created when you installed
+          </p><p>
+            Here is an example, with places marked that you will
+            change. ( Below, I will describe how to change the file. )
+          </p><pre class="programlisting">
+# Please read the openais.conf.5 manual page
+
+totem {
+        version: 2
+        secauth: off
+        threads: 0
+        interface {
+                ringnumber: 0
+                ## You must change this address ##
+                bindnetaddr: 20.0.100.0
+                mcastaddr: 226.94.32.36
+                mcastport: 5405
+        }
+}
+
+logging {
+        debug: off
+        timestamp: on
+        to_file: yes
+        logfile: /tmp/aisexec.log
+}
+
+amf {
+        mode: disabled
+}
+</pre><p>
+            You must sent the bindnetaddr entry in the configuration file to
+            the network address of your network interface. This must be a
+            real network interface, not the loopback address 127.0.0.1
+          </p><p>
+            You can find your network interface by running ifconfig. This
+            will list the address and the mask, e.g.
+          </p><pre class="programlisting">
+inet addr:20.0.20.32  Bcast:20.0.20.255  Mask:255.255.255.0
+</pre><p>
+            The bindnetaddr is the logical AND of the inet addr and mask
+            values, in the example above 20.0.20.0
+          </p></div><div class="section" title="8.1.2.  Open your firewall"><div class="titlepage"><div><div><h4 class="title"><a name="Startingacluster-Openyourfirewall"></a>8.1.2. 
+            Open your
+            firewall
+          </h4></div></div></div><p>
+            In the above example file, I use mcastport 5405.
+            This implies that your firewall must allow UDP
+            protocol over port 5405, or that you disable the firewall
+          </p></div><div class="section" title="8.1.3.  Use the proper identity."><div class="titlepage"><div><div><h4 class="title"><a name="Startingacluster-Usetheproperidentity."></a>8.1.3. 
+            Use the
+            proper identity.
+          </h4></div></div></div><p>
+            The qpidd process must be started with the correct identity in
+            order to use the corosync/openais library.
+          </p><p>
+            For openais and early corosync versions the installation of
+            openAIS/corosync on your system will create a new
+            group called "ais". The user that starts the qpidd processes of
+            the cluster
+            must have "ais" as its effective group id. You can create a user
+            specifically for this purpose with ais as the primary group,
+            or
+            a user that has ais as a secondary group can use "newgrp" to set
+            the primary group to ais when running qpidd.
+          </p><p>
+            For recent corosync versions you no longer need to set your group
+            to "ais" but you do need to create a file in
+            /etc/corosync/uidgid.d/ to allow access for whatever user/group
+            ID you want to use. For example create
+            /etc/corosync/uidgid.d/qpid th the contents:
+          </p><pre class="programlisting">
+uidgid {
+   uid: qpid
+   gid: qpid
+}
+</pre></div><div class="section" title="8.1.4.  Starting a Cluster"><div class="titlepage"><div><div><h4 class="title"><a name="Startingacluster-StartingaCluster"></a>8.1.4. 
+            Starting a
+            Cluster
+          </h4></div></div></div><p>
+            To be a member of a cluster you must pass the --cluster-name
+            argument to qpidd. This is the only required option to join
+            a  cluster, other options can be set as for a normal qpidd.
+          </p><p>
+            For example to start a cluster of 3 brokers on the current
+            host
+            Here is an example of starting a cluster of 3 members, all on the
+            current host but with different ports and different log files:
+          </p><pre class="programlisting">
+qpidd -p5672 --cluster-name=MY_CLUSTER --log-output=cluster0.log -d --no-data-dir --auth=no
+qpidd -p5673 --cluster-name=MY_CLUSTER --log-output=cluster0.log -d --no-data-dir --auth=no
+qpidd -p5674 --cluster-name=MY_CLUSTER --log-output=cluster0.log -d --no-data-dir --auth=no
+</pre><p>
+            In a deployed system, cluster members will normally be on
+            different hosts but for development its useful to be able to
+            create a cluster on a single host.
+          </p></div><div class="section" title="8.1.5.  SELinux conflicts"><div class="titlepage"><div><div><h4 class="title"><a name="Startingacluster-SELinuxconflicts"></a>8.1.5. 
+            SELinux conflicts
+          </h4></div></div></div><p>
+            Developers will often start openais/corosync as a service like
+            this:
+          </p><p>
+            service openais start
+          </p><p>
+            But will then will start a cluster-broker without using the
+            service script like this:
+          </p><p>
+            /usr/sbin/qpidd --cluster-name my_cluster ...
+          </p><p>
+            If SELinux is in enforcing mode this may cause qpidd to hang due
+            because of the different SELinux contexts.
+            There are 3 ways to resolve this:
+          </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>run both qpidd and openais/corosync as services.
+            </p></li><li class="listitem"><p>run both qpidd and openais/corosync as user processes.
+            </p></li><li class="listitem"><p>make selinux permissive:
+            </p></li></ul></div><p>
+            To check what mode selinux is running:
+          </p><pre class="programlisting">
+# getenforce
+</pre><p>
+            To change the mode:
+          </p><pre class="programlisting">
+# setenforce permissive
+</pre><p>
+            Note that in a deployed system both openais/corosync and qpidd
+            should be started as services, in which case there is no problem
+            with SELinux running in enforcing mode.
+          </p></div><div class="section" title="8.1.6.  Troubleshooting checklist."><div class="titlepage"><div><div><h4 class="title"><a name="Startingacluster-Troubleshootingchecklist."></a>8.1.6. 
+            Troubleshooting
+            checklist.
+          </h4></div></div></div><p>
+            If you have trouble starting your cluster, make sure that:
+          </p><p>
+            1. You have edited the correct openais/corosync configuration
+            file and set bindnetaddr correctly
+            1. Your firewall allows UDP on the openais/corosync
+            mcastport
+            2. Your effective group is "ais" (openais/old corosync) or you
+            have created an appropriate ID file (new corosync)
+            3. Your firewall allows TCP on the ports used by qpidd.
+            4. If you're starting openais as a service but running qpidd
+            directly, ensure selinux is in permissive mode
+          </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s07.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch05s09.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">7. 
+    Queue State Replication
+   </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 9. 
+      ACL
+  </td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.7/Qpid-Book/html/ch05s09.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.7/Qpid-Book/html/ch05s09.html?rev=956304&view=auto
==============================================================================
--- qpid/site/docs/books/0.7/Qpid-Book/html/ch05s09.html (added)
+++ qpid/site/docs/books/0.7/Qpid-Book/html/ch05s09.html Sat Jun 19 22:15:03 2010
@@ -0,0 +1,517 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>9.  ACL</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Qpid"><link rel="up" href="ch05.html" title="Chapter 5.  Running the AMQP Messaging Broker"><link rel="prev" href="ch05s08.html" title="8.  Starting a cluster"><link rel="next" href="ch06.html" title="Chapter 6.  Managing the AMQP Messaging Broker"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">9. 
+      ACL
+  </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s08.html">Prev</a> </td><th width="60%" align="center">Chapter 5.             
+      Running the AMQP Messaging Broker
+    </th><td width="20%" align="right"> <a accesskey="n" href="ch06.html">Next</a></td></tr></table><hr></div><div class="section" title="9.  ACL"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qpid_ACL"></a>9. 
+      ACL
+  </h2></div></div></div><div class="section" title="9.1.  v2 ACL file format for brokers"><div class="titlepage"><div><div><h3 class="title"><a name="ACL-v2ACLfileformatforbrokers"></a>9.1. 
+      v2 ACL file format for brokers
+    </h3></div></div></div><p>
+      This new ACL implementation has been designed for implementation
+      and interoperability on all Qpid brokers. It is currently
+      supported in the following brokers:
+    </p><div class="table"><a name="id2973493"></a><p class="title"><b>Table 5.2. ACL Support in Qpid Broker Versions</b></p><div class="table-contents"><table summary="ACL Support in Qpid Broker Versions" border="1"><colgroup><col><col></colgroup><thead><tr><th>
+                  Broker
+                </th><th>
+                  Version
+                </th></tr></thead><tbody><tr><td>
+                  C++
+                </td><td>
+                  M4 onward
+                </td></tr><tr><td>
+                  Java
+                </td><td>
+                  M5 anticipated
+                </td></tr></tbody></table></div></div><br class="table-break"><p>
+            Contents
+          </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
+                <a class="xref" href="ch05s09.html#ACL-v2ACLfileformatforbrokers" title="9.1.  v2 ACL file format for brokers">Section 9.1, &#8220;
+      v2 ACL file format for brokers
+    &#8221;</a>
+              </p></li><li class="listitem"><p>
+                </p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>
+                    <a class="xref" href="ch05s09.html#ACL-Specification" title="9.1.1.  Specification">Section 9.1.1, &#8220;
+            Specification
+          &#8221;</a>
+                  </p></li><li class="listitem"><p>
+                    <a class="xref" href="ch05s09.html#ACL-Validation" title="9.1.2.  Validation">Section 9.1.2, &#8220;
+            Validation
+          &#8221;</a>
+                  </p></li><li class="listitem"><p>
+                    <a class="xref" href="ch05s09.html#ACL-Examplefile-3A" title="9.1.3.  Example file:">Section 9.1.3, &#8220;
+            Example file:
+          &#8221;</a>
+                  </p></li></ul></div><p>
+              </p></li><li class="listitem"><p>
+                <a class="xref" href="ch05s09.html#ACL-DesignDocumentation" title="9.2.  Design Documentation">Section 9.2, &#8220;
+            Design Documentation
+          &#8221;</a>
+              </p></li><li class="listitem"><p>
+                </p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>
+                    <a class="xref" href="ch05s09.html#ACL-MappingofACLtrapstoactionandtype" title="9.2.1.  Mapping of ACL traps to action and type">Section 9.2.1, &#8220;
+            Mapping of ACL
+            traps to action and type
+          &#8221;</a>
+                  </p></li></ul></div><p>
+              </p></li><li class="listitem"><p>
+                <a class="xref" href="ch05s09.html#ACL-v2ACLUserGuide" title="9.3.  v2 ACL User Guide">Section 9.3, &#8220;
+            v2 ACL User Guide
+          &#8221;</a>
+              </p></li><li class="listitem"><p>
+                </p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>
+                    <a class="xref" href="ch05s09.html#ACL-WritingGood-2FFastACL" title="9.3.1.  Writing Good/Fast ACL">Section 9.3.1, &#8220;
+            Writing Good/Fast ACL
+          &#8221;</a>
+                  </p></li><li class="listitem"><p>
+                    <a class="xref" href="ch05s09.html#ACL-GettingACLtoLog" title="9.3.2.  Getting ACL to Log">Section 9.3.2, &#8220;
+            Getting ACL to Log
+          &#8221;</a>
+                  </p></li><li class="listitem"><p>
+                    <a class="xref" href="ch05s09.html#ACL-UserId-2FdomainsrunningwithCbroker" title="9.3.3.  User Id / domains running with C++ broker">Section 9.3.3, &#8220;
+            User Id /
+            domains running with C++ broker
+          &#8221;</a>
+                  </p></li></ul></div><p>
+              </p></li></ul></div><p>
+            
+          </p><div class="section" title="9.1.1.  Specification"><div class="titlepage"><div><div><h4 class="title"><a name="ACL-Specification"></a>9.1.1. 
+            Specification
+          </h4></div></div></div><p>
+             Notes on file formats
+          </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A line starting with the character '#' will be considered a
+            comment, and are ignored.
+            </p></li><li class="listitem"><p>Since the '#' char (and others that are commonly used for
+            comments) are commonly found in routing keys and other AMQP
+            literals, it is simpler (for now) to hold off on allowing
+            trailing comments (ie comments in which everything following a
+            '#' is considered a comment). This could be reviewed later once
+            the rest of the format is finalized.
+            </p></li><li class="listitem"><p>Empty lines ("") and lines that contain only whitespace (any
+            combination of ' ', '\f', '\n', '\r', '\t', '\v') are ignored.
+            </p></li><li class="listitem"><p>All tokens are case sensitive. "name1" != "Name1" and
+            "create" != "CREATE".
+            </p></li><li class="listitem"><p>Group lists may be extended to the following line by
+            terminating the line with the '\' character. However, this may
+            only occur after the group name or any of the names following the
+            group name. Empty extension lines (ie just a '\' character) are
+            not permitted.
+              
+                </p><pre class="programlisting">
+# Examples of extending group lists using a trailing '\' character
+
+group group1 name1 name2 \
+             name3 name4 \
+             name5
+
+group group2 \
+             group1 \
+             name6
+
+# The following are illegal:
+
+# '\' must be after group name
+group \
+      group3 name7 name8
+
+# No empty extension lines
+group group4 name9 \
+                   \
+             name10
+</pre><p>
+              
+            </p></li><li class="listitem"><p>Additional whitespace (ie more than one whitespace char)
+            between and after tokens is ignored. However group and acl
+            definitions must start with "group" or "acl" respectively and
+            with no preceding whitespace.
+            </p></li><li class="listitem"><p>All acl rules are limited to a single line.
+            </p></li><li class="listitem"><p>Rules are interpreted from the top of the file down until the
+            name match is obtained; at which point processing stops.
+            </p></li><li class="listitem"><p>The keyword "all" is reserved, and matches all individuals,
+            groups and actions. It may be used in place of a group or
+            individual name and/or an action - eg "acl allow all all", "acl
+            deny all all" or "acl deny user1 all".
+            </p></li><li class="listitem"><p>The last line of the file (whether present or not) will be
+            assumed to be "acl deny all all". If present in the file, any
+            lines below this one are ignored.
+            </p></li><li class="listitem"><p>Names and group names may contain only a-z, A-Z, 0-9,
+            '-','_'.
+            </p></li><li class="listitem"><p>Rules must be preceded by any group definitions they may use;
+            any name not previously defined as a group will be assumed to be
+            that of an individual.
+            </p></li><li class="listitem"><p>ACL rules must have the following tokens in order on a single
+            line:
+              </p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>The string literal "acl";
+                </p></li><li class="listitem"><p>The permission;
+                </p></li><li class="listitem"><p>The name of a single group or individual or the keyword
+                "all";
+                </p></li><li class="listitem"><p>The name of an action or the keyword "all";
+                </p></li><li class="listitem"><p>Optionally, a single object name or the keyword "all";
+                </p></li><li class="listitem"><p>If the object is present, then optionally one or more
+                property name-value pair(s) (in the form property=value).
+                </p></li></ul></div><p>
+            </p></li></ul></div><pre class="programlisting">
+user = username[@domain[/realm]]
+user-list = user1 user2 user3 ...
+group-name-list = group1 group2 group3 ...
+
+group &lt;group-name&gt; = [user-list] [group-name-list]
+
+
+permission = [allow|allow-log|deny|deny-log]
+action = [consume|publish|create|access|bind|unbind|delete|purge|update]
+object = [virtualhost|queue|exchange|broker|link|route|method]
+property = [name|durable|owner|routingkey|passive|autodelete|exclusive|type|alternate|queuename|schemapackage|schemaclass]
+
+acl permission {&lt;group-name&gt;|&lt;user-name&gt;|"all"} {action|"all"} [object|"all"] [property=&lt;property-value&gt;]
+</pre></div><div class="section" title="9.1.2.  Validation"><div class="titlepage"><div><div><h4 class="title"><a name="ACL-Validation"></a>9.1.2. 
+            Validation
+          </h4></div></div></div><p>
+            The new ACL file format needs to perform validation on the acl
+            rules. The validation should be performed depending on the set
+            value:
+          </p><p>
+            strict-acl-validation=none
+            The default setting should be 'warn'
+          </p><p>
+            On validation of this acl the following checks would be expected:
+          </p><pre class="programlisting">
+acl allow client publish routingkey=exampleQueue exchange=amq.direct
+</pre><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>The If the user 'client' cannot be found, if the
+            authentication mechanism cannot be queried then a 'user' value
+            should be added to the file.
+            </p></li><li class="listitem"><p>There is an exchange called 'amq.direct'
+            </p></li><li class="listitem"><p>There is a queue bound to 'exampleQueue' on 'amq.direct'
+            </p></li></ol></div><p>
+            Each of these checks that fail will result in a log statement
+            being generated.
+          </p><p>
+            In the case of a fatal logging the full file will be validated
+            before the broker shuts down.
+          </p></div><div class="section" title="9.1.3.  Example file:"><div class="titlepage"><div><div><h4 class="title"><a name="ACL-Examplefile-3A"></a>9.1.3. 
+            Example file:
+          </h4></div></div></div><pre class="programlisting">
+
+# Some groups
+group admin ted@QPID martin@QPID
+group user-consume martin@QPID ted@QPID
+group group2 kim@QPID user-consume rob@QPID
+group publisher group2 \
+                tom@QPID andrew@QPID debbie@QPID
+
+# Some rules
+acl allow carlt@QPID create exchange name=carl.*
+acl deny rob@QPID create queue
+acl allow guest@QPID bind exchange name=amq.topic routingkey=stocks.ibm.#  owner=self
+acl allow user-consume create queue name=tmp.*
+
+acl allow publisher publish all durable=false
+acl allow publisher create queue name=RequestQueue
+acl allow consumer consume queue durable=true
+acl allow fred@QPID create all
+acl allow bob@QPID all queue
+acl allow admin all
+acl deny kim@QPID all
+acl allow all consume queue owner=self
+acl allow all bind exchange owner=self
+
+# Last (default) rule
+acl deny all all
+</pre></div></div><div class="section" title="9.2.  Design Documentation"><div class="titlepage"><div><div><h3 class="title"><a name="ACL-DesignDocumentation"></a>9.2. 
+            Design Documentation
+          </h3></div></div></div><div class="section" title="9.2.1.  Mapping of ACL traps to action and type"><div class="titlepage"><div><div><h4 class="title"><a name="ACL-MappingofACLtrapstoactionandtype"></a>9.2.1. 
+            Mapping of ACL
+            traps to action and type
+          </h4></div></div></div><p>
+            The C++ broker maps the ACL traps in the follow way for AMQP
+            0-10:
+            The Java broker currently only performs ACLs on the AMQP
+            connection not on management functions:
+          </p><div class="table"><a name="id2923146"></a><p class="title"><b>Table 5.3. Mapping ACL Traps</b></p><div class="table-contents"><table summary="Mapping ACL Traps" border="1"><colgroup><col><col><col><col><col></colgroup><thead><tr><th>
+                  Object
+                </th><th>
+                  Action
+                </th><th>
+                  Properties
+                </th><th>
+                  Trap C++
+                </th><th>
+                  Trap Java
+                </th></tr></thead><tbody><tr><td>
+                  Exchange
+                </td><td>
+                  Create
+                </td><td>
+                  name type alternate passive durable
+                </td><td>
+                  ExchangeHandlerImpl::declare
+                </td><td>
+                  ExchangeDeclareHandler
+                </td></tr><tr><td>
+                  Exchange
+                </td><td>
+                  Delete
+                </td><td>
+                  name
+                </td><td>
+                  ExchangeHandlerImpl::delete
+                </td><td>
+                  ExchangeDeleteHandler
+                </td></tr><tr><td>
+                  Exchange
+                </td><td>
+                  Access
+                </td><td>
+                  name
+                </td><td>
+                  ExchangeHandlerImpl::query
+                </td><td>
+
+                </td></tr><tr><td>
+                  Exchange
+                </td><td>
+                  Bind
+                </td><td>
+                  name routingkey queuename owner
+                </td><td>
+                  ExchangeHandlerImpl::bind
+                </td><td>
+                  QueueBindHandler
+                </td></tr><tr><td>
+                  Exchange
+                </td><td>
+                  Unbind
+                </td><td>
+                  name routingkey
+                </td><td>
+                  ExchangeHandlerImpl::unbind
+                </td><td>
+                  ExchangeUnbindHandler
+                </td></tr><tr><td>
+                  Exchange
+                </td><td>
+                  Access
+                </td><td>
+                  name queuename routingkey
+                </td><td>
+                  ExchangeHandlerImpl::bound
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  Exchange
+                </td><td>
+                  Publish
+                </td><td>
+                  name routingKey
+                </td><td>
+                  SemanticState::route
+                </td><td>
+                  BasicPublishMethodHandler
+                </td></tr><tr><td>
+                  Queue
+                </td><td>
+                  Access
+                </td><td>
+                  name
+                </td><td>
+                  QueueHandlerImpl::query
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  Queue
+                </td><td>
+                  Create
+                </td><td>
+                  name alternate passive durable exclusive autodelete
+                </td><td>
+                  QueueHandlerImpl::declare
+                </td><td>
+                  QueueDeclareHandler
+                </td></tr><tr><td>
+                  Queue
+                </td><td>
+                  Purge
+                </td><td>
+                  name
+                </td><td>
+                  QueueHandlerImpl::purge
+                </td><td>
+                  QueuePurgeHandler
+                </td></tr><tr><td>
+                  Queue
+                </td><td>
+                  Purge
+                </td><td>
+                  name
+                </td><td>
+                  Management::Queue::purge
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  Queue
+                </td><td>
+                  Delete
+                </td><td>
+                  name
+                </td><td>
+                  QueueHandlerImpl::delete
+                </td><td>
+                  QueueDeleteHandler
+                </td></tr><tr><td>
+                  Queue
+                </td><td>
+                  Consume
+                </td><td>
+                  name (possibly add in future?)
+                </td><td>
+                  MessageHandlerImpl::subscribe
+                </td><td>
+                  BasicConsumeMethodHandler
+                  BasicGetMethodHandler
+                </td></tr><tr><td>
+                  &lt;Object&gt;
+                </td><td>
+                  Update
+                </td><td>
+                   
+                </td><td>
+                  ManagementProperty::set
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  &lt;Object&gt;
+                </td><td>
+                  Access
+                </td><td>
+                   
+                </td><td>
+                  ManagementProperty::read
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  Link
+                </td><td>
+                  Create
+                </td><td>
+                   
+                </td><td>
+                  Management::connect
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  Route
+                </td><td>
+                  Create
+                </td><td>
+                   
+                </td><td>
+                  Management:: -createFederationRoute-
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  Route
+                </td><td>
+                  Delete
+                </td><td>
+                   
+                </td><td>
+                  Management:: -deleteFederationRoute-
+                </td><td>
+                  
+                </td></tr><tr><td>
+                  Virtualhost
+                </td><td>
+                  Access
+                </td><td>
+                  name
+                </td><td>
+                  TBD
+                </td><td>
+                  ConnectionOpenMethodHandler
+                </td></tr></tbody></table></div></div><br class="table-break"><p>
+            Management actions that are not explicitly given a name property
+            it will default the name property to management method name, if
+            the action is 'W' Action will be 'Update', if 'R' Action will be
+            'Access'.
+          </p><p>
+            for example, if the mgnt method 'joinCluster' was not mapped in
+            schema it will be mapped in ACL file as follows
+          </p><div class="table"><a name="id3001877"></a><p class="title"><b>Table 5.4. Mapping Management Actions to ACL</b></p><div class="table-contents"><table summary="Mapping Management Actions to ACL" border="1"><colgroup><col><col><col></colgroup><thead><tr><th>
+                  Object
+                </th><th>
+                  Action
+                </th><th>
+                  Property
+                </th></tr></thead><tbody><tr><td>
+                  Broker
+                </td><td>
+                  Update
+                </td><td>
+                  name=joinCluster
+                </td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="section" title="9.3.  v2 ACL User Guide"><div class="titlepage"><div><div><h3 class="title"><a name="ACL-v2ACLUserGuide"></a>9.3. 
+            v2 ACL User Guide
+          </h3></div></div></div><div class="section" title="9.3.1.  Writing Good/Fast ACL"><div class="titlepage"><div><div><h4 class="title"><a name="ACL-WritingGood-2FFastACL"></a>9.3.1. 
+            Writing Good/Fast ACL
+          </h4></div></div></div><p>
+            The file gets read top down and rule get passed based on the
+            first match. In the following example the first rule is a dead
+            rule. I.e. the second rule is wider than the first rule. DON'T do
+            this, it will force extra analysis, worst case if the parser does
+            not kill the dead rule you might get a false deny.
+          </p><pre class="programlisting">
+allow peter@QPID create queue name=tmp &lt;-- dead rule!!
+allow peter@QPID create queue
+deny all all
+</pre><p>
+            By default files end with
+          </p><pre class="programlisting">
+deny all all
+</pre><p>
+            the mode of the ACL engine can be swapped to be allow based by
+            putting the following at the end of the file
+          </p><pre class="programlisting">
+allow all all
+</pre><p>
+            Note that 'allow' based file will be a LOT faster for message
+            transfer. This is because the AMQP specification does not allow
+            for creating subscribes on publish, so the ACL is executed on
+            every message transfer. Also, ACL's rules using less properties
+            on publish will in general be faster.
+          </p></div><div class="section" title="9.3.2.  Getting ACL to Log"><div class="titlepage"><div><div><h4 class="title"><a name="ACL-GettingACLtoLog"></a>9.3.2. 
+            Getting ACL to Log
+          </h4></div></div></div><p>
+            In order to get log messages from ACL actions use allow-log and
+            deny-log for example
+          </p><pre class="programlisting">
+allow-log john@QPID all all
+deny-log guest@QPID all all
+</pre></div><div class="section" title="9.3.3.  User Id / domains running with C++ broker"><div class="titlepage"><div><div><h4 class="title"><a name="ACL-UserId-2FdomainsrunningwithCbroker"></a>9.3.3. 
+            User Id /
+            domains running with C++ broker
+          </h4></div></div></div><p>
+            The user-id used for ACL is taken from the connection user-id.
+            Thus in order to use ACL the broker authentication has to be
+            setup. i.e. (if --auth no is used in combination with ACL the
+            broker will deny everything)
+          </p><p>
+            The user id in the ACL file is of the form
+            &lt;user-id&gt;@&lt;domain&gt; The Domain is configured via the
+            SASL configuration for the broker, and the domain/realm for qpidd
+            is set using --realm and default to 'QPID'.
+          </p><p>
+            To load the ACL module use, load the acl module cmd line or via
+            the config file
+          </p><pre class="programlisting">
+./src/qpidd --load-module src/.libs/acl.so
+</pre><p>
+            The ACL plugin provides the following option '--acl-file'. If do
+            ACL file is supplied the broker will not enforce ACL. If an ACL
+            file name is supplied, and the file does not exist or is invalid
+            the broker will not start.
+          </p><pre class="programlisting">
+ACL Options:
+  --acl-file FILE       The policy file to load from, loaded from data dir
+</pre></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s08.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">8. 
+      Starting a cluster
+     </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 6.             
+      Managing the AMQP Messaging Broker
+    </td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.7/Qpid-Book/html/ch06.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.7/Qpid-Book/html/ch06.html?rev=956304&view=auto
==============================================================================
--- qpid/site/docs/books/0.7/Qpid-Book/html/ch06.html (added)
+++ qpid/site/docs/books/0.7/Qpid-Book/html/ch06.html Sat Jun 19 22:15:03 2010
@@ -0,0 +1,480 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6.  Managing the AMQP Messaging Broker</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Qpid"><link rel="up" href="pt02.html" title="Part II. AMQP Messaging Broker (Implemented in C++)"><link rel="prev" href="ch05s09.html" title="9.  ACL"><link rel="next" href="ch06s02.html" title="2.  QMan - Qpid Management bridge"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6.             
+      Managing the AMQP Messaging Broker
+    </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s09.html">Prev</a> </td><th width="60%" align="center">Part II. AMQP Messaging Broker (Implemented in C++)</th><td width="20%" align="right"> <a accesskey="n" href="ch06s02.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 6.  Managing the AMQP Messaging Broker"><div class="titlepage"><div><div><h2 class="title"><a name="chapter-Managing-CPP-Broker"></a>Chapter 6.             
+      Managing the AMQP Messaging Broker
+    </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch06.html#section-Managing-CPP-Broker">1.  Managing the C++ Broker </a></span></dt><dd><dl><dt><span class="section"><a href="ch06.html#MgmtC-2B-2B-Usingqpidconfig">1.1. 
+            Using qpid-config
+          </a></span></dt><dt><span class="section"><a href="ch06.html#MgmtC-2B-2B-Usingqpidroute">1.2. 
+            Using qpid-route
+          </a></span></dt><dt><span class="section"><a href="ch06.html#MgmtC-2B-2B-Usingqpidtool">1.3. 
+            Using qpid-tool
+          </a></span></dt><dt><span class="section"><a href="ch06.html#MgmtC-2B-2B-Usingqpidprintevents">1.4. 
+            Using
+            qpid-printevents
+          </a></span></dt></dl></dd><dt><span class="section"><a href="ch06s02.html">2. 
+      QMan - Qpid Management bridge
+    </a></span></dt><dd><dl><dt><span class="section"><a href="ch06s02.html#QMan-QpidManagementbridge-QMan-3AQpidManagementBridge">2.1. 
+            QMan
+            : Qpid Management Bridge
+          </a></span></dt></dl></dd><dt><span class="section"><a href="ch06s03.html">3. 
+      Qpid Management Framework
+    </a></span></dt><dd><dl><dt><span class="section"><a href="ch06s03.html#QpidManagementFramework-WhatIsQMF">3.1. 
+            What Is QMF
+          </a></span></dt><dt><span class="section"><a href="ch06s03.html#QpidManagementFramework-GettingStartedwithQMF">3.2. 
+            Getting
+            Started with QMF
+          </a></span></dt><dt><span class="section"><a href="ch06s03.html#QpidManagementFramework-QMFConcepts">3.3. 
+            QMF Concepts
+          </a></span></dt><dt><span class="section"><a href="ch06s03.html#QpidManagementFramework-TheQMFProtocol">3.4. 
+            The QMF
+            Protocol
+          </a></span></dt><dt><span class="section"><a href="ch06s03.html#QpidManagementFramework-HowtoWriteaQMFConsole">3.5. 
+            How
+            to Write a QMF Console
+          </a></span></dt><dt><span class="section"><a href="ch06s03.html#QpidManagementFramework-HowtoWriteaQMFAgent">3.6. 
+            How to
+            Write a QMF Agent
+          </a></span></dt></dl></dd><dt><span class="section"><a href="ch06s04.html">4. 
+      Management Design notes
+    </a></span></dt><dd><dl><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-StatusofThisDocument">4.1. 
+            Status
+            of This Document
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-Introduction">4.2. 
+            Introduction
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-Links">4.3. 
+            Links
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-ManagementRequirements">4.4. 
+            Management
+            Requirements
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-DefinitionofTerms">4.5. 
+            Definition
+            of Terms
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-OperationalScenarios-3ABasicvs.Extended">4.6. 
+            Operational
+            Scenarios: Basic vs. Extended
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-ArchitecturalFramework">4.7. 
+            Architectural
+            Framework
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-TheManagementExchange">4.8. 
+            The
+            Management Exchange
+          </a></span></dt><dt><span class="section"><a href="ch06s04.html#ManagementDesignnotes-TheProtocol">4.9. 
+            The Protocol
+          </a></span></dt></dl></dd><dt><span class="section"><a href="ch06s05.html">5. 
+      QMF Python Console Tutorial
+    </a></span></dt><dd><dl><dt><span class="section"><a href="ch06s05.html#QMFPythonConsoleTutorial-PrerequisiteInstallQpidMessaging">5.1. 
+            Prerequisite
+            - Install Qpid Messaging
+          </a></span></dt><dt><span class="section"><a href="ch06s05.html#QMFPythonConsoleTutorial-SynchronousConsoleOperations">5.2. 
+            Synchronous
+            Console Operations
+          </a></span></dt><dt><span class="section"><a href="ch06s05.html#QMFPythonConsoleTutorial-AsynchronousConsoleOperations">5.3. 
+            Asynchronous
+            Console Operations
+          </a></span></dt><dt><span class="section"><a href="ch06s05.html#QMFPythonConsoleTutorial-DiscoveringwhatKindsofObjectsareAvailable">5.4. 
+            Discovering what Kinds of Objects are Available
+          </a></span></dt></dl></dd></dl></div><div class="section" title="1.  Managing the C++ Broker"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="section-Managing-CPP-Broker"></a>1.  Managing the C++ Broker </h2></div></div></div><p>
+            There are quite a few ways to interact with the C++ broker. The
+            command line tools
+            include:
+          </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>qpid-route - used to configure federation (a set of federated
+            brokers)
+            </p></li><li class="listitem"><p>qpid-config - used to configure queues, exchanges, bindings
+            and list them etc
+            </p></li><li class="listitem"><p>qpid-tool - used to view management information/statistics
+            and call any management actions on the broker
+            </p></li><li class="listitem"><p>qpid-printevents - used to receive and print QMF events
+            </p></li></ul></div><div class="section" title="1.1.  Using qpid-config"><div class="titlepage"><div><div><h3 class="title"><a name="MgmtC-2B-2B-Usingqpidconfig"></a>1.1. 
+            Using qpid-config
+          </h3></div></div></div><p>
+            This utility can be used to create queues exchanges and bindings,
+            both durable and transient. Always check for latest options by
+            running --help command.
+          </p><pre class="programlisting">
+$ qpid-config --help
+Usage:  qpid-config [OPTIONS]
+        qpid-config [OPTIONS] exchanges [filter-string]
+        qpid-config [OPTIONS] queues    [filter-string]
+        qpid-config [OPTIONS] add exchange &lt;type&gt; &lt;name&gt; [AddExchangeOptions]
+        qpid-config [OPTIONS] del exchange &lt;name&gt;
+        qpid-config [OPTIONS] add queue &lt;name&gt; [AddQueueOptions]
+        qpid-config [OPTIONS] del queue &lt;name&gt;
+        qpid-config [OPTIONS] bind   &lt;exchange-name&gt; &lt;queue-name&gt; [binding-key]
+        qpid-config [OPTIONS] unbind &lt;exchange-name&gt; &lt;queue-name&gt; [binding-key]
+
+Options:
+    -b [ --bindings ]                         Show bindings in queue or exchange list
+    -a [ --broker-addr ] Address (localhost)  Address of qpidd broker
+         broker-addr is in the form:   [username/password@] hostname | ip-address [:&lt;port&gt;]
+         ex:  localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost
+
+Add Queue Options:
+    --durable            Queue is durable
+    --cluster-durable    Queue becomes durable if there is only one functioning cluster node
+    --file-count N (8)   Number of files in queue's persistence journal
+    --file-size  N (24)  File size in pages (64Kib/page)
+    --max-queue-size N   Maximum in-memory queue size as bytes
+    --max-queue-count N  Maximum in-memory queue size as a number of messages
+    --limit-policy [none | reject | flow-to-disk | ring | ring-strict]
+                         Action taken when queue limit is reached:
+                             none (default) - Use broker's default policy
+                             reject         - Reject enqueued messages
+                             flow-to-disk   - Page messages to disk
+                             ring           - Replace oldest unacquired message with new
+                             ring-strict    - Replace oldest message, reject if oldest is acquired
+    --order [fifo | lvq | lvq-no-browse]
+                         Set queue ordering policy:
+                             fifo (default) - First in, first out
+                             lvq            - Last Value Queue ordering, allows queue browsing
+                             lvq-no-browse  - Last Value Queue ordering, browsing clients may lose data
+    --generate-queue-events N
+                         If set to 1, every enqueue will generate an event that can be processed by
+                         registered listeners (e.g. for replication). If set to 2, events will be
+                         generated for enqueues and dequeues
+
+Add Exchange Options:
+    --durable    Exchange is durable
+    --sequence   Exchange will insert a 'qpid.msg_sequence' field in the message header
+                 with a value that increments for each message forwarded.
+    --ive        Exchange will behave as an 'initial-value-exchange', keeping a reference
+                 to the last message forwarded and enqueuing that message to newly bound
+                 queues.
+</pre><p>
+            Get the summary page
+          </p><pre class="programlisting">
+$ qpid-config
+Total Exchanges: 6
+          topic: 2
+        headers: 1
+         fanout: 1
+         direct: 2
+   Total Queues: 7
+        durable: 0
+    non-durable: 7
+</pre><p>
+            List the queues
+          </p><pre class="programlisting">
+$ qpid-config queues
+Queue Name                                  Attributes
+=================================================================
+pub_start                                  
+pub_done                                   
+sub_ready                                  
+sub_done                                   
+perftest0                                   --durable
+reply-dhcp-100-18-254.bos.redhat.com.20713  auto-del excl
+topic-dhcp-100-18-254.bos.redhat.com.20713  auto-del excl
+
+</pre><p>
+            List the exchanges with bindings
+          </p><pre class="programlisting">
+$ ./qpid-config -b exchanges
+Exchange '' (direct)
+    bind pub_start =&gt; pub_start
+    bind pub_done =&gt; pub_done
+    bind sub_ready =&gt; sub_ready
+    bind sub_done =&gt; sub_done
+    bind perftest0 =&gt; perftest0
+    bind mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15 =&gt; mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15
+    bind repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15 =&gt; repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
+Exchange 'amq.direct' (direct)
+    bind repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15 =&gt; repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
+    bind repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837 =&gt; repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837
+    bind repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae =&gt; repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae
+Exchange 'amq.topic' (topic)
+Exchange 'amq.fanout' (fanout)
+Exchange 'amq.match' (headers)
+Exchange 'qpid.management' (topic)
+    bind mgmt.# =&gt; mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15
+</pre></div><div class="section" title="1.2.  Using qpid-route"><div class="titlepage"><div><div><h3 class="title"><a name="MgmtC-2B-2B-Usingqpidroute"></a>1.2. 
+            Using qpid-route
+          </h3></div></div></div><p>
+            This utility is to create federated networks of brokers, This
+            allows you for forward messages between brokers in a network.
+            Messages can be routed statically (using "qpid-route route add")
+            where the bindings that control message forwarding are supplied
+            in the route. Message routing can also be dynamic (using
+            "qpid-route dynamic add") where the messages are automatically
+            forwarded to clients based on their bindings to the local broker.
+          </p><pre class="programlisting">
+$ qpid-route
+Usage:  qpid-route [OPTIONS] dynamic add &lt;dest-broker&gt; &lt;src-broker&gt; &lt;exchange&gt; [tag] [exclude-list]
+        qpid-route [OPTIONS] dynamic del &lt;dest-broker&gt; &lt;src-broker&gt; &lt;exchange&gt;
+
+        qpid-route [OPTIONS] route add   &lt;dest-broker&gt; &lt;src-broker&gt; &lt;exchange&gt; &lt;routing-key&gt; [tag] [exclude-list]
+        qpid-route [OPTIONS] route del   &lt;dest-broker&gt; &lt;src-broker&gt; &lt;exchange&gt; &lt;routing-key&gt;
+        qpid-route [OPTIONS] queue add   &lt;dest-broker&gt; &lt;src-broker&gt; &lt;exchange&gt; &lt;queue&gt;
+        qpid-route [OPTIONS] queue del   &lt;dest-broker&gt; &lt;src-broker&gt; &lt;exchange&gt; &lt;queue&gt;
+        qpid-route [OPTIONS] route list  [&lt;dest-broker&gt;]
+        qpid-route [OPTIONS] route flush [&lt;dest-broker&gt;]
+        qpid-route [OPTIONS] route map   [&lt;broker&gt;]
+
+        qpid-route [OPTIONS] link add  &lt;dest-broker&gt; &lt;src-broker&gt;
+        qpid-route [OPTIONS] link del  &lt;dest-broker&gt; &lt;src-broker&gt;
+        qpid-route [OPTIONS] link list [&lt;dest-broker&gt;]
+
+Options:
+    -v [ --verbose ]         Verbose output
+    -q [ --quiet ]           Quiet output, don't print duplicate warnings
+    -d [ --durable ]         Added configuration shall be durable
+    -e [ --del-empty-link ]  Delete link after deleting last route on the link
+    -s [ --src-local ]       Make connection to source broker (push route)
+    -t &lt;transport&gt; [ --transport &lt;transport&gt;]
+                             Specify transport to use for links, defaults to tcp
+
+  dest-broker and src-broker are in the form:  [username/password@] hostname | ip-address [:&lt;port&gt;]
+  ex:  localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost
+</pre><p>
+            A few examples:
+          </p><pre class="programlisting">
+qpid-route dynamic add host1 host2 fed.topic
+qpid-route dynamic add host2 host1 fed.topic
+
+qpid-route -v route add host1 host2 hub1.topic hub2.topic.stock.buy
+qpid-route -v route add host1 host2 hub1.topic hub2.topic.stock.sell
+qpid-route -v route add host1 host2 hub1.topic 'hub2.topic.stock.#'
+qpid-route -v route add host1 host2 hub1.topic 'hub2.#'
+qpid-route -v route add host1 host2 hub1.topic 'hub2.topic.#'
+qpid-route -v route add host1 host2 hub1.topic 'hub2.global.#'
+</pre><p>
+            The link map feature can be used to display the entire federated
+            network configuration by supplying a single broker as an entry
+            point:
+          </p><pre class="programlisting">
+$ qpid-route route map localhost:10001
+
+Finding Linked Brokers:
+    localhost:10001... Ok
+    localhost:10002... Ok
+    localhost:10003... Ok
+    localhost:10004... Ok
+    localhost:10005... Ok
+    localhost:10006... Ok
+    localhost:10007... Ok
+    localhost:10008... Ok
+
+Dynamic Routes:
+
+  Exchange fed.topic:
+    localhost:10002 &lt;=&gt; localhost:10001
+    localhost:10003 &lt;=&gt; localhost:10002
+    localhost:10004 &lt;=&gt; localhost:10002
+    localhost:10005 &lt;=&gt; localhost:10002
+    localhost:10006 &lt;=&gt; localhost:10005
+    localhost:10007 &lt;=&gt; localhost:10006
+    localhost:10008 &lt;=&gt; localhost:10006
+
+  Exchange fed.direct:
+    localhost:10002  =&gt; localhost:10001
+    localhost:10004  =&gt; localhost:10003
+    localhost:10003  =&gt; localhost:10002
+    localhost:10001  =&gt; localhost:10004
+
+Static Routes:
+
+  localhost:10003(ex=amq.direct) &lt;= localhost:10005(ex=amq.direct) key=rkey
+  localhost:10003(ex=amq.direct) &lt;= localhost:10005(ex=amq.direct) key=rkey2
+</pre></div><div class="section" title="1.3.  Using qpid-tool"><div class="titlepage"><div><div><h3 class="title"><a name="MgmtC-2B-2B-Usingqpidtool"></a>1.3. 
+            Using qpid-tool
+          </h3></div></div></div><p>
+            This utility provided a telnet style interface to be able to
+            view, list all stats and action
+            all the methods. Simple capture below. Best to just play with it
+            and mail the list if you have
+            questions or want features added.
+          </p><pre class="programlisting">
+qpid:
+qpid: help
+Management Tool for QPID
+Commands:
+    list                            - Print summary of existing objects by class
+    list &lt;className&gt;                - Print list of objects of the specified class
+    list &lt;className&gt; all            - Print contents of all objects of specified class
+    list &lt;className&gt; active         - Print contents of all non-deleted objects of specified class
+    list &lt;list-of-IDs&gt;              - Print contents of one or more objects (infer className)
+    list &lt;className&gt; &lt;list-of-IDs&gt;  - Print contents of one or more objects
+        list is space-separated, ranges may be specified (i.e. 1004-1010)
+    call &lt;ID&gt; &lt;methodName&gt; &lt;args&gt; - Invoke a method on an object
+    schema                          - Print summary of object classes seen on the target
+    schema &lt;className&gt;              - Print details of an object class
+    set time-format short           - Select short timestamp format (default)
+    set time-format long            - Select long timestamp format
+    quit or ^D                      - Exit the program
+qpid: list
+Management Object Types:
+    ObjectType     Active  Deleted
+    ================================
+    qpid.binding   21      0
+    qpid.broker    1       0
+    qpid.client    1       0
+    qpid.exchange  6       0
+    qpid.queue     13      0
+    qpid.session   4       0
+    qpid.system    1       0
+    qpid.vhost     1       0
+qpid: list qpid.system
+Objects of type qpid.system
+    ID    Created   Destroyed  Index
+    ==================================
+    1000  21:00:02  -          host
+qpid: list 1000
+Object of type qpid.system: (last sample time: 21:26:02)
+    Type    Element   1000
+    =======================================================
+    config  sysId     host
+    config  osName    Linux
+    config  nodeName  localhost.localdomain
+    config  release   2.6.24.4-64.fc8
+    config  version   #1 SMP Sat Mar 29 09:15:49 EDT 2008
+    config  machine   x86_64
+qpid: schema queue
+Schema for class 'qpid.queue':
+    Element                Type          Unit         Access      Notes   Description
+    ===================================================================================================================
+    vhostRef               reference                  ReadCreate  index
+    name                   short-string               ReadCreate  index
+    durable                boolean                    ReadCreate
+    autoDelete             boolean                    ReadCreate
+    exclusive              boolean                    ReadCreate
+    arguments              field-table                ReadOnly            Arguments supplied in queue.declare
+    storeRef               reference                  ReadOnly            Reference to persistent queue (if durable)
+    msgTotalEnqueues       uint64        message                          Total messages enqueued
+    msgTotalDequeues       uint64        message                          Total messages dequeued
+    msgTxnEnqueues         uint64        message                          Transactional messages enqueued
+    msgTxnDequeues         uint64        message                          Transactional messages dequeued
+    msgPersistEnqueues     uint64        message                          Persistent messages enqueued
+    msgPersistDequeues     uint64        message                          Persistent messages dequeued
+    msgDepth               uint32        message                          Current size of queue in messages
+    msgDepthHigh           uint32        message                          Current size of queue in messages (High)
+    msgDepthLow            uint32        message                          Current size of queue in messages (Low)
+    byteTotalEnqueues      uint64        octet                            Total messages enqueued
+    byteTotalDequeues      uint64        octet                            Total messages dequeued
+    byteTxnEnqueues        uint64        octet                            Transactional messages enqueued
+    byteTxnDequeues        uint64        octet                            Transactional messages dequeued
+    bytePersistEnqueues    uint64        octet                            Persistent messages enqueued
+    bytePersistDequeues    uint64        octet                            Persistent messages dequeued
+    byteDepth              uint32        octet                            Current size of queue in bytes
+    byteDepthHigh          uint32        octet                            Current size of queue in bytes (High)
+    byteDepthLow           uint32        octet                            Current size of queue in bytes (Low)
+    enqueueTxnStarts       uint64        transaction                      Total enqueue transactions started
+    enqueueTxnCommits      uint64        transaction                      Total enqueue transactions committed
+    enqueueTxnRejects      uint64        transaction                      Total enqueue transactions rejected
+    enqueueTxnCount        uint32        transaction                      Current pending enqueue transactions
+    enqueueTxnCountHigh    uint32        transaction                      Current pending enqueue transactions (High)
+    enqueueTxnCountLow     uint32        transaction                      Current pending enqueue transactions (Low)
+    dequeueTxnStarts       uint64        transaction                      Total dequeue transactions started
+    dequeueTxnCommits      uint64        transaction                      Total dequeue transactions committed
+    dequeueTxnRejects      uint64        transaction                      Total dequeue transactions rejected
+    dequeueTxnCount        uint32        transaction                      Current pending dequeue transactions
+    dequeueTxnCountHigh    uint32        transaction                      Current pending dequeue transactions (High)
+    dequeueTxnCountLow     uint32        transaction                      Current pending dequeue transactions (Low)
+    consumers              uint32        consumer                         Current consumers on queue
+    consumersHigh          uint32        consumer                         Current consumers on queue (High)
+    consumersLow           uint32        consumer                         Current consumers on queue (Low)
+    bindings               uint32        binding                          Current bindings
+    bindingsHigh           uint32        binding                          Current bindings (High)
+    bindingsLow            uint32        binding                          Current bindings (Low)
+    unackedMessages        uint32        message                          Messages consumed but not yet acked
+    unackedMessagesHigh    uint32        message                          Messages consumed but not yet acked (High)
+    unackedMessagesLow     uint32        message                          Messages consumed but not yet acked (Low)
+    messageLatencySamples  delta-time    nanosecond                       Broker latency through this queue (Samples)
+    messageLatencyMin      delta-time    nanosecond                       Broker latency through this queue (Min)
+    messageLatencyMax      delta-time    nanosecond                       Broker latency through this queue (Max)
+    messageLatencyAverage  delta-time    nanosecond                       Broker latency through this queue (Average)
+Method 'purge' Discard all messages on queue
+qpid: list queue
+Objects of type qpid.queue
+    ID    Created   Destroyed  Index
+    ===========================================================================
+    1012  21:08:13  -          1002.pub_start
+    1014  21:08:13  -          1002.pub_done
+    1016  21:08:13  -          1002.sub_ready
+    1018  21:08:13  -          1002.sub_done
+    1020  21:08:13  -          1002.perftest0
+    1038  21:09:08  -          1002.mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15
+    1040  21:09:08  -          1002.repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
+    1046  21:09:32  -          1002.mgmt-df06c7a6-4ce7-426a-9f66-da91a2a6a837
+    1048  21:09:32  -          1002.repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837
+    1054  21:10:01  -          1002.mgmt-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae
+    1056  21:10:01  -          1002.repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae
+    1063  21:26:00  -          1002.mgmt-8d621997-6356-48c3-acab-76a37081d0f3
+    1065  21:26:00  -          1002.repl-8d621997-6356-48c3-acab-76a37081d0f3
+qpid: list 1020
+Object of type qpid.queue: (last sample time: 21:26:02)
+    Type    Element                1020
+    ==========================================================================
+    config  vhostRef               1002
+    config  name                   perftest0
+    config  durable                False
+    config  autoDelete             False
+    config  exclusive              False
+    config  arguments              {'qpid.max_size': 0, 'qpid.max_count': 0}
+    config  storeRef               NULL
+    inst    msgTotalEnqueues       500000 messages
+    inst    msgTotalDequeues       500000
+    inst    msgTxnEnqueues         0
+    inst    msgTxnDequeues         0
+    inst    msgPersistEnqueues     0
+    inst    msgPersistDequeues     0
+    inst    msgDepth               0
+    inst    msgDepthHigh           0
+    inst    msgDepthLow            0
+    inst    byteTotalEnqueues      512000000 octets
+    inst    byteTotalDequeues      512000000
+    inst    byteTxnEnqueues        0
+    inst    byteTxnDequeues        0
+    inst    bytePersistEnqueues    0
+    inst    bytePersistDequeues    0
+    inst    byteDepth              0
+    inst    byteDepthHigh          0
+    inst    byteDepthLow           0
+    inst    enqueueTxnStarts       0 transactions
+    inst    enqueueTxnCommits      0
+    inst    enqueueTxnRejects      0
+    inst    enqueueTxnCount        0
+    inst    enqueueTxnCountHigh    0
+    inst    enqueueTxnCountLow     0
+    inst    dequeueTxnStarts       0
+    inst    dequeueTxnCommits      0
+    inst    dequeueTxnRejects      0
+    inst    dequeueTxnCount        0
+    inst    dequeueTxnCountHigh    0
+    inst    dequeueTxnCountLow     0
+    inst    consumers              0 consumers
+    inst    consumersHigh          0
+    inst    consumersLow           0
+    inst    bindings               1 binding
+    inst    bindingsHigh           1
+    inst    bindingsLow            1
+    inst    unackedMessages        0 messages
+    inst    unackedMessagesHigh    0
+    inst    unackedMessagesLow     0
+    inst    messageLatencySamples  0
+    inst    messageLatencyMin      0
+    inst    messageLatencyMax      0
+    inst    messageLatencyAverage  0
+qpid:
+</pre></div><div class="section" title="1.4.  Using qpid-printevents"><div class="titlepage"><div><div><h3 class="title"><a name="MgmtC-2B-2B-Usingqpidprintevents"></a>1.4. 
+            Using
+            qpid-printevents
+          </h3></div></div></div><p>
+            This utility connects to one or more brokers and collects events,
+            printing out a line per event.
+          </p><pre class="programlisting">
+$ qpid-printevents --help
+Usage: qpid-printevents [options] [broker-addr]...
+
+Collect and print events from one or more Qpid message brokers.  If no broker-
+addr is supplied, qpid-printevents will connect to 'localhost:5672'. broker-
+addr is of the form:  [username/password@] hostname | ip-address [:&lt;port&gt;] ex:
+localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost
+
+Options:
+  -h, --help  show this help message and exit
+</pre><p>
+            You get the idea... have fun!
+          </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s09.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch06s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">9. 
+      ACL
+   </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 2. 
+      QMan - Qpid Management bridge
+    </td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.7/Qpid-Book/html/ch06s02.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.7/Qpid-Book/html/ch06s02.html?rev=956304&view=auto
==============================================================================
--- qpid/site/docs/books/0.7/Qpid-Book/html/ch06s02.html (added)
+++ qpid/site/docs/books/0.7/Qpid-Book/html/ch06s02.html Sat Jun 19 22:15:03 2010
@@ -0,0 +1,90 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.  QMan - Qpid Management bridge</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Qpid"><link rel="up" href="ch06.html" title="Chapter 6.  Managing the AMQP Messaging Broker"><link rel="prev" href="ch06.html" title="Chapter 6.  Managing the AMQP Messaging Broker"><link rel="next" href="ch06s03.html" title="3.  Qpid Management Framework"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2. 
+      QMan - Qpid Management bridge
+    </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch06.html">Prev</a> </td><th width="60%" align="center">Chapter 6.             
+      Managing the AMQP Messaging Broker
+    </th><td width="20%" align="right"> <a accesskey="n" href="ch06s03.html">Next</a></td></tr></table><hr></div><div class="section" title="2.  QMan - Qpid Management bridge"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2976069"></a>2. 
+      QMan - Qpid Management bridge
+    </h2></div></div></div><div class="section" title="2.1.  QMan : Qpid Management Bridge"><div class="titlepage"><div><div><h3 class="title"><a name="QMan-QpidManagementbridge-QMan-3AQpidManagementBridge"></a>2.1. 
+            QMan
+            : Qpid Management Bridge
+          </h3></div></div></div><p>
+            QMan is a management bridge for Qpid. It allows external clients
+            to manage and monitor one or more Qpid brokers.
+          </p><p>
+            Please note: All WS-DM related concerns have to be considered
+            part of M5 release.
+          </p><p>
+            QMan exposes the broker management interfaces using Java
+            Management Extensions (JMX) and / or OASIS Web Services
+            Distributed Management (WSDM). While the first one is supposed to
+            be used by java based clients only the latter is an interoperable
+            protocol that enables management clients to access and receive
+            notifications of management-enabled resources using Web Services.
+          </p><p>
+            QMan can be easily integrated in your preexisting system in
+            different ways :
+          </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>As a standalone application : in this case it runs as a
+            server. More specifically it enables communication via RMI (for
+            JMX) or via HTTP (for WS-DM); Note that when the WS-DM adapter is
+            used the JMX interface is not exposed;
+            </p></li><li class="listitem"><p>As a deployable unit : it is also available as a standard
+            Java web application (war); This is useful when there's a
+            preexisting Application Server in your environment and you don't
+            want start another additional server in order to run QMan.
+            </p></li></ul></div><div class="section" title="2.1.1.  User Documentation"><div class="titlepage"><div><div><h4 class="title"><a name="QMan-QpidManagementbridge-UserDocumentation"></a>2.1.1. 
+            User
+            Documentation
+          </h4></div></div></div><p>
+            With "User Documentation" we mean all information that you need
+            to know in order to use QMan from a user perspective. Those
+            information include :
+          </p><div class="table"><a name="id2976148"></a><p class="title"><b>Table 6.1. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
+                  Section
+                </td><td>
+                  Description
+                </td></tr><tr><td>
+                  <a class="xref" href="">???</a>
+                </td><td>
+                  How to install &amp; start QMan.
+                </td></tr><tr><td>
+                  <a class="xref" href="">???</a>
+                </td><td>
+                  QMan (WS-DM version only) Administration Console.
+                </td></tr><tr><td>
+                  <a class="xref" href="">???</a>
+                </td><td>
+                  Describes each JMX interface exposed by QMan.
+                </td></tr><tr><td>
+                  <a class="xref" href="">???</a>
+                </td><td>
+                  Describes each WS-DM interface exposed by QMan.
+                </td></tr><tr><td>
+                  <a class="xref" href="">???</a>
+                </td><td>
+                  Informational / Debug / Error / Warning messages catalogue.
+                </td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="2.1.2.  Technical Documentation"><div class="titlepage"><div><div><h4 class="title"><a name="QMan-QpidManagementbridge-TechnicalDocumentation"></a>2.1.2. 
+            Technical
+            Documentation
+          </h4></div></div></div><p>
+            If you are interested in technical details about QMan and related
+            technologies this is a good starting point. In general this
+            section provides information about QMan design, interfaces,
+            patterns and so on...
+          </p><div class="table"><a name="id2976284"></a><p class="title"><b>Table 6.2. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
+                  Section
+                </td><td>
+                  Description
+                </td></tr><tr><td>
+                  <a class="xref" href="">???</a>
+                </td><td>
+                  A short introduction about QMan deployment context.
+                </td></tr><tr><td>
+                  <a class="xref" href="">???</a>
+                </td><td>
+                  Describes QMan components, their interactions and
+                  responsibilities.
+                </td></tr></tbody></table></div></div><br class="table-break"></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch06.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch06s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 6.             
+      Managing the AMQP Messaging Broker
+     </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 3. 
+      Qpid Management Framework
+    </td></tr></table></div></body></html>



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