Merge "Clarify keepalived overrides"

This commit is contained in:
Zuul 2017-10-18 19:00:29 +00:00 committed by Gerrit Code Review
commit bba9678e62
1 changed files with 8 additions and 11 deletions

View File

@ -82,9 +82,10 @@ Edit the ``/etc/openstack_deploy/user_variables.yml``:
keepalived_use_latest_stable: True keepalived_use_latest_stable: True
The HAProxy playbook reads the ``vars/configs/keepalived_haproxy.yml`` The HAProxy nodes have group vars applied that define the configuration
variable file and provides content to the keepalived role for of keepalived. This configuration is stored in
keepalived master and backup nodes. ``group_vars/haproxy_all/keepalived.yml``. It contains the variables
needed for the keepalived role (master and backup nodes).
Keepalived pings a public IP address to check its status. The default Keepalived pings a public IP address to check its status. The default
address is ``193.0.14.129``. To change this default, address is ``193.0.14.129``. To change this default,
@ -95,14 +96,10 @@ set the ``keepalived_ping_address`` variable in the
The keepalived test works with IPv4 addresses only. The keepalived test works with IPv4 addresses only.
You can define additional variables to adapt keepalived to your You can adapt keepalived to your environment by either using our override
deployment. Refer to the ``user_variables.yml`` file for mechanisms (per host with userspace ``host_vars``, per group with
more information. Optionally, you can use your own variable file. userspace``group_vars``, or globally using the userspace
For example: ``user_variables.yml`` file)
.. code-block:: yaml
haproxy_keepalived_vars_file: /path/to/myvariablefile.yml
Configuring keepalived ping checks Configuring keepalived ping checks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~