openstack-ansible/doc/source/install-guide/ops-addcomputehost.rst
Alexandra 7a82904d61 Docs: Ops section - cleanup
As per discussion in the OSA docs summit session, clean up
of installation guide. This fixes typos, minor RST mark up
changes, and passive voice.

Change-Id: Ibacaabddafee465a05bcb6eec01dd3ef04b33826
2016-05-03 10:54:29 +00:00

1.1 KiB

Home OpenStack-Ansible Installation Guide

Adding a compute host

Use the following procedure to add a compute host to an operational cluster.

  1. Configure the host as a target host. See Chapter 3, *Target hosts* for more information.

  2. Edit the /etc/openstack_deploy/openstack_user_config.yml file and add the host to the compute_hosts stanza.

    If necessary, also modify the used_ips stanza.

  3. If the cluster is utilizing Telemetry/Metering (Ceilometer), edit the /etc/openstack_deploy/conf.d/ceilometer.yml file and add the host to the metering-compute_hosts stanza.

  4. Run the following commands to add the host. Replace NEW_HOST_NAME with the name of the new host.

    # cd /opt/openstack-ansible/playbooks
    # openstack-ansible setup-hosts.yml --limit NEW_HOST_NAME
    # openstack-ansible setup-openstack.yml --skip-tags nova-key-distribute --limit NEW_HOST_NAME
    # openstack-ansible setup-openstack.yml --tags nova-key --limit compute_hosts