You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by bu...@apache.org on 2013/05/08 02:22:52 UTC

svn commit: r861254 - in /websites/production/activemq/content: cache/main.pageCache leveldb-store.html masterslave.html pure-master-slave.html replicated-leveldb-store.html shared-file-system-master-slave.html

Author: buildbot
Date: Wed May  8 00:22:52 2013
New Revision: 861254

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/leveldb-store.html
    websites/production/activemq/content/masterslave.html
    websites/production/activemq/content/pure-master-slave.html
    websites/production/activemq/content/replicated-leveldb-store.html
    websites/production/activemq/content/shared-file-system-master-slave.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/leveldb-store.html
==============================================================================
--- websites/production/activemq/content/leveldb-store.html (original)
+++ websites/production/activemq/content/leveldb-store.html Wed May  8 00:22:52 2013
@@ -72,7 +72,8 @@
         <tr>
         <td valign="top" width="100%">
           <div class="wiki-content maincontent">
-<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Version Compatibility</b><br clear="none">Available in ActiveMQ 5.8.0 and newer</td></tr></table></div>
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Version Compatibility</b><br clear="none"></td></tr></table></div>
+<p>Available in ActiveMQ 5.8.0 and newer</p>
 
 <p>LevelDB is a file based persistence database that is local to the message broker that is using it.<br clear="none">
 It has been optimized to provide even faster persistence than KahaDB.  It's similar to KahahDB but <br clear="none">
@@ -112,6 +113,11 @@ stalls.</p>
 
 
 <p>For tuning locking properties please take a look at <a shape="rect" href="pluggable-storage-lockers.html" title="Pluggable storage lockers">Pluggable storage lockers</a></p>
+
+<h2><a shape="rect" name="LevelDBStore-AlsoSee"></a>Also See</h2>
+
+<ul><li><a shape="rect" href="replicated-leveldb-store.html" title="Replicated LevelDB Store">Replicated LevelDB Store</a> An extended version of this store which self replicates to other broker nodes to increase message availability.</li></ul>
+
           </div>
         </td>
         <td valign="top">

Modified: websites/production/activemq/content/masterslave.html
==============================================================================
--- websites/production/activemq/content/masterslave.html (original)
+++ websites/production/activemq/content/masterslave.html Wed May  8 00:22:52 2013
@@ -77,12 +77,12 @@
 <p>The following are the different kinds of Master/Slave configurations available:</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Master Slave Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Requirements </th><th colspan="1" rowspan="1" class="confluenceTh"> Pros </th><th colspan="1" rowspan="1" class="confluenceTh"> Cons </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="shared-file-system-master-slave.html" title="Shared File System Master Slave">Shared File System Master Slave</a> </td><td colspan="1" rowspan="1" class="confluenceTd"> A shared file system such as a SAN </td><td colspan="1" rowspan="1" class="confluenceTd"> Run as many slaves as required. Automatic recovery of old masters </td><td colspan="1" rowspan="1" class="confluenceTd"> Requires shared file system </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jdbc-master-slave.html" title="JDBC Master Slave">JDBC Master Slave</a> </td><td colspan="1" rowspan="1" class="
 confluenceTd"> A Shared database </td><td colspan="1" rowspan="1" class="confluenceTd"> Run as many slaves as required. Automatic recovery of old masters </td><td colspan="1" rowspan="1" class="confluenceTd"> Requires a shared database. Also relatively slow as it cannot use the high performance journal </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Master Slave Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Requirements </th><th colspan="1" rowspan="1" class="confluenceTh"> Pros </th><th colspan="1" rowspan="1" class="confluenceTh"> Cons </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="shared-file-system-master-slave.html" title="Shared File System Master Slave">Shared File System Master Slave</a> </td><td colspan="1" rowspan="1" class="confluenceTd"> A shared file system such as a SAN </td><td colspan="1" rowspan="1" class="confluenceTd"> Run as many slaves as required. Automatic recovery of old masters </td><td colspan="1" rowspan="1" class="confluenceTd"> Requires shared file system </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jdbc-master-slave.html" title="JDBC Master Slave">JDBC Master Slave</a> </td><td colspan="1" rowspan="1" class="
 confluenceTd"> A Shared database </td><td colspan="1" rowspan="1" class="confluenceTd"> Run as many slaves as required. Automatic recovery of old masters </td><td colspan="1" rowspan="1" class="confluenceTd"> Requires a shared database. Also relatively slow as it cannot use the high performance journal </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="replicated-leveldb-store.html" title="Replicated LevelDB Store">Replicated LevelDB Store</a> </td><td colspan="1" rowspan="1" class="confluenceTd"> ZooKeeper Server </td><td colspan="1" rowspan="1" class="confluenceTd"> Run as many slaves as required. Automatic recovery of old masters.  Very fast. </td><td colspan="1" rowspan="1" class="confluenceTd"> Requires a ZooKeeper server. </td></tr></tbody></table>
 </div>
 
 
 
-<p>If you are using a shared network file system such as a SAN we recommend a <a shape="rect" href="shared-file-system-master-slave.html" title="Shared File System Master Slave">Shared File System Master Slave</a>. If you are happy to dispense with the high performance journal and are using pure JDBC as your persistence engine then you should use <a shape="rect" href="jdbc-master-slave.html" title="JDBC Master Slave">JDBC Master Slave</a> instead.</p>
+<p>If you are using a shared network file system such as a SAN we recommend a <a shape="rect" href="shared-file-system-master-slave.html" title="Shared File System Master Slave">Shared File System Master Slave</a>. If you are happy to dispense with the high performance journal and are using pure JDBC as your persistence engine then you should use <a shape="rect" href="jdbc-master-slave.html" title="JDBC Master Slave">JDBC Master Slave</a> instead.  For those willing to try out new tech, the <a shape="rect" href="replicated-leveldb-store.html" title="Replicated LevelDB Store">Replicated LevelDB Store</a> gives speeds similar to a SAN solution without the hassle of having to setup a highly available shared file system.</p>
           </div>
         </td>
         <td valign="top">

Modified: websites/production/activemq/content/pure-master-slave.html
==============================================================================
--- websites/production/activemq/content/pure-master-slave.html (original)
+++ websites/production/activemq/content/pure-master-slave.html Wed May  8 00:22:52 2013
@@ -74,7 +74,9 @@
           <div class="wiki-content maincontent">
 <h3><a shape="rect" name="PureMasterSlave-PureMasterSlave"></a>Pure Master Slave</h3>
 
-<div class="panelMacro"><table class="warningMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>This feature has been deprecated and will be removed in version 5.8</b><br clear="none">This feature will be removed in 5.8 as it has not evolved to be production ready. You are advised to use <a shape="rect" href="masterslave.html" title="MasterSlave">shared storage master/slave</a>. see <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/AMQ-4165">AMQ-4165</a></td></tr></table></div>
+<div class="panelMacro"><table class="warningMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>This feature has been deprecated and will be removed in version 5.8</b><br clear="none">This feature will be removed in 5.8 as it has not evolved to be production ready. <br clear="none">
+You are advised to use <a shape="rect" href="masterslave.html" title="MasterSlave">shared storage master/slave</a> or the <a shape="rect" href="replicated-leveldb-store.html" title="Replicated LevelDB Store">Replicated LevelDB Store</a>.<br clear="none">
+See <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/AMQ-4165">AMQ-4165</a></td></tr></table></div>
 
 <p>A Pure Master Slave configuration provides a basic shared nothing, fully replicated topology which does not depend on a shared file system or shared database. </p>
 

Modified: websites/production/activemq/content/replicated-leveldb-store.html
==============================================================================
--- websites/production/activemq/content/replicated-leveldb-store.html (original)
+++ websites/production/activemq/content/replicated-leveldb-store.html Wed May  8 00:22:52 2013
@@ -99,6 +99,21 @@ node with the lastest updates.  The node
 it's recommend that you run with at least 3 replica nodes so that you can take one down without suffering<br clear="none">
 a service outage.</p>
 
+<h3><a shape="rect" name="ReplicatedLevelDBStore-DeploymentTips"></a>Deployment Tips</h3>
+
+<p>Clients should be using the <a shape="rect" href="failover-transport-reference.html" title="Failover Transport Reference">Failover Transport</a> to connect to the broker <br clear="none">
+nodes in the replication cluster. e.g. using a URL something like the following:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+failover:(tcp:<span class="code-comment">//broker1:61616,tcp://broker2:61616,tcp://broker3:61616)</span>
+</pre>
+</div></div>
+
+<p>You should run at least 3 ZooKeeper server nodes so that the ZooKeeper service is highly available.  <br clear="none">
+Don't overcommit your ZooKeeper servers.  An overworked ZooKeeper might start thinking live<br clear="none">
+replication nodes have gone online due to delays in processing their 'keep-alive' messages.</p>
+
 <h2><a shape="rect" name="ReplicatedLevelDBStore-Configuration"></a>Configuration</h2>
 
 <p>You can configure ActiveMQ to use LevelDB for its persistence adapter - like below :</p>

Modified: websites/production/activemq/content/shared-file-system-master-slave.html
==============================================================================
--- websites/production/activemq/content/shared-file-system-master-slave.html (original)
+++ websites/production/activemq/content/shared-file-system-master-slave.html Wed May  8 00:22:52 2013
@@ -103,6 +103,14 @@ GFS: fully supports Cluster-wide flocks 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-java">
     &lt;persistenceAdapter&gt;
+      &lt;levelDB directory=<span class="code-quote">"/sharedFileSystem/sharedBrokerData"</span>/&gt;
+    &lt;/persistenceAdapter&gt;
+</pre>
+</div></div>
+<p>or:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+    &lt;persistenceAdapter&gt;
       &lt;amqPersistenceAdapter directory=<span class="code-quote">"/sharedFileSystem/sharedBrokerData"</span>/&gt;
     &lt;/persistenceAdapter&gt;
 </pre>