더북(TheBook)

설치 및 환경설정

Heat는 컨트롤러 노드에 설치하며, REST API를 제공하는 heat-api, AWS CloudFormation과 호환하는 heat-api-cnf, 실제로 템플릿에 있는 내용을 실행하는 heat-engine으로 구성됩니다. 다른 서비스와 마찬가지로 데이터베이스를 만들고 Keystone에 테넌트, 사용자, 엔드포인트 URL을 생성합니다.


1. 먼저 MySQL에 접속한 후 Heat 데이터베이스를 생성합니다. 그리고 Heat 데이터베이스에 접근할 수 있도록 사용자 계정과 접근 권한을 설정합니다.

root@controller:~# mysql -u root -popenstack
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 85
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 heat; Query OK, 1 row affected (0.01 sec)

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

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

MariaDB [(none)]> exit; Bye

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