Show Table of Contents
13.2. Create the Telemetry Alarming Service Database
Create the database and database user used by the Telemetry Alarming service. All steps in this procedure must be performed on the database server, while logged in as the
root user.
Procedure 13.1. Creating the Telemetry Alarming Service Database
- Connect to the database service:
#mysql -u root -p - Create the
aodhdatabase:mysql>CREATE DATABASE aodh; - Create an
aodhdatabase user and grant the user access to theaodhdatabase:mysql>GRANT ALL ON aodh.* TO 'aodh'@'%' IDENTIFIED BY 'AODH_PASSWORD';mysql>GRANT ALL ON aodh.* TO 'aodh'@'localhost' IDENTIFIED BY 'AODH_PASSWORD';Replace AODH_PASSWORD with a secure password that will be used to authenticate with the database server as this user. - Exit the
mysqlclient:mysql>quit
