326ff026de
With current OS versions, we can merge the descriptions. Partially implements bp installguide-kilo Change-Id: I8c086b399f295470c8191e54a459013a5d9ddfd4
44 lines
2.1 KiB
XML
44 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="ceilometer-cinder">
|
|
<?dbhtml stop-chunking?>
|
|
<title>Configure the Block Storage service</title>
|
|
<para>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.</para>
|
|
<procedure>
|
|
<title>To configure prerequisites</title>
|
|
<para>Edit the <filename>/etc/cinder/cinder.conf</filename> file
|
|
and complete the following actions:</para>
|
|
<step>
|
|
<para>In the <literal>[DEFAULT]</literal> section, configure
|
|
notifications:</para>
|
|
<programlisting language="ini">[DEFAULT]
|
|
...
|
|
control_exchange = cinder
|
|
notification_driver = messagingv2</programlisting>
|
|
</step>
|
|
<step>
|
|
<para>Restart the Block Storage services on the controller node:</para>
|
|
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service cinder-api restart</userinput>
|
|
<prompt>#</prompt> <userinput>service cinder-scheduler restart</userinput></screen>
|
|
<screen os="rhel;centos;fedora;opensuse;sles"><prompt>#</prompt> <userinput>systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service</userinput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Restart the Block Storage services on the storage nodes:</para>
|
|
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service cinder-volume restart</userinput></screen>
|
|
<screen os="rhel;centos;fedora;opensuse;sles"><prompt>#</prompt> <userinput>systemctl restart openstack-cinder-volume.service</userinput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Use the <command>cinder-volume-usage-audit</command> command to
|
|
retrieve metrics on demand. For more information, see
|
|
<link xlink:href="http://docs.openstack.org/admin-guide-cloud/content/section_telemetry-cinder-audit-script.html"
|
|
><citetitle>Block Storage audit script setup to get notifications</citetitle></link>.</para>
|
|
</step>
|
|
</procedure>
|
|
</section>
|