Skip to content

Commit

Permalink
[Docs] Clarify ceph production example.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
evrardjp authored and spotz committed Nov 28, 2017
1 parent d60c594 commit d5773de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
14 changes: 8 additions & 6 deletions deploy-guide/source/app-config-prod-ceph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
metal).

For this environment, the ``cinder-volume`` runs in a container on the
infrastructure hosts. To achieve this, implement
``/etc/openstack_deploy/env.d/cinder.yml`` with the following content:
For a ceph environment, you can run the ``cinder-volume`` in a container.
To do this you will need to create a ``/etc/openstack_deploy/env.d/cinder.yml`` file
with the following content:

.. literalinclude:: ../../etc/openstack_deploy/env.d/cinder-volume.yml.container.example

Expand All @@ -124,8 +124,10 @@ User variables
The ``/etc/openstack_deploy/user_variables.yml`` file defines the global
overrides for the default variables.

For this environment, implement the load balancer on the infrastructure
hosts. Ensure that keepalived is also configured with HAProxy in
``/etc/openstack_deploy/user_variables.yml`` with the following content.
For this example environment, we configure a HA load balancer.
We implement the load balancer (HAProxy) with an HA layer (keepalived)
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
5 changes: 2 additions & 3 deletions etc/openstack_deploy/user_variables.yml.prod-ceph.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# This file contains an example of the global variable overrides
# which may need to be set for a production environment.

# Because we have three haproxy nodes, we need
# to one active LB IP, and we use keepalived for that.
## Load Balancer Configuration (haproxy/keepalived)
haproxy_keepalived_external_vip_cidr: "1.2.3.4/32"
haproxy_keepalived_internal_vip_cidr: "172.29.236.0/22"
Expand Down

0 comments on commit d5773de

Please sign in to comment.