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.
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.
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:
Here are the steps to create a database:
Connect to the database server as root user using the following command:
mysql -u root –p
Create a new database named
cinder
using the following command:CREATE...