Book Image

OpenStack Cloud Computing Cookbook

By : Egle Sigler, Kevin Jackson, Cody Bunch
Book Image

OpenStack Cloud Computing Cookbook

By: Egle Sigler, Kevin Jackson, Cody Bunch

Overview of this book

Table of Contents (19 chapters)
OpenStack Cloud Computing Cookbook Third Edition
About the Authors
About the Reviewers

Configuring Cinder-volume services

In this recipe, we will configure an additional server running Ubuntu 14.04 LTS to host the volumes, and we'll explore the prerequisites of Cinder-volume when it comes to attaching volumes to our instances.

Getting ready

To use Cinder volumes, you will need to have an additional host running Ubuntu 14.04 LTS. This host will be configured to provide a loopback filesystem on which we will build the LVM volumes and install the required services for Cinder.

If you are using the Vagrant environment that accompanies this book, be sure to login to the cinder node with the following commands:

vagrant up cinder
vagrant ssh cinder

The terms OpenStack Block Storage and Cinder will be used interchangeably in this chapter.

How to do it...

First, we will set up a loopback filesystem and set up LVM appropriately. After that, we will install and configure prerequisites such as open-iscsi. Finally, we will configure Cinder.

To configure your new host for cinder-volume, perform...