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
This commit is contained in:
Lujin Luo 2016-04-06 08:55:30 +09:00
parent 7303a528f0
commit 936c5d2edb
1 changed files with 21 additions and 21 deletions

View File

@ -175,8 +175,8 @@ strategies:
``SELECT ... FOR UPDATE`` type queries (used, for example, by nova ``SELECT ... FOR UPDATE`` type queries (used, for example, by nova
and neutron). This issue is discussed more in the following: and neutron). This issue is discussed more in the following:
- http://lists.openstack.org/pipermail/openstack-dev/2014-May/035264.html - http://lists.openstack.org/pipermail/openstack-dev/2014-May/035264.html
- http://www.joinfu.com/ - http://www.joinfu.com/
Of these options, the second one is highly recommended. Although Galera Of these options, the second one is highly recommended. Although Galera
supports active/active configurations, we recommend active/passive supports active/active configurations, we recommend active/passive
@ -211,30 +211,30 @@ use the ``clustercheck`` utility to improve health checks.
FLUSH PRIVILEGES; FLUSH PRIVILEGES;
You only need to do this on one cluster node. Galera Cluster You only need to do this on one cluster node. Galera Cluster
replicates the user to all the others. replicates the user to all the others.
#. Create a configuration file for the HAProxy monitor service, at #. Create a configuration file for the HAProxy monitor service, at
``/etc/xinetd.d/galera-monitor``: ``/etc/xinetd.d/galera-monitor``:
.. code-block:: ini .. code-block:: ini
service galera-monitor { service galera-monitor {
port = 9200 port = 9200
disable = no disable = no
socket_type = stream socket_type = stream
protocol = tcp protocol = tcp
wait = no wait = no
user = root user = root
group = root group = root
groups = yes groups = yes
server = /usr/bin/clustercheck server = /usr/bin/clustercheck
type = UNLISTED type = UNLISTED
per_source = UNLIMITED per_source = UNLIMITED
log_on_success = log_on_success =
log_on_failure = HOST log_on_failure = HOST
flags = REUSE flags = REUSE
} }
#. Start the ``xinetd`` daemon for ``clustercheck``. For servers #. Start the ``xinetd`` daemon for ``clustercheck``. For servers
that use ``init``, run the following commands: that use ``init``, run the following commands: