OpenStack Pike : Configure Ceilometer#2 (Compute Node)2017/09/27 |
Install OpenStack Telemetry Service (Ceilometer).
This example is based on the emvironment like follows.
------------+---------------------------+---------------------------+------------ | | | eth0|10.0.0.30 eth0|10.0.0.50 eth0|10.0.0.51 +-----------+-----------+ +-----------+-----------+ +-----------+-----------+ | [ Control Node ] | | [ Storage Node ] | | [ Compute Node ] | | | | | | | | MariaDB RabbitMQ | | Open_vSwitch | | Libvirt | | Memcached httpd | | L2_Agent | | Nova_Compute | | Keystone Glance | | L3_Agent | | Open_vSwitch | | Nova_API Cinder_API | | Metadata_Agent | | L2_Agent | | Neutron_Server | | Cinder_Volume | | Ceilometer_Compute | | Metadata_Agent | | Heat_API | | | | Gnocchi | | Heat Engine | | | | Ceilometer_Central | | | | | +-----------------------+ +-----------------------+ +-----------------------+ |
[1] | Install Ceilometer service on Compute. |
[root@node01 ~]# yum --enablerepo=centos-openstack-pike,epel -y install openstack-ceilometer-compute
|
[2] | Configure Ceilometer. |
[root@node01 ~]# mv /etc/ceilometer/ceilometer.conf /etc/ceilometer/ceilometer.conf.org
[root@node01 ~]#
vi /etc/ceilometer/ceilometer.conf # create new
[DEFAULT]
# RabbitMQ connection info
transport_url = rabbit://openstack:password@10.0.0.30
[service_credentials]
auth_uri = http://10.0.0.30:5000/v3
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
chmod 640 /etc/ceilometer/ceilometer.conf [root@node01 ~]# chgrp ceilometer /etc/ceilometer/ceilometer.conf [root@node01 ~]# systemctl start openstack-ceilometer-compute [root@node01 ~]# systemctl enable openstack-ceilometer-compute |
Sponsored Link |