The compute node handles connectivity and security groups for instances. With the network node configured, there are some services that need to run our Compute nodes. The services that run our Configuring compute node for Neutron are nova-compute, quantum-ovs-plugin-agent, and openvswitch-server.
Ensure that you are logged on to the compute node in our environment. If you created this using Vagrant, you can issue the following command:
vagrant ssh compute
To configure our OpenStack Compute node, carry out the following steps:
[ Related Article: Tutorial for Advanced Openstack ]
[ Related Article: Is Openstack Popular? ]
The first is to configure the database credentials to point to our MySQL installation:
In a similar way to configuring other OpenStack services, the Neutron services have a paste-in file. Edit /etc/quantum/api-paste.ini to configure Keystone authentication. We add the auth and admin lines to the [filter:authtoken] section:
rabbit_host = 172.16.0.200
[ Related Article: Openstack Interview Questions Professional ]
Configuring our OpenStack Compute node to use Neutron is straightforward. We follow a similar set of initial steps that were conducted on our Network node, which involves installing a number of packages as follows:
Once installed, we also configure the Open vSwitch service running on our Compute node and configure the same integration bridge, br-int.
We utilize the same
/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini file with only one
difference—the local_ip setting is the IP address of the Compute node that we are configuring.
Lastly, we configure /etc/nova/nova.conf— all the important configuration file for our OpenStack Compute services.
The preceding code tells our OpenStack Compute service to use Neutron networking.
The preceding is the address of our Neutron server API (running on our Controller node).
This tells Neutron to utilize the OpenStack identity and authentication service, Keystone.
The name of the service tenant in Keystone.
The username that Neutron uses to authenticate within Keystone.
The password that Neutron uses to authenticate within Keystone.
The address of our Keystone service.
This tells Libvirt to use the OVS Bridge driver.
This is the driver used to create Ethernet devices on our Linux hosts.
This is the driver to use when managing the firewalls.
I am Ruchitha, working as a content writer for MindMajix technologies. My writings focus on the latest technical software, tutorials, and innovations. I am also into research about AI and Neuromarketing. I am a media post-graduate from BCU – Birmingham, UK. Before, my writings focused on business articles on digital marketing and social media. You can connect with me on LinkedIn.