diff options
| author | Alan Conway <aconway@apache.org> | 2012-04-16 19:20:15 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-04-16 19:20:15 +0000 |
| commit | 0dde682105118b364773e2bee18021734edcf573 (patch) | |
| tree | 32400857b5df39ac77526a096b84fd1412c6ca74 /qpid/doc | |
| parent | 6cf716b52c086e19a7439468b9de4e314625c55d (diff) | |
| download | qpid-python-0dde682105118b364773e2bee18021734edcf573.tar.gz | |
QPID-3603: Minor improvements to HA tests, documentation and examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326755 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc')
| -rw-r--r-- | qpid/doc/book/src/Active-Passive-Cluster.xml | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/qpid/doc/book/src/Active-Passive-Cluster.xml b/qpid/doc/book/src/Active-Passive-Cluster.xml index ffec584679..5f5823bdd2 100644 --- a/qpid/doc/book/src/Active-Passive-Cluster.xml +++ b/qpid/doc/book/src/Active-Passive-Cluster.xml @@ -316,39 +316,42 @@ under the License. <!-- 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. + +NOTE: fencing is not shown, you must configure fencing appropriately for your cluster. --> <cluster name="qpid-test" config_version="18"> - <!-- The cluster has 3 nodes. Each has a unique nodid and one vote for quorum. --> + <!-- 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.example.com" nodeid="1"/> + <clusternode name="node2.example.com" nodeid="2"/> + <clusternode name="node3.example.com" nodeid="3"/> </clusternodes> <!-- Resouce Manager configuration. --> - <rm log_level="7"> <!-- Verbose logging --> + <rm> <!-- 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. + This lets us stipulate that the qpidd service should always run on each node. --> <failoverdomains> <failoverdomain name="node1-domain" restricted="1"> - <failoverdomainnode name="node1"/> + <failoverdomainnode name="node1.example.com"/> </failoverdomain> <failoverdomain name="node2-domain" restricted="1"> - <failoverdomainnode name="node2"/> + <failoverdomainnode name="node2.example.com"/> </failoverdomain> <failoverdomain name="node3-domain" restricted="1"> - <failoverdomainnode name="node3"/> + <failoverdomainnode name="node3.example.com"/> </failoverdomain> </failoverdomains> <resources> <!-- This script starts a qpidd broker acting as a backup. --> - <script file="!!sysconfdir!!/init.d/qpidd" name="qpidd"/> + <script file="/etc/init.d/qpidd" name="qpidd"/> <!-- This script promotes the qpidd broker on this node to primary. --> - <script file="!!sysconfdir!!/init.d/qpidd-primary" name="qpidd-primary"/> + <script file="/etc/init.d/qpidd-primary" name="qpidd-primary"/> <!-- This is a virtual IP address for broker replication traffic. --> <ip address="20.0.10.200" monitor_link="1"/> @@ -376,8 +379,6 @@ This example assumes a 3 node cluster, with nodes named node1, node2 and node3. <ip ref="20.0.20.200"/> </service> </rm> - <fencedevices/> - <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/> </cluster> ]]> </programlisting> |
