From 936c5d2edb6e86c8752393c94d44217d9047c29b Mon Sep 17 00:00:00 2001 From: Lujin Luo Date: Wed, 6 Apr 2016 08:55:30 +0900 Subject: [PATCH] Fixes indentation miss in Configuring the controller for HA This patch fixed the indentation issues in the Configuring the controller for high availability section of HA guide. Change-Id: I2467878c414acb772b65fdbaa2ac9ececf043d44 --- .../source/controller-ha-galera-manage.rst | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/doc/ha-guide/source/controller-ha-galera-manage.rst b/doc/ha-guide/source/controller-ha-galera-manage.rst index 1c24bb6b..27539b21 100644 --- a/doc/ha-guide/source/controller-ha-galera-manage.rst +++ b/doc/ha-guide/source/controller-ha-galera-manage.rst @@ -175,8 +175,8 @@ strategies: ``SELECT ... FOR UPDATE`` type queries (used, for example, by nova and neutron). This issue is discussed more in the following: - - http://lists.openstack.org/pipermail/openstack-dev/2014-May/035264.html - - http://www.joinfu.com/ + - http://lists.openstack.org/pipermail/openstack-dev/2014-May/035264.html + - http://www.joinfu.com/ Of these options, the second one is highly recommended. Although Galera supports active/active configurations, we recommend active/passive @@ -211,30 +211,30 @@ use the ``clustercheck`` utility to improve health checks. FLUSH PRIVILEGES; - You only need to do this on one cluster node. Galera Cluster - replicates the user to all the others. + You only need to do this on one cluster node. Galera Cluster + replicates the user to all the others. #. Create a configuration file for the HAProxy monitor service, at ``/etc/xinetd.d/galera-monitor``: - .. code-block:: ini + .. code-block:: ini - service galera-monitor { - port = 9200 - disable = no - socket_type = stream - protocol = tcp - wait = no - user = root - group = root - groups = yes - server = /usr/bin/clustercheck - type = UNLISTED - per_source = UNLIMITED - log_on_success = - log_on_failure = HOST - flags = REUSE - } + service galera-monitor { + port = 9200 + disable = no + socket_type = stream + protocol = tcp + wait = no + user = root + group = root + groups = yes + server = /usr/bin/clustercheck + type = UNLISTED + per_source = UNLIMITED + log_on_success = + log_on_failure = HOST + flags = REUSE + } #. Start the ``xinetd`` daemon for ``clustercheck``. For servers that use ``init``, run the following commands: