| 1 |
Enable Block Storage meters for Red Hat Enterprise Linux and CentOS |
| 2 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 |
|
| 4 |
Telemetry uses notifications to collect Block Storage service meters. |
| 5 |
Perform these steps on the controller and Block Storage nodes. |
| 6 |
|
| 7 |
.. note:: |
| 8 |
|
| 9 |
Your environment must include the Block Storage service. |
| 10 |
|
| 11 |
Configure Cinder to use Telemetry |
| 12 |
--------------------------------- |
| 13 |
|
| 14 |
Edit the ``/etc/cinder/cinder.conf`` file and complete the |
| 15 |
following actions: |
| 16 |
|
| 17 |
* In the ``[oslo_messaging_notifications]`` section, configure notifications: |
| 18 |
|
| 19 |
.. code-block:: ini |
| 20 |
|
| 21 |
[oslo_messaging_notifications] |
| 22 |
... |
| 23 |
driver = messagingv2 |
| 24 |
|
| 25 |
.. include:: install-cinder-config-common.inc |
| 26 |
|
| 27 |
Finalize installation |
| 28 |
--------------------- |
| 29 |
|
| 30 |
#. Restart the Block Storage services on the controller node: |
| 31 |
|
| 32 |
.. code-block:: console |
| 33 |
|
| 34 |
# systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service |
| 35 |
|
| 36 |
#. Restart the Block Storage services on the storage nodes: |
| 37 |
|
| 38 |
.. code-block:: console |
| 39 |
|
| 40 |
# systemctl restart openstack-cinder-volume.service |