In order to scale OpenStack effectively, we must move our local database store for OpenStack Image Service to a central, scalable, and more resilient database tier. For this, we will use our MySQL database.
To begin with, ensure you are logged into the server where OpenStack Image Service is installed, and become the root user.
Carry out the following steps:
glancedatabase in our MySQL database server. We do this as follows:
PASSWORD=openstack mysql -uroot -p$PASSWORD -e 'CREATE DATABASE glance;'
glanceuser, with the password
openstackand with privileges to use this database, as follows: