더북(TheBook)

알람 서비스

ceilometer 컬렉터가 활성화 데이터를 수집할 수 있도록 이미지 서비스, 컴퓨트 서비스, 블록 스토리지 서비스, 오브젝트 서비스를 활성화했습니다. 이제 수집한 서비스의 자원을 얼마나 사용했는지 자원 사용 정책에 따라 자원을 할당한 서비스를 알려 주는 알람 서비스를 살펴보겠습니다.

1. MariaDB에 접속해 aodh 데이터베이스를 생성하고 패스워드의 접근 권한을 설정합니다.

root@controller:~# mysql -u root -popenstack
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 1210
Server version: 10.0.25-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04

Copyright © 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

MariaDB [(none)]> CREATE DATABASE aodh; Query OK, 1 row affected (0.01 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON aodh.* TO ‘aodh’@‘localhost’ IDENTIFIED BY ‘aodhdbpass’; Query OK, 0 rows affected (0.01 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON aodh.* TO ‘aodh’@‘%’ IDENTIFIED BY ‘aodhdbpass’; Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> exit; Bye

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.