Atom feed of this document
 

 Configuration for RabbitMQ

OpenStack Compute uses RabbitMQ by default. This section discusses the configuration options that are relevant when RabbitMQ is used. The rpc_backend option is not required as long as RabbitMQ is the default messaging system. However, if it is included the configuration, it must be set to nova.rpc.impl_kombu.

rpc_backend=nova.rpc.impl_kombu
      

The following tables describe the rest of the options that can be used when RabbitMQ is used as the messaging system. You can configure the messaging communication for different installation scenarios as well as tune RabbitMQ's retries and the size of the RPC thread pool. If you want to monitor notifications through RabbitMQ, you must set the notification_driver option in nova.conf to nova.notifier.rabbit_notifier. The default for sending usage data is 60 seconds plus a randomized 0-60 seconds.

Table 4.10. Description of nova.conf configuration options for Remote Procedure Calls and RabbitMQ Messaging
Configuration option Default Description
rabbit_host localhost IP address; Location of RabbitMQ installation.
rabbit_password guest String value; Password for the RabbitMQ server.
rabbit_port 5672 Integer value; Port where RabbitMQ server is running/listening.
rabbit_userid guest String value; User ID used for RabbitMQ connections.
rabbit_virtual_host / Location of a virtual RabbitMQ installation.
Table 4.11. Description of nova.conf configuration options for Tuning RabbitMQ Messaging
Configuration option Default Description
--rabbit_max_retries 0 Integer value; maximum retries with trying to connect to RabbitMQ(the default of 0 implies an infinite retry count).
rabbit_retry_interval 1 Integer value: RabbitMQ connection retry interval.
rpc_thread_pool_size 1024 Integer value: Size of Remote Procedure Call thread pool.

loading table of contents...