openstack-manuals/doc/install-guide-rst/source/ceilometer-cinder.rst
KATO Tomoyuki eb87e3a28e [install-guide] convert ceilometer config to RST
* section_ceilometer-nova.xml
* section_ceilometer-glance.xml
* section_ceilometer-cinder.xml
* section_ceilometer-swift.xml

Change-Id: I8f0e3e6763db72c793aa40209f892adb04b8e222
Implements: blueprint installguide-liberty
2015-07-13 22:57:49 +09:00

1.6 KiB

Configure the Block Storage service

To retrieve volume-oriented events and samples, you must configure the Block Storage service to send notifications to the message bus. Perform these steps on the controller and storage nodes.

To configure prerequisites

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

  1. In the [DEFAULT] section, configure notifications:

    [DEFAULT]
    ...
    control_exchange = cinder
    notification_driver = messagingv2</programlisting>

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

  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 to retrieve meters on demand. For more information, see Block Storage audit script setup to get notifications <http://docs.openstack.org/ admin-guide-cloud/content/section_telemetry-cinder-audit-script.html>__.