a2d662d600
The XML root element of Docbook XML files should match the following format: <ELEMENT 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="THE_XML_ID_OF_THE_ELEMENT"> Change-Id: I1e0804e2c5021bd78b77483f3156c5b069453555
40 lines
2.2 KiB
XML
40 lines
2.2 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-install-cinder">
|
|
<?dbhtml-stop-chunking?>
|
|
<title>Add the Block Storage service agent for Telemetry</title>
|
|
<procedure>
|
|
<step>
|
|
<para>To retrieve volume samples, you must configure the Block
|
|
Storage service to send notifications to the bus.</para>
|
|
|
|
<para os="debian;ubuntu">Edit <filename>/etc/cinder/cinder.conf</filename>
|
|
and add in the <literal>[DEFAULT]</literal> section on the controller
|
|
and volume nodes:</para>
|
|
<programlisting language="ini" os="debian;ubuntu">control_exchange = cinder
|
|
notification_driver = cinder.openstack.common.notifier.rpc_notifier</programlisting>
|
|
|
|
<para os="opensuse;sles;fedora;rhel;centos">Run the following commands on
|
|
the controller and volume nodes:</para>
|
|
<screen os="opensuse;sles;fedora;rhel;centos"><prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf DEFAULT control_exchange cinder</userinput>
|
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf DEFAULT notification_driver cinder.openstack.common.notifier.rpc_notifier</userinput></screen>
|
|
</step>
|
|
|
|
<step>
|
|
<para>Restart the Block Storage services with their new
|
|
settings.</para>
|
|
<para>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;fedora;centos;sles;opensuse"><prompt>#</prompt> <userinput>service openstack-cinder-api restart</userinput>
|
|
<prompt>#</prompt> <userinput>service openstack-cinder-scheduler restart</userinput></screen>
|
|
<para>On the volume node:</para>
|
|
<screen os="rhel;fedora;centos;sles;opensuse"><prompt>#</prompt> <userinput>service openstack-cinder-volume restart</userinput></screen>
|
|
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service cinder-volume restart</userinput></screen>
|
|
</step>
|
|
</procedure>
|
|
</section>
|