openstack-ansible/doc/source/install-guide/ops-addcomputehost.rst

824 B

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 4, *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. 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-everything.yml \
    rsyslog-config.yml --limit NEW_HOST_NAME