Merge "Doc config-download with deployed-server"

This commit is contained in:
Zuul 2018-04-23 14:14:50 +00:00 committed by Gerrit Code Review
commit 887dd78132
2 changed files with 44 additions and 0 deletions

View File

@ -1,3 +1,5 @@
.. _config_download:
Deploying with Ansible
======================
@ -95,6 +97,25 @@ When successful, the end of the output will look like the following example::
Review the ``PLAY RECAP`` which will show each host that is part of the
Overcloud and the grouped count of each task status.
config-download with deployed-server
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When using ``config-download`` with :doc:`deployed-server <deployed_server>`
(pre-provisioned nodes), a ``HostnameMap`` parameter must be provided. Create
an environment file to define the parameter, and assign the node hostnames in
the parameter value. The following example shows a sample value::
parameter_defaults:
HostnameMap:
overcloud-controller-0: controller-00-rack01
overcloud-controller-1: controller-01-rack02
overcloud-controller-2: controller-02-rack03
overcloud-novacompute-0: compute-00-rack01
overcloud-novacompute-1: compute-01-rack01
overcloud-novacompute-2: compute-02-rack01
Write the contents to an environment file such as ``hostnamemap.yaml``, and
pass it the environment as part of the deployment command.
ansible-playbook execution
--------------------------
There are 2 methods to execute the ansible-playbook command to apply the

View File

@ -1,3 +1,5 @@
.. _deployed_server:
Using Already Deployed Servers
==============================
@ -253,6 +255,27 @@ data for that server resource. These values should match the container and
object names as described in the
:ref:`pre-configuring-metadata-agent-configuration` section.
deployed-server with config-download
____________________________________
When using :doc:`config-download <ansible_config_download>` with
``deployed-server`` (pre-provisioned nodes), a ``HostnameMap`` parameter must
be provided. Create an environment file to define the parameter, and assign the
node hostnames in the parameter value. The following example shows a sample
value::
parameter_defaults:
HostnameMap:
overcloud-controller-0: controller-00-rack01
overcloud-controller-1: controller-01-rack02
overcloud-controller-2: controller-02-rack03
overcloud-novacompute-0: compute-00-rack01
overcloud-novacompute-1: compute-01-rack01
overcloud-novacompute-2: compute-02-rack01
Write the contents to an environment file such as ``hostnamemap.yaml``, and
pass it the environment as part of the deployment command.
Network Configuration
_____________________