3. Install core services on controllerΒΆ
This page is based on the following OpenStack Installation Guide pages:
http://docs.openstack.org/liberty/install-guide-rdo/environment-sql-database.html
http://docs.openstack.org/liberty/install-guide-rdo/environment-nosql-database.html
http://docs.openstack.org/liberty/install-guide-rdo/environment-messaging.html
Install MariaDB:
# yum install mariadb mariadb-server MySQL-python
Set some needed MariaDB configuration parameters:
# vim /etc/my.cnf bind-address = 172.16.0.192 default-storage-engine = innodb innodb_file_per_table collation-server = utf8_general_ci init-connect = 'SET NAMES utf8' character-set-server = utf8
Enable and start the MariaDB service:
# systemctl enable mariadb.service # systemctl start mariadb.service
Initialize MariaDB security. Say ‘yes’ to all prompts, and set a good root password:
# mysql_secure_installation
Set up the MySQL client configuration. Replace
*MYSQL_ROOT*
with your own:# vim /root/.my.cnf [client] user=root password=*MYSQL_ROOT*
Confirm that you are able to connect to MySQL:
# mysql > quit
Install RabbitMQ:
# yum install rabbitmq-server
Enable and start the RabbitMQ service:
# systemctl enable rabbitmq-server.service # systemctl start rabbitmq-server.service
Create the “openstack” RabbitMQ user:
# rabbitmqctl add_user openstack *RABBIT_PASS* # rabbitmqctl set_permissions openstack ".*" ".*" ".*"