Revision 62c0a9e1 docs/upgrade/upgrade-0.15.rst

b/docs/upgrade/upgrade-0.15.rst
161 161
file in the same way as above.
162 162

  
163 163

  
164
2.5 Stats configuration
165
-----------------------
166

  
167
snf-cyclades-gtools comes with a collectd plugin to collect CPU and network
168
stats for Ganeti VMs and an example collectd configuration. snf-stats-app is a
169
Django (snf-webproject) app that serves the VM stats graphsmm by reading the VM
170
stats (from RRD files) and serves graphs.
171

  
172
To enable / deploy VM stats collecting and snf-stats-app see the relevant
173
documentation in the :ref:`admin guide <admin-guide-stats>`.
174

  
175
If you were using collectd to collect VM stats on Debian squeeze and you are
176
upgrading to Wheezy, you will need to upgrade your RRD files. Follow the
177
instructions on the collectd v4-to-v5 migration `guide
178
<https://collectd.org/wiki/index.php/V4_to_v5_migration_guide>`_.
179
You will proabably just need to run the `migration script
180
<https://collectd.org/wiki/index.php/V4_to_v5_migration_guide#Migration_script>`_
181
provided.
182

  
183
If you were using a previous version of snf-stats-app, you should also make
184
sure to set the ``STATS_BASE_URL`` setting in ``20-snf-stats-app-settings.conf``
185
to match your deployment and change the graph URL settings in
186
``20-snf-cyclades-app-api.conf`` accordingly.
187

  
164 188
v0.15 has also introduced the ``CYCLADES_STATS_SECRET_KEY`` and
165 189
``STATS_SECRET_KEY`` settings. ``CYCLADES_STATS_SECRET_KEY`` in
166 190
``20-snf-cyclades-app-api.conf`` is used by Cyclades to encrypt the instance id

Also available in: Unified diff