Skip to main content

Add a Compute Node

Hands-On Lab

 

Photo of joel

joel

Training Architect

Length

02:00:00

Difficulty

Advanced

Add a Compute Node In this scenario, it has been requested that we expand the OpenStack cloud from a single-node deployment to a two-node cloud with a separate Compute host. Use the answer file provided under /root/ to add the second node to your cluster using the PackStack installer, using the internal network range to add your node.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

Add a Compute node

In this scenario, it has been requested that we expand the OpenStack cloud from a single-node deployment to a two-node cloud with a separate Compute host. Use the answer file provided under /root/ to add the second node to your cluster using the PackStack installer, using the internal network range to add your node.

  • From the controller, drop to root
sudo -i
  • Edit the answers file provided to move compute services from the controller to the provided compute node
CONFIG_COMPUTE_HOSTS=10.0.2.204
  • Under Neutron settings, update CONFIG_NEUTRON_OVS_BRIDGES_COMPUTE= to replicate the br-ex bridge on the new compute1 host
CONFIG_NEUTRON_OVS_BRIDGES_COMPUTE=br-ex
  • update the hosts file on both the controller & compute
10.0.2.203  controller
10.0.2.204  compute1
  • Verify SSH connectivity between both nodes

> Note: It may ask you for a password. Use the password provided for the lab.

ssh compute1 uname -a
  • install openstack using Packstack
packstack --answer-file=/root/answers.yml

Installation can take upwards of 15 minutes to complete depending on system resources & network traffic. For a bit of extra fun, run the packstack installer with the --debug flag for more details on how the installation went!