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

  1. Install MariaDB:

    # yum install mariadb mariadb-server MySQL-python
    
  2. 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
    
  3. Enable and start the MariaDB service:

    # systemctl enable mariadb.service
    # systemctl start mariadb.service
    
  4. Initialize MariaDB security. Say ‘yes’ to all prompts, and set a good root password:

    # mysql_secure_installation
    
  5. Set up the MySQL client configuration. Replace *MYSQL_ROOT* with your own:

    # vim /root/.my.cnf
    
      [client]
      user=root
      password=*MYSQL_ROOT*
    
  6. Confirm that you are able to connect to MySQL:

    # mysql
    
      > quit
    
  7. Install RabbitMQ:

    # yum install rabbitmq-server
    
  8. Enable and start the RabbitMQ service:

    # systemctl enable rabbitmq-server.service
    # systemctl start rabbitmq-server.service
    
  9. Create the “openstack” RabbitMQ user:

    # rabbitmqctl add_user openstack *RABBIT_PASS*
    # rabbitmqctl set_permissions openstack ".*" ".*" ".*"