Ceilometer installation fixes

- MongoDB must be configured to accept connections on the public
  interface of the controller on (Open)SUSE and Debian/Ubuntu
- Fix wrong section name for the metering_key setting

Change-Id: I98a0278c08d40faa6f5f0a8c44f28bd17b274b32
backport: havana
This commit is contained in:
Gauvain Pocentek 2013-11-11 07:33:18 +01:00
parent 9990235975
commit 65f4b44b36

View File

@ -34,6 +34,16 @@
<screen os="opensuse;sles"><prompt>#</prompt> <userinput>zypper install mongodb</userinput></screen>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install mongodb</userinput></screen>
</step>
<step os="ubuntu;debian;sles;opensuse">
<para>Configure MongoDB to make it listen on the controller public IP
address. Edit the <filename>/etc/mongodb.conf</filename> file and modify the
<literal>bind_ip</literal> key:</para>
<programlisting language="ini">bind_ip = 192.168.0.10</programlisting>
</step>
<step os="debian;ubuntu">
<para>Restart the MongoDB service to apply the configuration change:</para>
<screen><prompt>#</prompt> <userinput>service mongodb restart</userinput></screen>
</step>
<step os="rhel;centos;fedora;opensuse;sles">
<para>Start the MongoDB server and configure it to start when
the system boots:</para>
@ -84,7 +94,7 @@ connection = mongodb://ceilometer:<replaceable>CEILOMETER_DBPASS</replaceable>@<
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>openssl rand -hex 10</userinput></screen>
<para os="ubuntu;debian">Edit the
<filename>/etc/ceilometer/ceilometer.conf</filename> file
and change the <literal>[DEFAULT]</literal> section. Replace
and change the <literal>[publisher_rpc]</literal> section. Replace
<replaceable>ADMIN_TOKEN</replaceable> with the results of
the command:</para>
<programlisting os="ubuntu;debian" language="ini">...