Telemetri menggunakan kombinasi pemberitahuan dan agen untuk mengumpulkan meter Compute. Lakukanlah langkah ini pada setiap node komputasi.
Instal paket:
# zypper install openstack-ceilometer-agent-compute
Editlah file /etc/ceilometer/ceilometer.conf dan selesaikanlah tindakan berikut:
Dalam bagian ``[DEFAULT] `` dan `` [oslo_messaging_rabbit] ``, konfigurlah akses antrian pesan (message queue) “RabbitMQ”:
[DEFAULT]
...
rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
Ganti `` RABBIT_PASS`` dengan password yang Anda pilih akun openstack di RabbitMQ.
Dalam bagian ``[DEFAULT] `` dan ``[keystone_authtoken] ``, konfigurlah akses layanan Identity:
[DEFAULT]
...
auth_strategy = keystone
[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = ceilometer
password = CEILOMETER_PASS
Gantilah CEILOMETER_PASS dengan password yang Anda pilih untuk database layanan Telemetry.
Dalam bagian [service_credentials], konfigurlah kredensial layanan:
[service_credentials]
...
auth_type = password
auth_url = http://controller:5000/v3
project_domain_name = default
user_domain_name = default
project_name = service
username = ceilometer
password = CEILOMETER_PASS
interface = internalURL
region_name = RegionOne
Gantilah CEILOMETER_PASS dengan password yang Anda pilih untuk user ceilometer dalam pelayanan Identity.
Mulailah agen dan mengkonfigurasinya untuk memulai saat booting:
# systemctl enable openstack-ceilometer-agent-compute.service
# systemctl start openstack-ceilometer-agent-compute.service
Restart layanan Compute:
# systemctl restart openstack-nova-compute.service
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.