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 database services

OpenStack supports a number of database backends—an internal SQLite database (the default), MySQL, and Postgres. SQLite is used only for testing and is not supported and should not be used in a production environment. Ultimately, the choice of using MySQL or PostgreSQL is down to the experience of the database staff. As discussed at the beginning of this book, we will be using MariaDB.

Getting ready

We will configure our OpenStack controller services to use MariaDB as the database backend, so this needs to be installed prior to configuring our OpenStack Compute environment.


For instructions on setting up MariaDB, follow the recipe on our companion website: To configure MariaDB for high availability, refer to Installing the MariaDB Galera cluster of Chapter 11, Production OpenStack.

If you are not already logged into the OpenStack Controller, ssh into it now.

How to do it...

To use OpenStack Compute (Nova), we first need...