0ee4a3bc74
This adds an initial install of ceilometer to the install guide. This has not been tested. Also adds stub sections for adding agents/setting up notification to things. Change-Id: Ieb154f1412f32279550b0a5a4a0cafc1547b8b61
38 lines
2.1 KiB
XML
38 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<section xml:id="ceilometer-install-glance"
|
|
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">
|
|
<title>Adding the Agent: Image Service</title>
|
|
<procedure>
|
|
<step>
|
|
<para>If you want to be able to retrieve image samples, you need
|
|
to instruct the Image Service to send notifications to the bus
|
|
by editing the <filename>glance-api.conf</filename> file
|
|
changing <literal>notifier_strategy</literal> to
|
|
<literal>rabbit</literal> or <literal>qpid</literal> and
|
|
restarting the <systemitem class="service">glance-api</systemitem> and
|
|
<systemitem class="service">glance-registry</systemitem> services.</para>
|
|
</step>
|
|
<step os="ubuntu;debian">
|
|
<para>We now restart the Image service with its new
|
|
settings.</para>
|
|
<screen><prompt>#</prompt> <userinput>service glance-registry restart</userinput>
|
|
<prompt>#</prompt> <userinput>service glance-api restart</userinput></screen>
|
|
</step>
|
|
|
|
<step os="rhel;fedora;centos;opensuse"><para>Start the <systemitem
|
|
class="service">glance-api</systemitem> and <systemitem
|
|
class="service">glance-registry</systemitem> services and
|
|
configure them to start when the system boots.</para>
|
|
<screen os="rhel;fedora;centos"><prompt>#</prompt> <userinput>service openstack-glance-api start</userinput>
|
|
<prompt>#</prompt> <userinput>service openstack-glance-registry start</userinput>
|
|
<prompt>#</prompt> <userinput>chkconfig openstack-glance-api on</userinput>
|
|
<prompt>#</prompt> <userinput>chkconfig openstack-glance-registry on</userinput></screen>
|
|
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl start openstack-glance-api.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl start openstack-glance-registry.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl enable openstack-glance-api.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl enable openstack-glance-registry.service</userinput></screen></step>
|
|
</procedure>
|
|
</section>
|