Revision 7ca9e930 README.develop

b/README.develop
182 182
   username in settings.py. Several functional conventions within the system
183 183
   require this variable to include a dash at its end (e.g. snf-)
184 184

  
185
8. Specify a new queue to receive ganeti events, based on the specified
186
   BACKEND_PREFIX_ID. Something like the following at the end of
187
   settings.py should do the trick.
188

  
189
   DB_HANDLER_KEY = 'ganeti.%s.#' % BACKEND_PREFIX_ID.split('-')[0]
190
   BINDINGS[0] = ("events-%s" % BACKEND_PREFIX_ID.split('-')[0], EXCHANGE_GANETI,  DB_HANDLER_KEY, 'update_db')
191
   QUEUES += ("events-%s" % BACKEND_PREFIX_ID.split('-')[0], )
185
8. Fix the AMQP-specific settings based on the selected BACKEND_PREFIX_ID.
186
   The fix_amqp_settings() function is called once at the end of
187
   settings.py.dist, you must call it again if you change BACKEND_PREFIX_ID
188
   at some later point.
192 189

  
193 190
9. Start the system
194 191
    $ ./bin/python logic/dispatcher.py  # DB synch daemon

Also available in: Unified diff