OpenStack Yoga : Ceilometer 設定 (Compute ノード)2022/06/02 |
OpenStack Telemetry Service (Ceilometer) をインストールします。
当例では以下のような環境を例に 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 | | Open vSwitch | | Libvirt | | Memcached httpd | | Neutron Server | | Nova Compute | | Keystone Glance | | OVN-Northd | | Open vSwitch | | Nova API Cinder API | | Cinder Volume | | OVN Metadata Agent | | | | Gnocchi httpd | | OVN-Controller | | | | Ceilometer Central | | Ceilometer Compute | +-----------------------+ +-----------------------+ +-----------------------+ |
[1] | Compute ノード へ Ceilometer サービスをインストールします。 |
[root@node01 ~]# dnf --enablerepo=centos-openstack-yoga,powertools,epel -y install openstack-ceilometer-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
[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
chmod 640 /etc/ceilometer/ceilometer.conf [root@node01 ~]# chgrp ceilometer /etc/ceilometer/ceilometer.conf [root@node01 ~]# systemctl enable --now openstack-ceilometer-compute |
Sponsored Link |