summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/etc/cluster.conf-example.xml17
-rwxr-xr-xcpp/src/tests/cluster_failover2
2 files changed, 7 insertions, 12 deletions
diff --git a/cpp/etc/cluster.conf-example.xml b/cpp/etc/cluster.conf-example.xml
index d1a0fad01d..cdaef5b5a1 100644
--- a/cpp/etc/cluster.conf-example.xml
+++ b/cpp/etc/cluster.conf-example.xml
@@ -4,21 +4,16 @@ This is an example of a cluster.conf file to run qpidd HA under rgmanager.
This example assumes a 3 node cluster, with nodes named node1, node2 and node3.
-->
-<cluster name="qpid-test" config_version="4">
+<cluster name="qpid-test" config_version="18">
<!-- The cluster has 3 nodes. Each has a unique nodid and one vote for quorum. -->
<clusternodes>
- <clusternode name="node1" nodeid="1">
- <fence/>
- </clusternode>
- <clusternode name="node2" nodeid="2">
- <fence/>
- </clusternode>
- <clusternode name="node3" nodeid="3">
- <fence/>
- </clusternode>
+ <clusternode name="node1" nodeid="1"/>
+ <clusternode name="node2" nodeid="2"/>
+ <clusternode name="node3" nodeid="3"/>
</clusternodes>
<!-- Resouce Manager configuration. -->
- <rm log_level="7"> <!-- Optional logging -->
+ <rm log_level="7" <!-- Verbose logging -->
+ central_processing="1"> <!-- TODO explain-->
<!--
There is a failoverdomain for each node containing just that node.
This lets us stipulate that the qpidd service should always run on all nodes.
diff --git a/cpp/src/tests/cluster_failover b/cpp/src/tests/cluster_failover
index c978ee910c..2a68d1ec79 100755
--- a/cpp/src/tests/cluster_failover
+++ b/cpp/src/tests/cluster_failover
@@ -1,6 +1,6 @@
#!/bin/sh
# A simple manual failover test, sends a stream of numbered messages.
-# You can kill the connected broker and verify that the client reconnects
+# You can kill the connected broker and verify that the clients reconnect
# and no messages are lost.
URL=$1