summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-03-28 16:24:52 +0000
committerAlan Conway <aconway@apache.org>2012-03-28 16:24:52 +0000
commit61edd10fc91b354433e70e45941bc346c8dcf803 (patch)
tree6f7ac16008222f375564131ace2bc2761b40ff66 /cpp
parent9957001e21e68d6586a38fe2b07837a0b69322be (diff)
downloadqpid-python-61edd10fc91b354433e70e45941bc346c8dcf803.tar.gz
QPID-3603: Update HA documentation: example of virtual IP addresses
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1306454 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/etc/cluster.conf-example.xml.in20
1 files changed, 12 insertions, 8 deletions
diff --git a/cpp/etc/cluster.conf-example.xml.in b/cpp/etc/cluster.conf-example.xml.in
index dbeb3af537..eb70ebbb1e 100644
--- a/cpp/etc/cluster.conf-example.xml.in
+++ b/cpp/etc/cluster.conf-example.xml.in
@@ -7,14 +7,18 @@ This example assumes a 3 node cluster, with nodes named node1, node2 and node3.
<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"/>
- <clusternode name="node2" nodeid="2"/>
- <clusternode name="node3" nodeid="3"/>
+ <clusternode name="node1" nodeid="1">
+ <fence/>
+ </clusternode>
+ <clusternode name="node2" nodeid="2">
+ <fence/>
+ </clusternode>
+ <clusternode name="node3" nodeid="3">
+ <fence/>
+ </clusternode>
</clusternodes>
- <!-- Resouce Manager configuration.
- TODO explain central_processing="1"
- -->
- <rm log_level="7" central_processing="1">
+ <!-- Resouce Manager configuration. -->
+ <rm log_level="7"> <!-- Verbose logging -->
<!--
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.
@@ -59,7 +63,7 @@ This example assumes a 3 node cluster, with nodes named node1, node2 and node3.
<!-- There should always be a single qpidd-primary service, it can run on any node. -->
<service name="qpidd-primary-service" autostart="1" exclusive="0" recovery="relocate">
<script ref="qpidd-primary"/>
- <!-- The primary has the IP addresses for brokers and clients. -->
+ <!-- The primary has the IP addresses for brokers and clients to connect. -->
<ip ref="20.0.10.200"/>
<ip ref="20.0.20.200"/>
</service>