CentOS Stream 9
Sponsored Link

OpenStack Caracal : Configure Ceilometer (Compute Node)2024/08/08

 

Install OpenStack Telemetry Service (Ceilometer).

This example is based on the environment like follows.

------------+--------------------------+--------------------------+------------
            |                          |                          |
        eth0|10.0.0.30             eth0|10.0.0.50             eth0|10.0.0.51
+-----------+-----------+  +-----------+-----------+  +-----------+-----------+
|   [ dlp.srv.world ]   |  | [ network.srv.world ] |  |  [ node01.srv.world ] |
|     (Control Node)    |  |     (Network Node)    |  |     (Compute Node)    |
|                       |  |                       |  |                       |
|  MariaDB    RabbitMQ  |  |      Open vSwitch     |  |        Libvirt        |
|  Memcached  Nginx     |  |     Neutron Server    |  |      Nova Compute     |
|  Keystone   httpd     |  |      OVN-Northd       |  |      Open vSwitch     |
|  Glance     Nova API  |  |  Nginx  iSCSI Target  |  |   OVN Metadata Agent  |
|  Cinder API           |  |     Cinder Volume     |  |     OVN-Controller    |
|                       |  |     Gnocchi httpd     |  |   Ceilometer Compute  |
|                       |  |   Ceilometer Central  |  |                       |
+-----------------------+  +-----------------------+  +-----------------------+

[1] Install Ceilometer service on Compute Node.
# install from Caracal, EPEL, CRB

[root@node01 ~]#
dnf --enablerepo=centos-openstack-caracal,epel,crb -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@dlp.srv.world

[service_credentials]
auth_url = https://dlp.srv.world:5000
memcached_servers = dlp.srv.world:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = ceilometer
password = servicepassword

[root@node01 ~]#
chmod 640 /etc/ceilometer/ceilometer.conf

[root@node01 ~]#
chgrp ceilometer /etc/ceilometer/ceilometer.conf

[root@node01 ~]#
systemctl enable --now openstack-ceilometer-compute

Matched Content