OpenStack Queens : Ceilometer 設定#2 (Compute ノード)2018/06/20 |
OpenStack Telemetry Service (Ceilometer) をインストールします。
当例では以下のような環境を例に Ceilometer サービスをインストールします。
------------+---------------------------+---------------------------+------------ | | | eth0|10.0.0.30 eth0|10.0.0.50 eth0|10.0.0.51 +-----------+-----------+ +-----------+-----------+ +-----------+-----------+ | [ Control Node ] | | [ Network Node ] | | [ Compute Node ] | | | | | | | | MariaDB RabbitMQ | | Linux Bridge | | Libvirt | | Memcached httpd | | L2_Agent | | Nova_Compute | | Keystone Glance | | L3_Agent | | Linux Bridge | | Nova_API Cinder_API | | Metadata_Agent | | L2_Agent | | Neutron_Server | | Cinder_Volume | | Ceilometer_Compute | | Metadata_Agent | | Heat_API | | | | | | Heat Engine | | | | | | Gnocchi httpd | | | | | | Ceilometer_Central | | | +-----------------------+ +-----------------------+ +-----------------------+ |
[1] | Compute ノード へ Ceilometer サービスをインストールします。 |
root@node01:~# apt -y install ceilometer-agent-compute
|
[2] | Ceilometer の基本設定です。 |
root@node01:~# mv /etc/ceilometer/ceilometer.conf /etc/ceilometer/ceilometer.conf.org
root@node01:~#
vi /etc/ceilometer/ceilometer.conf # 新規作成
[DEFAULT]
# RabbitMQ 接続情報
transport_url = rabbit://openstack:password@10.0.0.30
[service_credentials]
auth_url = http://10.0.0.30:5000
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
chmod 640 /etc/ceilometer/ceilometer.conf root@node01:~# chgrp ceilometer /etc/ceilometer/ceilometer.conf root@node01:~# systemctl restart ceilometer-agent-compute root@node01:~# systemctl enable ceilometer-agent-compute |
Sponsored Link |
|