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.

Note

For instructions on setting up MariaDB, follow the recipe on our companion website: http://bit.ly/OpenStackCookbookPreReqs. To configure MariaDB ...

Get OpenStack: Building a Cloud Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.