summaryrefslogtreecommitdiff
path: root/qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2013-05-21 11:29:11 +0000
committerKeith Wall <kwall@apache.org>2013-05-21 11:29:11 +0000
commitc043a6477e0ced702302f9705ac8c4f8c1e8e0df (patch)
tree89497f0e3dbb7a62a39ae066028b4aba14f399d6 /qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml
parentf93f0704c37440a6cd90b6bb9d0dd4a4eb964f6d (diff)
downloadqpid-python-c043a6477e0ced702302f9705ac8c4f8c1e8e0df.tar.gz
NO-JIRA: Corrected vhostname typo in HA example vhost configuration. Also moved documentation of <envConfig> element to BDBMessageStore config section as it applies generally
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1484763 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml')
-rw-r--r--qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml66
1 files changed, 27 insertions, 39 deletions
diff --git a/qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml b/qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml
index 7ea9dae38a..ca205a865e 100644
--- a/qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml
+++ b/qpid/doc/book/src/java-broker/Java-Broker-High-Availability.xml
@@ -298,25 +298,27 @@
<example>
<title>Configuring a VirtualHost to use the BDBHAMessageStore</title>
<programlisting language="xml"><![CDATA[
-<virtualhost>
- <name>myhost</name>
- <myvhost>
- <store>
- <class>org.apache.qpid.server.store.berkeleydb.BDBHAMessageStore</class>
- <environment-path>${work}/bdbhastore</environment-path>
- <highAvailability>
- <groupName>myclustername</groupName>
- <nodeName>mynode1</nodeName>
- <nodeHostPort>node1host:port</nodeHostPort>
- <helperHostPort>node1host:port</helperHostPort>
- <durability>NO_SYNC\,NO_SYNC\,SIMPLE_MAJORITY</durability>
- <coalescingSync>true|false</coalescingSync>
- <designatedPrimary>true|false</designatedPrimary>
- </highAvailability>
- </store>
- ...
- </myvhost>
-</virtualhost>]]></programlisting>
+<virtualhosts>
+ <virtualhost>
+ <name>vhostname</name>
+ <vhostname>
+ <store>
+ <class>org.apache.qpid.server.store.berkeleydb.BDBHAMessageStore</class>
+ <environment-path>${QPID_WORK}/bdbhastore/vhostname</environment-path>
+ <highAvailability>
+ <groupName>myclustername</groupName>
+ <nodeName>mynode1</nodeName>
+ <nodeHostPort>node1host:port</nodeHostPort>
+ <helperHostPort>node1host:port</helperHostPort>
+ <durability>NO_SYNC\,NO_SYNC\,SIMPLE_MAJORITY</durability>
+ <coalescingSync>true|false</coalescingSync>
+ <designatedPrimary>true|false</designatedPrimary>
+ </highAvailability>
+ </store>
+ ...
+ </vhostname>
+ </virtualhost>
+</virtualhosts>]]></programlisting>
</example>
</para>
<para>The <varname>groupName</varname> is the name of logical name of the cluster. All nodes within the
@@ -355,26 +357,12 @@
<section role="h4" id="Java-Broker-High-Availability-Configuration_BDBEnvVars">
<title>Passing BDB environment and replication configuration options</title>
- <para>It is possible to pass BDB <ulink url="&oracleBdbJavaDocUrl;com/sleepycat/je/EnvironmentConfig.html">
- environment</ulink> and <ulink url="&oracleBdbJavaDocUrl;com/sleepycat/je/rep/ReplicationConfig.html">
- replication</ulink> configuration options from the virtualhost.xml. Environment configuration options are passed using
- the <varname>envConfig</varname> element, and replication config using <varname>repConfig</varname>.</para>
- <para>For example, to override the BDB environment configuration options <varname>je.cleaner.threads</varname> and
- <varname>je.txn.timeout</varname></para>
- <programlisting language="xml"><![CDATA[
- ...
- </highAvailability>
- <envConfig>
- <name>je.cleaner.threads</name>
- <value>2</value>
- </envConfig>
- <envConfig>
- <name>je.txn.timeout</name>
- <value>15 min</value>
- </envConfig>
- ...
- </store>]]></programlisting>
- <para>And to override the BDB replication configuration options <varname>je.rep.electionsPrimaryRetries</varname>.</para>
+ <para>It is possible to pass BDB <ulink url="&oracleBdbJavaDocUrl;com/sleepycat/je/EnvironmentConfig.html">environment</ulink> and
+ <ulink url="&oracleBdbJavaDocUrl;com/sleepycat/je/rep/ReplicationConfig.html">replication</ulink> configuration options from the
+ virtualhost.xml.</para>
+ <para>Environment configuration options are passed as described in <xref linkend="Java-Broker-Stores-BDB-Store-Configuration_BDBEnvVars"/></para>
+ <para>Replication configuration option are passed using <varname>repConfig</varname> elements with the <varname>store</varname> element.</para>
+ <para>For example, to override the BDB replication configuration option <varname>je.rep.electionsPrimaryRetries</varname>.</para>
<programlisting language="xml"><![CDATA[
...
</highAvailability>