summaryrefslogtreecommitdiff
path: root/qpid/doc
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-07-11 15:26:28 +0000
committerAlan Conway <aconway@apache.org>2012-07-11 15:26:28 +0000
commiteb16524f0a84674378e66ceadbd30f5994d8da65 (patch)
tree81997deb6242f263ec31988e1d75f6c9b1c75cfd /qpid/doc
parentef316307b867114becafeb2390b02f14e765b33f (diff)
downloadqpid-python-eb16524f0a84674378e66ceadbd30f5994d8da65.tar.gz
QPID-4118: HA does not work with authentication and authorization.
- Updated test framework to use credentials - Updated BrokerReplicator to use HA identity to create configuration - Updated documentation with a HA security section. - Updated qpid-ha to take --sasl-mechanism git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1360227 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc')
-rw-r--r--qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml53
1 files changed, 51 insertions, 2 deletions
diff --git a/qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml b/qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml
index d00464c92c..9fcadbcbe9 100644
--- a/qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml
+++ b/qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml
@@ -221,7 +221,10 @@ under the License.
<para><literal>--ha-mechanism <replaceable>MECH</replaceable></literal></para>
</entry>
<entry>
- Authentication settings used by brokers to connect to each other.
+ Authentication settings used by HA brokers to connect to each other.
+ If you are using authorization
+ (<xref linkend="sect-Messaging_User_Guide-Security-Authorization"/>)
+ then this user must have all permissions.
</entry>
</row>
</tbody>
@@ -630,7 +633,53 @@ NOTE: fencing is not shown, you must configure fencing appropriately for your cl
</section>
</section>
- <section>
+ <section>
+ <title>Security.</title>
+ <para>
+ You can secure your cluster using the authenticiation and authorization features
+ described in <xref linkend="chap-Messaging_User_Guide-Security"/>.
+ </para>
+ <para>
+ Backup brokers connect to the primary broker and subscribe for management
+ events and queue contents. You can specifiy the identity used to connect
+ to the primary with the following options:
+ </para>
+ <table frame="all" id="ha-broker-security-options">
+ <title>Security options for High Availability Messaging Cluster</title>
+ <tgroup align="left" cols="2" colsep="1" rowsep="1">
+ <colspec colname="c1" colwidth="1*"/>
+ <colspec colname="c2" colwidth="3*"/>
+ <thead>
+ <row>
+ <entry align="center" nameend="c2" namest="c1">
+ Security options for High Availability Messaging Cluster
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ <para><literal>--ha-username <replaceable>USER</replaceable></literal></para>
+ <para><literal>--ha-password <replaceable>PASS</replaceable></literal></para>
+ <para><literal>--ha-mechanism <replaceable>MECH</replaceable></literal></para>
+ </entry>
+ <entry>
+ Authentication settings used by HA brokers to connect to each other.
+ If you are using authorization
+ (<xref linkend="sect-Messaging_User_Guide-Security-Authorization"/>)
+ then this user must have all permissions.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>
+ This identity is also used to authorize actions taken on the backup broker to replicate
+ from the primary, for example to create queues or exchanges.
+ </para>
+ </section>
+
+ <section>
<title>Integrating with other Cluster Resource Managers</title>
<para>
To integrate with a different resource manager you must configure it to: