Author: buildbot
Date: Fri May 17 15:21:51 2013
New Revision: 862266

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/replicated-leveldb-store.html

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

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 Fri May 
17 15:21:51 2013
@@ -74,7 +74,7 @@
           <div class="wiki-content maincontent">
 <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>Version Compatibility</b><br clear="none">Not yet released.  
Will be available in ActiveMQ 5.9.0.  Get it from a nightly <a shape="rect" 
class="external-link" 
href="http://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&amp;g=org.apache.activemq&amp;a=apache-activemq&amp;v=5.9-SNAPSHOT&amp;e=tar.gz&amp;c=bin";>SNAPSHOT
 build</a>.</td></tr></table></div>
 
-<h2><a shape="rect" name="ReplicatedLevelDBStore-Synopsis"></a>Synopsis </h2>
+<h2><a shape="rect" name="ReplicatedLevelDBStore-Synopsis"></a>Synopsis</h2>
 
 <p>The Replicated LevelDB Store uses Apache ZooKeeper to pick a muster from a 
set of broker nodes configured to replicate a LevelDB Store. Then synchronizes 
all slave LevelDB Stores with the master keeps them up to date by replicating 
all updates from the master.</p>
 
@@ -111,7 +111,7 @@ failover:(tcp:<span class="code-comment"
   &lt;broker brokerName=<span class="code-quote">"broker"</span> ... &gt;
     ...
     &lt;persistenceAdapter&gt;
-      &lt;replicatedLevelDB 
+      &lt;replicatedLevelDB
         directory=<span class="code-quote">"activemq-data"</span>
         replicas=<span class="code-quote">"2"</span>
         bind=<span class="code-quote">"tcp:<span 
class="code-comment">//0.0.0.0:0"</span>
@@ -130,7 +130,7 @@ failover:(tcp:<span class="code-comment"
 <p>All the broker nodes that are part of the same replication set should have 
matching <tt>brokerName</tt> XML attributes. The following configuration 
properties should be the same on all the broker nodes that are part of the same 
replication set:</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" 
class="confluenceTh"> default value </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Comments </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> replicas </td><td colspan="1" rowspan="1" 
class="confluenceTd"> 2 </td><td colspan="1" rowspan="1" class="confluenceTd"> 
The number of store replicas that will exist in the cluster.  At least 
(replicas/2)+1 nodes must be online to avoid service outage. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> securityToken </td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd"> A security token which must match on all 
replication nodes for them to accept each others replication requests. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> zkAddress 
</td><td colspan="1" rowspan="1" class="confluenceTd">
  127.0.0.1:2181 </td><td colspan="1" rowspan="1" class="confluenceTd"> A comma 
separated list of ZooKeeper servers. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> zkPassword </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> The password to use when connecting to the ZooKeeper 
server. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> zkPath 
</td><td colspan="1" rowspan="1" class="confluenceTd"> /default </td><td 
colspan="1" rowspan="1" class="confluenceTd"> The path to the ZooKeeper 
directory where Master/Slave election information will be exchanged. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> zkSessionTmeout 
</td><td colspan="1" rowspan="1" class="confluenceTd"> 2s </td><td colspan="1" 
rowspan="1" class="confluenceTd"> How quickly a node failure will be detected 
by ZooKeeper. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
sync </td><td colspan=
 "1" rowspan="1" class="confluenceTd"> quorum_mem </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Controls where updates are reside before 
being considered complete. This setting is a comma separated list of the 
following options: local_mem, local_disk, remote_mem, remote_disk, quorum_mem, 
quorum_disk. If you combine two settings for a target, the stronger guarantee 
is used.  For example, configuring 'local_mem, local_disk' results in 
'local_disk'.  quorum_mem is the same as 'local_mem, remote_mem' and 
'quorum_disk' is the same as 'local_disk, remote_disk' 
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" 
class="confluenceTh"> default value </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Comments </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>replicas</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>2</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The number of store replicas that will exist in the 
cluster.  At least (replicas/2)+1 nodes must be online to avoid service outage. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>securityToken</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> A security token which must match on all replication 
nodes for them to accept each others replication requests. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>zkAddress</tt> </td><td 
colspan="
 1" rowspan="1" class="confluenceTd"> <tt>127.0.0.1:2181</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> A comma separated list of 
ZooKeeper servers. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>zkPassword</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> The password to use when connecting to the ZooKeeper 
server. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>zkPath</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>/default</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The 
path to the ZooKeeper directory where Master/Slave election information will be 
exchanged. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>zkSessionTmeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>2s</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> How quickly 
a node failure will be detected by ZooKeep
 er. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>sync</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>quorum_mem</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
Controls where updates are reside before being considered complete. This 
setting is a comma separated list of the following options: <tt>local_mem</tt>, 
<tt>local_disk</tt>, <tt>remote_mem</tt>, <tt>remote_disk</tt>, 
<tt>quorum_mem</tt>, <tt>quorum_disk</tt>. If you combine two settings for a 
target, the stronger guarantee is used.  For example, configuring 
<tt>local_mem, local_disk</tt> is the same as just using <tt>local_disk</tt>.  
quorum_mem is the same as <tt>local_mem, remote_mem</tt> and 
<tt>quorum_disk</tt> is the same as <tt>local_disk, remote_disk</tt> 
</td></tr></tbody></table>
 </div>
 
 
@@ -140,7 +140,7 @@ failover:(tcp:<span class="code-comment"
 <p>The following configuration properties can be unique per node:</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" 
class="confluenceTh"> default value </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Comments </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> bind </td><td colspan="1" rowspan="1" 
class="confluenceTd"> tcp://0.0.0.0:61619 </td><td colspan="1" rowspan="1" 
class="confluenceTd"> When this node becomes a master, it will bind the 
configured address and port to service the replication protocol.  Using dynamic 
ports is also supported.  Just configure with 
'tcp://0.0.0.0:0'</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> hostname </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> The host name used to advertise the replication service 
when this node becomes the master.  If not set it will be automatically 
determined.  </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" 
class="confluenceTh"> default value </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Comments </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>bind</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>tcp://0.0.0.0:61619</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> When this node becomes a master, it will bind 
the configured address and port to service the replication protocol.  Using 
dynamic ports is also supported.  Just configure with <tt>tcp://0.0.0.0:0</tt> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>hostname</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> The host name used to advertise the replication service 
when this node becomes the master.  If not set it will be automatically determi
 ned. </td></tr></tbody></table>
 </div>
 
 
@@ -149,7 +149,7 @@ failover:(tcp:<span class="code-comment"
 <h3><a shape="rect" 
name="ReplicatedLevelDBStore-StandardLevelDBStoreProperties"></a>Standard 
LevelDB Store Properties</h3>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" 
class="confluenceTh"> default value </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Comments </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> directory </td><td colspan="1" rowspan="1" 
class="confluenceTd"> "LevelDB" </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The directory which the store will use to hold it's data 
files. The store will create the directory if it does not already exist. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> readThreads 
</td><td colspan="1" rowspan="1" class="confluenceTd"> 10 </td><td colspan="1" 
rowspan="1" class="confluenceTd"> The number of concurrent IO read threads to 
allowed. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
logSize </td><td colspan="1" rowspan="1" class="confluenceTd"> 104857600 (100 
MB) </td><td colspan="1" rowspan="1" class
 ="confluenceTd"> The max size (in bytes) of each data log file before log file 
rotation occurs. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> logWriteBufferSize </td><td colspan="1" rowspan="1" 
class="confluenceTd"> 4194304 (4 MB) </td><td colspan="1" rowspan="1" 
class="confluenceTd"> That maximum amount of log data to build up before 
writing to the file system. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> verifyChecksums </td><td colspan="1" rowspan="1" 
class="confluenceTd"> false </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Set to true to force checksum verification of all data 
that is read from the file system. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> paranoidChecks </td><td colspan="1" rowspan="1" 
class="confluenceTd"> false </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Make the store error out as soon as possible if it 
detects internal corruption. </td></tr><tr><td colspan="1" rowspan="1" cla
 ss="confluenceTd"> indexFactory </td><td colspan="1" rowspan="1" 
class="confluenceTd"> org.fusesource.leveldbjni.JniDBFactory, 
org.iq80.leveldb.impl.Iq80DBFactory </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The factory classes to use when creating the LevelDB 
indexes </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
indexMaxOpenFiles </td><td colspan="1" rowspan="1" class="confluenceTd"> 1000 
</td><td colspan="1" rowspan="1" class="confluenceTd"> Number of open files 
that can be used by the index. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> indexBlockRestartInterval </td><td colspan="1" 
rowspan="1" class="confluenceTd"> 16 </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Number keys between restart points for delta encoding of 
keys. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
indexWriteBufferSize </td><td colspan="1" rowspan="1" class="confluenceTd"> 
6291456 (6 MB) </td><td colspan="1" rowspan="1" class="
 confluenceTd"> Amount of index data to build up in memory before converting to 
a sorted on-disk file. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> indexBlockSize </td><td colspan="1" rowspan="1" 
class="confluenceTd"> 4096 (4 K) </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The size of index data packed per block. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> indexCacheSize 
</td><td colspan="1" rowspan="1" class="confluenceTd"> 268435456 (256 MB) 
</td><td colspan="1" rowspan="1" class="confluenceTd"> The maximum amount of 
off-heap memory to use to cache index blocks. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> indexCompression </td><td colspan="1" 
rowspan="1" class="confluenceTd"> snappy </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The type of compression to apply to the index blocks.  
Can be snappy or none. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> logCompression </td><td colspa
 n="1" rowspan="1" class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The type of compression to apply to the log records. Can 
be snappy or none. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" 
class="confluenceTh"> default value </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Comments </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>directory</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>LevelDB</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The directory which the store will use to hold it's data 
files. The store will create the directory if it does not already exist. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>readThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>10</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The number 
of concurrent IO read threads to allowed. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>logSize</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>104857600<
 /tt> (100 MB) </td><td colspan="1" rowspan="1" class="confluenceTd"> The max 
size (in bytes) of each data log file before log file rotation occurs. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>logWriteBufferSize</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>4194304</tt> (4 MB) </td><td colspan="1" rowspan="1" 
class="confluenceTd"> That maximum amount of log data to build up before 
writing to the file system. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>verifyChecksums</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Set to true to force checksum verification of all data 
that is read from the file system. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>paranoidChecks</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Make the store erro
 r out as soon as possible if it detects internal corruption. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>indexFactory</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> 
<tt>org.fusesource.leveldbjni.JniDBFactory, 
org.iq80.leveldb.impl.Iq80DBFactory</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The factory classes to use when creating the LevelDB 
indexes </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>indexMaxOpenFiles</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>1000</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Number of open files that can be used by the index. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>indexBlockRestartInterval</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>16</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Number keys between restart points for delta encoding of 
keys. </td></tr><tr><td colspan="1" rowsp
 an="1" class="confluenceTd"> <tt>indexWriteBufferSize</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>6291456</tt> (6 MB) </td><td 
colspan="1" rowspan="1" class="confluenceTd"> Amount of index data to build up 
in memory before converting to a sorted on-disk file. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>indexBlockSize</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>4096</tt> (4 K) </td><td 
colspan="1" rowspan="1" class="confluenceTd"> The size of index data packed per 
block. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>indexCacheSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>268435456</tt> (256 MB) </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The maximum amount of off-heap memory to use to cache 
index blocks. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>indexCompression</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>snappy<
 /tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The type of 
compression to apply to the index blocks.  Can be snappy or none. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>logCompression</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>none</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The type 
of compression to apply to the log records. Can be snappy or none. 
</td></tr></tbody></table>
 </div>
 
           </div>


Reply via email to