Installing OpenStack Compute controller services

Before we create a server to run the OpenStack Compute services to run our instances, there are some final services that need be installed on the controller node where the OpenStack Identity and Image services are running. Separating out controller services from the Compute nodes allows us to scale our OpenStack environment resources horizontally in the controller and Compute services.

To do this, we will install some further packages to our controller node that we created in Chapter 1, Keystone – OpenStack Identity Service; Chapter 2, Glance – OpenStack Image Service; and Chapter 3, Neutron - OpenStack Networking, currently running Keystone and Glance. The services are as follows:

  • nova-scheduler: This scheduler picks the server for fulfilling the request to run the instance.
  • nova-api: This is service requests OpenStack to operate the services within it. For example, you make a call to this service to start up a new Nova instance.
  • nova-conductor: This is a new service introduced in the Grizzly release to remove direct database calls by the Compute service.
  • nova-objectstore: This is a file storage service.
  • nova-common: Common Python libraries that underpin all of the OpenStack environment.
  • nova-cert: This is the Nova certificate management service that is used for authentication to Nova.
  • ntp: Network Time Protocol is essential in a multi-node environment; the nodes must have the same time (tolerance is within 5 seconds and outside of this you get unpredictable results).

Getting ready

Ensure that you are logged in to the OpenStack controller node. If you used Vagrant to create this, as described in Chapter 1, Keystone – OpenStack Identity Service, we can access this with the following command:

vagrant ssh controller

How to do it...

Installation of OpenStack under Ubuntu 14.04 is simply achieved using the apt-get tool, as the OpenStack packages are available from the Ubuntu Cloud Archive repositories.

We can install the required packages with the following command:

sudo apt-get update
sudo apt-get install nova-api 
    nova-conductor nova-scheduler nova-objectstore

How it works...

Installation of OpenStack Compute controller packages from the Ubuntu Cloud Archive package repository represents a very straightforward and well-understood way of getting the latest OpenStack onto our Ubuntu server. This adds a greater level of certainty around stability and upgrade paths by not deviating away from the main archives.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset