Enable Block Storage meters

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 [DEFAULT] section, configure notifications:

    [DEFAULT]
    ...
    notification_driver = messagingv2
    

Finalize installation

  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 Cloud Administrator Guide.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.