Merge "Fixes indentation miss in Configuring the controller for HA"
This commit is contained in:
commit
b0b397476d
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue