activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r959124 - in /websites/production/activemq/content: cache/cms.pageCache cache/main.pageCache cache/nms.pageCache leveldb-store.html replicated-leveldb-store.html unix-shell-script.html
Date Tue, 21 Jul 2015 17:24:22 GMT
Author: buildbot
Date: Tue Jul 21 17:24:22 2015
New Revision: 959124

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/cms.pageCache
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/cache/nms.pageCache
    websites/production/activemq/content/leveldb-store.html
    websites/production/activemq/content/replicated-leveldb-store.html
    websites/production/activemq/content/unix-shell-script.html

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

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

Modified: websites/production/activemq/content/cache/nms.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 Tue Jul 21 17:24:22 2015
@@ -90,7 +90,7 @@
     ...
   </broker>
 </pre>
-</div></div><h3 id="LevelDBStore-LevelDBProperties">LevelDB Properties</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>property name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>default value</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>directory</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>"LevelDB"</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>sync</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>If set to false, then the store does not sync logging operations
to disk</p></td></tr><tr><td colspan="1" row
 span="1" class="confluenceTd"><p>logSize</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>104857600 (100 MB)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The max size (in bytes) of each data
log file before log file rotation occurs.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logWriteBufferSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>4194304 (4 MB)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>That maximum amount of log data to
build up before writing to the file system.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>verifyChecksums</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set to true to force checksum verification
of all data that is read from the file system.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>paranoidChecks</p></td><td
colspan="1" rowspan="1" class="confluen
 ceTd"><p>false</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Make
the store error out as soon as possible if it detects internal corruption.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexFactory</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.fusesource.leveldbjni.JniDBFactory,
org.iq80.leveldb.impl.Iq80DBFactory</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
factory classes to use when creating the LevelDB indexes</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexMaxOpenFiles</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1000</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Number of open files that can be used by the
index.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>indexBlockRestartInterval</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>16</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Number keys between r
 estart points for delta encoding of keys.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexWriteBufferSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>6291456 (6 MB)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Amount of index data to build up
in memory before converting to a sorted on-disk file.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexBlockSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>4096 (4 K)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The size of index data packed per
block.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>indexCacheSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>268435456 (256 MB)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The maximum amount of off-heap memory
to use to cache index blocks.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>indexCompression</p></td><t
 d colspan="1" rowspan="1" class="confluenceTd"><p>snappy</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The type of compression to apply
to the index blocks. Can be snappy or none.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logCompression</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>none</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The type of compression to apply to the log records.
Can be snappy or none.</p></td></tr></tbody></table></div><p>For
tuning locking properties please take a look at <a shape="rect" href="pluggable-storage-lockers.html">Pluggable
storage lockers</a></p><h2 id="LevelDBStore-AlsoSee">Also See</h2><ul><li><a
shape="rect" href="replicated-leveldb-store.html">Replicated LevelDB Store</a> An
extended version of this store which self replicates to other broker nodes to increase message
availability.</li></ul></div>
+</div></div><h3 id="LevelDBStore-LevelDBProperties">LevelDB Properties</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>property name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>default value</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>directory</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>"LevelDB"</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>sync</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>If set to false, then the store does not sync logging operations
to disk</p></td></tr><tr><td colspan="1" row
 span="1" class="confluenceTd"><p>logSize</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>104857600 (100 MB)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The max size (in bytes) of each data
log file before log file rotation occurs.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>verifyChecksums</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set to true to force checksum verification
of all data that is read from the file system.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>paranoidChecks</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Make the store error out as soon
as possible if it detects internal corruption.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexFactory</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.f
 usesource.leveldbjni.JniDBFactory, org.iq80.leveldb.impl.Iq80DBFactory</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The factory classes to use when creating
the LevelDB indexes</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>indexMaxOpenFiles</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>1000</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Number of open files that can be used by the index.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexBlockRestartInterval</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>16</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Number keys between restart points for delta
encoding of keys.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>indexWriteBufferSize</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>6291456 (6 MB)</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Amount of index data to build up in
  memory before converting to a sorted on-disk file.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexBlockSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>4096 (4 K)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The size of index data packed per
block.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>indexCacheSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>268435456 (256 MB)</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The maximum amount of off-heap memory
to use to cache index blocks.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>indexCompression</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>snappy</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The type of compression to apply to the index
blocks. Can be snappy or none.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>logCompression</p></td><td colspan="1"

 rowspan="1" class="confluenceTd"><p>none</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The type of compression to apply to the log records.
Can be snappy or none.</p></td></tr></tbody></table></div><p>For
tuning locking properties please take a look at <a shape="rect" href="pluggable-storage-lockers.html">Pluggable
storage lockers</a></p><h2 id="LevelDBStore-AlsoSee">Also See</h2><ul><li><a
shape="rect" href="replicated-leveldb-store.html">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">
           <div class="navigation">

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 Tue Jul 21 17:24:22
2015
@@ -101,7 +101,7 @@
     ...
   &lt;/broker&gt;
 </pre>
-</div></div><h3 id="ReplicatedLevelDBStore-ReplicatedLevelDBStoreProperties">Replicated
LevelDB Store Properties</h3><p>All the broker nodes that are part of the same
replication set should have matching <code>brokerName</code> 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"><p>property name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>replicas</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>3</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of nodes that will exist
in the cluster. At least (replicas/2)+1 nodes must be online to avoid service outage.</p
 ></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>securityToken</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A security token which must match
on all replication nodes for them to accept each others replication requests.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>zkAddress</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>127.0.0.1:2181</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A comma separated list of ZooKeeper
servers.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>zkPassword</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The password to use when connecting
to the ZooKeeper server.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>zkPath</code></p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p><code>/default</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The path to the ZooKeeper directory
where Master/Slave election information will be exchanged.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>zkSessionTimeout</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>2s</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>How quickly a node failure will be
detected by ZooKeeper. (prior to 5.11 - this had a typo <span>zkSessionTmeout)</span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>sync</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>quorum_mem</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Controls where updates are reside
before being considered complete. This setting is a comma separated list of the following
options: <code>local_mem</code>, <code>local_disk</code>, 
 <code>remote_mem</code>, <code>remote_disk</code>, <code>quorum_mem</code>,
<code>quorum_disk</code>. If you combine two settings for a target, the stronger
guarantee is used. For example, configuring <code>local_mem, local_disk</code>
is the same as just using <code>local_disk</code>. quorum_mem is the same as <code>local_mem,
remote_mem</code> and <code>quorum_disk</code> is the same as <code>local_disk,
remote_disk</code></p></td></tr></tbody></table></div><p>Different
replication sets can share the same <code>zkPath</code> as long they have different
<code>brokerName</code>.</p><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"><p>property name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd
 "><p><code>bind</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>tcp://0.0.0.0:61619</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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 <code>tcp://0.0.0.0:0</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>hostname</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The host name used to advertise the
replication service when this node becomes the master. If not set it will be automatically
determined.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>weight</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The replication node that has the latest update
wi
 th the highest weight will become the master. Used to give preference to some nodes towards
becoming master.</p></td></tr></tbody></table></div><p>The
store also supports the same configuration properties of a standard <a shape="rect" href="leveldb-store.html">LevelDB
Store</a> but it does not support the pluggable storage lockers :</p><h3 id="ReplicatedLevelDBStore-StandardLevelDBStoreProperties">Standard
LevelDB Store Properties</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>property name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>directory</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>LevelDB</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>readThreads</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>10</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of concurrent IO read
threads to allowed.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>logSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>104857600</code>
(100 MB)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
max size (in bytes) of each data log file before log file rotation occurs.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>logWriteBufferSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>4194304</code>
(4 MB)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>That
maximum amount of log data to build up before writing to th
 e file system.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>verifyChecksums</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set to true to force checksum verification
of all data that is read from the file system.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>paranoidChecks</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Make the store error out as soon
as possible if it detects internal corruption.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>indexFactory</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>org.fusesource.leveldbjni.JniDBFactory,
org.iq80.leveldb.impl.Iq80DBFactory</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>The factory classes to use when cre
 ating the LevelDB indexes</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>indexMaxOpenFiles</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Number of open files that can be
used by the index.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>indexBlockRestartInterval</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>16</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Number keys between restart points
for delta encoding of keys.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>indexWriteBufferSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>6291456</code>
(6 MB)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Amount
of index data to build up in memory before converting to a sorted on-disk file.</p></td></tr><tr><td
colspan="1" row
 span="1" class="confluenceTd"><p><code>indexBlockSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>4096</code> (4
K)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
size of index data packed per block.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>indexCacheSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>268435456</code>
(256 MB)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
maximum amount of off-heap memory to use to cache index blocks.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>indexCompression</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>snappy</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The type of compression to apply
to the index blocks. Can be snappy or none.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>logCompression</code></p></td><td
colspan="
 1" rowspan="1" class="confluenceTd"><p><code>none</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The type of compression to apply
to the log records. Can be snappy or none.</p></td></tr></tbody></table></div><div
class="confluence-information-macro confluence-information-macro-warning"><p class="title">Caveats</p><span
class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>The LevelDB store does not yet support
storing data associated with <a shape="rect" href="delay-and-schedule-message-delivery.html">Delay
and Schedule Message Delivery</a>. Those are are stored in a separate non-replicated
KahaDB data files. Unexpected results will occur if you use <a shape="rect" href="delay-and-schedule-message-delivery.html">Delay
and Schedule Message Delivery</a> with the replicated leveldb store since that data
will be not be there when the master fails over to a slave.</p></div></div></
 div>
+</div></div><h3 id="ReplicatedLevelDBStore-ReplicatedLevelDBStoreProperties">Replicated
LevelDB Store Properties</h3><p>All the broker nodes that are part of the same
replication set should have matching <code>brokerName</code> 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"><p>property name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>replicas</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>3</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of nodes that will exist
in the cluster. At least (replicas/2)+1 nodes must be online to avoid service outage.</p
 ></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>securityToken</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A security token which must match
on all replication nodes for them to accept each others replication requests.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>zkAddress</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>127.0.0.1:2181</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A comma separated list of ZooKeeper
servers.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>zkPassword</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The password to use when connecting
to the ZooKeeper server.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>zkPath</code></p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p><code>/default</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The path to the ZooKeeper directory
where Master/Slave election information will be exchanged.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>zkSessionTimeout</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>2s</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>How quickly a node failure will be
detected by ZooKeeper. (prior to 5.11 - this had a typo <span>zkSessionTmeout)</span></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>sync</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>quorum_mem</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Controls where updates are reside
before being considered complete. This setting is a comma separated list of the following
options: <code>local_mem</code>, <code>local_disk</code>, 
 <code>remote_mem</code>, <code>remote_disk</code>, <code>quorum_mem</code>,
<code>quorum_disk</code>. If you combine two settings for a target, the stronger
guarantee is used. For example, configuring <code>local_mem, local_disk</code>
is the same as just using <code>local_disk</code>. quorum_mem is the same as <code>local_mem,
remote_mem</code> and <code>quorum_disk</code> is the same as <code>local_disk,
remote_disk</code></p></td></tr></tbody></table></div><p>Different
replication sets can share the same <code>zkPath</code> as long they have different
<code>brokerName</code>.</p><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"><p>property name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd
 "><p><code>bind</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>tcp://0.0.0.0:61619</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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 <code>tcp://0.0.0.0:0</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>hostname</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The host name used to advertise the
replication service when this node becomes the master. If not set it will be automatically
determined.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>weight</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The replication node that has the latest update
wi
 th the highest weight will become the master. Used to give preference to some nodes towards
becoming master.</p></td></tr></tbody></table></div><p>The
store also supports the same configuration properties of a standard <a shape="rect" href="leveldb-store.html">LevelDB
Store</a> but it does not support the pluggable storage lockers :</p><h3 id="ReplicatedLevelDBStore-StandardLevelDBStoreProperties">Standard
LevelDB Store Properties</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>property name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Comments</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>directory</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>LevelDB</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>readThreads</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>10</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The number of concurrent IO read
threads to allowed.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>logSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>104857600</code>
(100 MB)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
max size (in bytes) of each data log file before log file rotation occurs.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>verifyChecksums</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set to true to force checksum verification
of all data that is read from the
  file system.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>paranoidChecks</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Make the store error out as soon
as possible if it detects internal corruption.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>indexFactory</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>org.fusesource.leveldbjni.JniDBFactory,
org.iq80.leveldb.impl.Iq80DBFactory</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>The factory classes to use when creating the LevelDB indexes</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>indexMaxOpenFiles</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Number of open files that can be
used by the index.</p></td></tr
 ><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>indexBlockRestartInterval</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>16</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Number keys between restart points
for delta encoding of keys.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>indexWriteBufferSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>6291456</code>
(6 MB)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Amount
of index data to build up in memory before converting to a sorted on-disk file.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>indexBlockSize</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>4096</code> (4
K)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
size of index data packed per block.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>indexCa
 cheSize</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>268435456</code>
(256 MB)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
maximum amount of off-heap memory to use to cache index blocks.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>indexCompression</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>snappy</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The type of compression to apply
to the index blocks. Can be snappy or none.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>logCompression</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>none</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The type of compression to apply
to the log records. Can be snappy or none.</p></td></tr></tbody></table></div><div
class="confluence-information-macro confluence-information-macro-warning"><p class="title">Cave
 ats</p><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>The LevelDB store does not yet support
storing data associated with <a shape="rect" href="delay-and-schedule-message-delivery.html">Delay
and Schedule Message Delivery</a>. Those are are stored in a separate non-replicated
KahaDB data files. Unexpected results will occur if you use <a shape="rect" href="delay-and-schedule-message-delivery.html">Delay
and Schedule Message Delivery</a> with the replicated leveldb store since that data
will be not be there when the master fails over to a slave.</p></div></div></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/activemq/content/unix-shell-script.html
==============================================================================
--- websites/production/activemq/content/unix-shell-script.html (original)
+++ websites/production/activemq/content/unix-shell-script.html Tue Jul 21 17:24:22 2015
@@ -82,12 +82,12 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="UnixShellScript-/*&lt;![CDATA[*/div.rbtoc1437495620420{padding:0px;}div.rbtoc1437495620420ul{list-style:disc;margin-left:0px;}div.rbtoc1437495620420li{margin-left:0px;padding-left:0px;}/*]]&gt;*/#UnixShellScript-Functionaloverview#UnixShellScript-Functionalover"><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1437495620420 {padding: 0px;}
-div.rbtoc1437495620420 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1437495620420 li {margin-left: 0px;padding-left: 0px;}
+<div class="wiki-content maincontent"><h2 id="UnixShellScript-/*&lt;![CDATA[*/div.rbtoc1437499236160{padding:0px;}div.rbtoc1437499236160ul{list-style:disc;margin-left:0px;}div.rbtoc1437499236160li{margin-left:0px;padding-left:0px;}/*]]&gt;*/#UnixShellScript-Functionaloverview#UnixShellScript-Functionalover"><style
type="text/css">/*<![CDATA[*/
+div.rbtoc1437499236160 {padding: 0px;}
+div.rbtoc1437499236160 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1437499236160 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></h2><div class="toc-macro rbtoc1437495620420">
+/*]]>*/</style></h2><div class="toc-macro rbtoc1437499236160">
 <ul class="toc-indentation"><li><a shape="rect" href="#UnixShellScript-"></a></li></ul>
 <ul><li><a shape="rect" href="#UnixShellScript-Functionaloverview">Functional
overview</a></li><li><a shape="rect" href="#UnixShellScript-Configuringtheinit-script">Configuring
the init-script</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#UnixShellScript-Version5.11.0andhigher">Version
5.11.0 and higher</a>



Mime
View raw message