Ubuntu 24.04
Sponsored Link

OpenStack Caracal : Ceilometer कॉन्फ़िगर करें (गणना नोड)2024/05/23

 

OpenStack टेलीमेट्री सेवा (Ceilometer) स्थापित करें।

यह उदाहरण निम्न प्रकार से पर्यावरण पर आधारित है।

------------+--------------------------+--------------------------+------------
            |                          |                          |
        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  |  |  Neutron L2/L3 Agent  |  |        Libvirt        |
|  Memcached  Nginx     |  |   Neutron Metadata    |  |      Nova Compute     |
|  Keystone   httpd     |  |     Open vSwitch      |  |    Neutron L2 Agent   |
|  Glance     Nova API  |  |     iSCSI Target      |  |      Open vSwitch     |
|  Neutron Server       |  |     Cinder Volume     |  |   Ceilometer Compute  |
|  Neutron Metadata     |  |     httpd  Gnocchi    |  |                       |
|  Cinder API           |  |   Ceilometer Central  |  |                       |
+-----------------------+  +-----------------------+  +-----------------------+

[1] कंप्यूट नोड पर 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@dlp.srv.world:5672

[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 restart ceilometer-agent-compute

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

मिलान सामग्री