Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a BMS Database

The BMS stores the information in a database. This document uses the MySQL database used by other OpenStack services as the BMS database.

Create an Ironic database on the controller node.

  1. Access the database as the user root.
    1
    mysql -u root -p
    
  2. Create an Ironic database and grant proper access to the database.
    1
    2
    3
    4
    CREATE DATABASE ironic CHARACTER SET utf8;
    GRANT ALL PRIVILEGES ON ironic.* TO 'ironic'@'localhost' IDENTIFIED BY PASSWORD;
    GRANT ALL PRIVILEGES ON ironic.* TO 'ironic'@'%' IDENTIFIED BY PASSWORD;
    exit
    

    In this document, all passwords are represented as PASSWORD. Use the actual password during the operation. Replace the PASSWORD with the password of the Ironic database.