Book Image

Troubleshooting Ubuntu Server

By : Skanda Bhargav
Book Image

Troubleshooting Ubuntu Server

By: Skanda Bhargav

Overview of this book

Table of Contents (16 chapters)
Troubleshooting Ubuntu Server
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

The Block Storage service


The Block Storage service is responsible for providing block storage devices to various instances. The API and scheduler services run on the controller node, whereas the services for storing volumes run on the storage node.

Block Storage helps with adding persistent storage to virtual machines, and also manages volume snapshots and volume types.

Installing and configuring the controller node

In this section, we will discuss installing the Block Storage service on the controller node. The Block Storage service needs an additional storage node running, which helps with volumes for the instances.

Configuring the prerequisites

We need to create database, credentials, and the API endpoints so that we can install and configure the Block Storage service. The steps are as follows:

  1. Here are the steps to create a database:

    1. Connect to the database server as root user using the following command:

      mysql -u root –p
      
    2. Create a new database named cinder using the following command:

      CREATE...