Ubuntu 16.04
Sponsored Link

OpenStack Newton : Ceilometer 設定#32016/12/22

 
OpenStack Metering Service(Ceilometer)を設定します。
ここでは以下のような構築済みの環境に Ceilometer を追加インストールして設定します。
                                |
+------------------+            |            +------------------------+
| [ Control Node ] |            |            |    [ Network Node ]    |
|     Keystone     |10.0.0.30   |   10.0.0.50|    DHCP,L3,L2 Agent    |
|      Glance      |------------+------------|     Metadata Agent     |
|     Nova API     |eth0        |        eth0|   Ceilometer Services  |
|  Neutron Server  |            |            |                        |
+------------------+            |            +------------------------+
                            eth0|10.0.0.51
                      +--------------------+
                      |  [ Compute Node ]  |
                      |    Nova Compute    |
                      |      L2 Agent      |
                      | Ceilometer-Compute |
                      +--------------------+

 
ここでは Compute ノードに Ceilometer Compute をインストールして設定します。
[1] Ceilometer Compute 等々をインストールします。
root@node01:~#
apt-get -y install ceilometer-agent-compute python-ceilometer python-ceilometerclient
[2] Ceilometer Compute を設定します。
root@node01:~#
mv /etc/ceilometer/ceilometer.conf /etc/ceilometer/ceilometer.conf.org

root@node01:~#
vi /etc/ceilometer/ceilometer.conf
# 新規作成

[DEFAULT]
rpc_backend = rabbit

# RabbitMQ 接続情報
[oslo_messaging_rabbit]
rabbit_host = 10.0.0.30
rabbit_port = 5672
rabbit_userid = openstack
rabbit_password = password

# Keystone 認証情報
[keystone_authtoken]
auth_uri = http://10.0.0.30:5000
auth_url = http://10.0.0.30:35357
memcached_servers = 10.0.0.30:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = ceilometer
password = servicepassword

# Ceilometer 認証情報
[service_credentials]
auth_url = http://10.0.0.30:5000
project_domain_id = default
user_domain_id = default
auth_type = password
project_name = service
username = ceilometer
password = servicepassword
interface = internalURL
region_name = RegionOne

root@node01:~#
chown ceilometer. /etc/ceilometer/ceilometer.conf

root@node01:~#
chmod 644 /etc/ceilometer/ceilometer.conf

root@node01:~#
systemctl restart ceilometer-agent-compute

関連コンテンツ