[Docs] Clarify ceph production example.
There are details that confuse people (like the usage of may), when they are configuring a ceph environment. This should clarify the situation. Change-Id: Ic8b734eabcfa218c687db69290c8b3cef1def7c5
This commit is contained in:
parent
d60c594619
commit
d5773de2a8
@ -112,9 +112,9 @@ customization of Ansible groups. This allows the deployer to set whether
|
|||||||
the services will run in a container (the default), or on the host (on
|
the services will run in a container (the default), or on the host (on
|
||||||
metal).
|
metal).
|
||||||
|
|
||||||
For this environment, the ``cinder-volume`` runs in a container on the
|
For a ceph environment, you can run the ``cinder-volume`` in a container.
|
||||||
infrastructure hosts. To achieve this, implement
|
To do this you will need to create a ``/etc/openstack_deploy/env.d/cinder.yml`` file
|
||||||
``/etc/openstack_deploy/env.d/cinder.yml`` with the following content:
|
with the following content:
|
||||||
|
|
||||||
.. literalinclude:: ../../etc/openstack_deploy/env.d/cinder-volume.yml.container.example
|
.. literalinclude:: ../../etc/openstack_deploy/env.d/cinder-volume.yml.container.example
|
||||||
|
|
||||||
@ -124,8 +124,10 @@ User variables
|
|||||||
The ``/etc/openstack_deploy/user_variables.yml`` file defines the global
|
The ``/etc/openstack_deploy/user_variables.yml`` file defines the global
|
||||||
overrides for the default variables.
|
overrides for the default variables.
|
||||||
|
|
||||||
For this environment, implement the load balancer on the infrastructure
|
For this example environment, we configure a HA load balancer.
|
||||||
hosts. Ensure that keepalived is also configured with HAProxy in
|
We implement the load balancer (HAProxy) with an HA layer (keepalived)
|
||||||
``/etc/openstack_deploy/user_variables.yml`` with the following content.
|
on the infrastructure hosts.
|
||||||
|
Your ``/etc/openstack_deploy/user_variables.yml`` must have the following content
|
||||||
|
to configure haproxy, keepalived and ceph:
|
||||||
|
|
||||||
.. literalinclude:: ../../etc/openstack_deploy/user_variables.yml.prod-ceph.example
|
.. literalinclude:: ../../etc/openstack_deploy/user_variables.yml.prod-ceph.example
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
# This file contains an example of the global variable overrides
|
# Because we have three haproxy nodes, we need
|
||||||
# which may need to be set for a production environment.
|
# to one active LB IP, and we use keepalived for that.
|
||||||
|
|
||||||
## Load Balancer Configuration (haproxy/keepalived)
|
## Load Balancer Configuration (haproxy/keepalived)
|
||||||
haproxy_keepalived_external_vip_cidr: "1.2.3.4/32"
|
haproxy_keepalived_external_vip_cidr: "1.2.3.4/32"
|
||||||
haproxy_keepalived_internal_vip_cidr: "172.29.236.0/22"
|
haproxy_keepalived_internal_vip_cidr: "172.29.236.0/22"
|
||||||
|
Loading…
Reference in New Issue
Block a user