Merge "Adds missing steps to High Availability Guide."

This commit is contained in:
Jenkins 2017-01-29 05:16:36 +00:00 committed by Gerrit Code Review
commit 614555a810
2 changed files with 17 additions and 1 deletions

View File

@ -207,6 +207,20 @@ Configuring HAProxy
.. TODO: explain why the Telemetry API is so special
#. Configure the kernel parameter to allow non-local IP binding. This allows
running HAProxy instances to bind to a VIP for failover. Add following line
to ``/etc/sysctl.conf``:
.. code-block:: none
net.ipv4.ip_nonlocal_bind = 1
#. Restart the host or, to make changes work immediately, invoke:
.. code-block:: console
$ sysctl -p
#. Add HAProxy to the cluster and ensure the VIPs can only run on machines
where HAProxy is active:

View File

@ -99,13 +99,15 @@ Set up the cluster with pcs
The ``-p`` option is used to give the password on command
line and makes it easier to script.
#. Create and name the cluster, and then start it:
#. Create and name the cluster. Then, start it and enable all components to
auto-start at boot time:
.. code-block:: console
$ pcs cluster setup --force --name my-first-openstack-cluster \
controller1 controller2 controller3
$ pcs cluster start --all
$ pcs cluster enable --all
.. note ::