Block Storage の計測の有効化

Block Storage の計測の有効化

Telemetry は通知を使用して、 Block Storage サービスの計測項目を収集します。コントローラーノードと Block Storage ノードで以下の作業を行います。

注釈

お使いの環境に Block Storage サービスがなければいけません。

Telemetry を使用するための Cinder の設定

/etc/cinder/cinder.conf ファイルを編集し、以下の作業をすべて行います。

  • [oslo_messaging_notifications] セクションに、通知の設定を行います。

    [oslo_messaging_notifications]
    ...
    driver = messagingv2
    

インストールの最終作業

  1. コントローラーノードで Block Storage サービスを再起動します。

    # systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service
    
  2. ストレージノードで Block Storage サービスを再起動します。

    # systemctl restart openstack-cinder-volume.service
    
  1. その場で計測項目を取得するには、 Block Storage ノードで cinder-volume-usage-audit コマンドを使用します。詳しい情報は 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.