Browse Source

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
Lujin Luo 3 years ago
parent
commit
936c5d2edb
1 changed files with 22 additions and 22 deletions
  1. 22
    22
      doc/ha-guide/source/controller-ha-galera-manage.rst

+ 22
- 22
doc/ha-guide/source/controller-ha-galera-manage.rst View File

@@ -175,8 +175,8 @@ strategies:
175 175
   ``SELECT ... FOR UPDATE`` type queries (used, for example, by nova
176 176
   and neutron). This issue is discussed more in the following:
177 177
 
178
- - http://lists.openstack.org/pipermail/openstack-dev/2014-May/035264.html
179
- - http://www.joinfu.com/
178
+  - http://lists.openstack.org/pipermail/openstack-dev/2014-May/035264.html
179
+  - http://www.joinfu.com/
180 180
 
181 181
 Of these options, the second one is highly recommended. Although Galera
182 182
 supports active/active configurations, we recommend active/passive
@@ -211,30 +211,30 @@ use the ``clustercheck`` utility to improve health checks.
211 211
 
212 212
       FLUSH PRIVILEGES;
213 213
 
214
-  You only need to do this on one cluster node. Galera Cluster
215
-  replicates the user to all the others.
214
+   You only need to do this on one cluster node. Galera Cluster
215
+   replicates the user to all the others.
216 216
 
217 217
 #. Create a configuration file for the HAProxy monitor service, at
218 218
    ``/etc/xinetd.d/galera-monitor``:
219 219
 
220
-  .. code-block:: ini
221
-
222
-     service galera-monitor {
223
-        port = 9200
224
-        disable = no
225
-        socket_type = stream
226
-        protocol = tcp
227
-        wait = no
228
-        user = root
229
-        group = root
230
-        groups = yes
231
-        server = /usr/bin/clustercheck
232
-        type = UNLISTED
233
-        per_source = UNLIMITED
234
-        log_on_success =
235
-        log_on_failure = HOST
236
-        flags = REUSE
237
-     }
220
+   .. code-block:: ini
221
+
222
+      service galera-monitor {
223
+         port = 9200
224
+         disable = no
225
+         socket_type = stream
226
+         protocol = tcp
227
+         wait = no
228
+         user = root
229
+         group = root
230
+         groups = yes
231
+         server = /usr/bin/clustercheck
232
+         type = UNLISTED
233
+         per_source = UNLIMITED
234
+         log_on_success =
235
+         log_on_failure = HOST
236
+         flags = REUSE
237
+      }
238 238
 
239 239
 #. Start the ``xinetd`` daemon for ``clustercheck``. For servers
240 240
    that use ``init``, run the following commands:

Loading…
Cancel
Save