Revision 76f70858 docs/upgrade-0.13.rst

b/docs/upgrade-0.13.rst
221 221

  
222 222
    # cyclades:     UI_USER_CATALOG_URL = 'https://astakos.host/user_catalogs/'
223 223

  
224
- VMAPI needs a **memcached** backend. To install::
224
- Since version 0.13, Synnefo uses **VMAPI** in order to prevent sensitive data
225
  needed by 'snf-image' to be stored in Ganeti configuration (e.g. VM
226
  password). This is achieved by storing all sensitive information to a CACHE
227
  backend and exporting it via VMAPI. The cache entries are invalidated after
228
  the first request. Synnefo uses **memcached** as a django cache backend.
229
  To install::
225 230

  
226 231
        apt-get install memcached
227 232
        apt-get install python-memcache
228 233

  
229 234

  
230
  Set the IP address and port of the memcached deamon::
235
  You will also need to configure Cyclades to use the memcached cache backend.
236
  Namely, you need to set IP address and port of the memcached daemon, and the
237
  default timeout (seconds tha value is stored in the cache)::
238

  
239
    VMAPI_CACHE_BACKEND = "memcached://127.0.0.1:11211/?timeout=3600"
240

  
241

  
242
  Finally, set the BASE_URL for the VMAPI, which is actually the base URL of
243
  Cyclades::
231 244

  
232
    VMAPI_CACHE_BACKEND = "memcached://127.0.0.1:11211"
233 245
    VMAPI_BASE_URL = "https://cyclades.okeanos.grnet.gr/"
234 246

  
235 247
  .. note::
236 248

  
237 249
    - These settings are needed in all Cyclades workers.
238 250

  
251
    - VMAPI_CACHE_BACKEND just overrides django's CACHE_BACKEND setting
252

  
239 253
    - memcached must be reachable from all Cyclades workers.
240 254

  
241 255
    - For more information about configuring django to use memcached:

Also available in: Unified diff