openstack-manuals/doc/install-guide/source/ceilometer-cinder.rst
chenqiaomin 507c190c97 [Admin-guide]Correct the wrong title for cleanup
There should be 'OpenStack Administrator Guide' for the title,
not 'Administrator Guide'.

Change-Id: Ia53fe2c159ea697abd50169966cd7a68f4c18f8d
Closes-Bug: #1584810
2016-05-23 23:46:51 +00:00

1.6 KiB

Enable Block Storage meters

Telemetry uses notifications to collect Block Storage service meters. Perform these steps on the controller and Block Storage nodes.

Note

Your environment must include the Block Storage service.

Configure Cinder to use Telemetry

Edit the /etc/cinder/cinder.conf file and complete the following actions:

  • In the [oslo_messaging_notifications] section, configure notifications:

    [oslo_messaging_notifications]
    ...
    driver = messagingv2

Finalize installation

obs or rdo

  1. Restart the Block Storage services on the controller node:

    # systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service
  2. Restart the Block Storage services on the storage nodes:

    # systemctl restart openstack-cinder-volume.service

ubuntu or debian

  1. Restart the Block Storage services on the controller node:

    # service cinder-api restart
    # service cinder-scheduler restart
  2. Restart the Block Storage services on the storage nodes:

    # service cinder-volume restart
  1. Use the cinder-volume-usage-audit command on Block Storage nodes to retrieve meters on demand. For more information, see the OpenStack Administrator Guide <http://docs.openstack.org/admin-guide/ telemetry-data-collection.html#block-storage-audit-script-setup-to-get- notifications>__.