The steps in the later part of the chapter document the installation of OpenStack services, including Keystone, Glance, Nova Compute, and Horizon, on a single controller and compute node. Neutron, the OpenStack Networking service, will be installed in the next chapter.
On the controller node, use
yum
to install the MySQL database server:
# yum -y install mysql mysql-server MySQL-python
Once installed, set the IP address that MySQL will bind to by editing the /etc/my.cnf
configuration file and adding the bind-address
definition. Doing so will allow connectivity to MySQL from other hosts in the environment. The value for bind-address
should be the management IP of the controller node:
# crudini --set /etc/my.cnf mysqld bind-address 10.254.254.100
Start the mysqld
process, and configure it to start at boot:
# service mysqld start # chkconfig mysqld on
The MySQL secure installation utility is used to build the default...