This section discusses the configuration options that are relevant
if Qpid is used as the messaging system for
OpenStack Compute. Qpid is not the default
messaging system, so it must be enabled by setting the
rpc_backend option in
nova.conf.
rpc_backend=nova.rpc.impl_qpid
This next critical option points the compute nodes to the
Qpid broker (server). Set
qpid_hostname in nova.conf to
be the hostname where the broker is running.
![]() | Note |
|---|---|
The - |
qpid_hostname=hostname.example.com
If the Qpid broker is listening on a
port other than the AMQP default of 5672, you will
need to set the qpid_port option:
qpid_port=12345
If you configure the Qpid broker to require authentication, you will need to add a username and password to the configuration:
qpid_username=username
qpid_password=password
By default, TCP is used as the transport. If you would like to
enable SSL, set the qpid_protocol option:
qpid_protocol=ssl
The following table lists the rest of the options used by the Qpid messaging driver for OpenStack Compute. It is not common that these options are used.
| Configuration option | Default | Description |
qpid_sasl_mechanisms |
(Qpid default) |
String value: A space separated list of acceptable SASL mechanisms to use for authentication. |
qpid_reconnect_timeout |
(Qpid default) |
Integer value: The number of seconds to wait before deciding that a reconnect attempt has failed. |
qpid_reconnect_limit |
(Qpid default) |
Integer value: The limit for the number of times to reconnect before considering the connection to be failed. |
qpid_reconnect_interval_min |
(Qpid default) |
Integer value: Minimum number of seconds between connection attempts. |
qpid_reconnect_interval_max |
(Qpid default) |
Integer value: Maximum number of seconds between connection attempts. |
qpid_reconnect_interval |
(Qpid default) |
Integer value: Equivalent to setting
qpid_reconnect_interval_min and
qpid_reconnect_interval_max to the same
value. |
qpid_heartbeat |
5 |
Integer value: Seconds between heartbeat messages sent to ensure that the connection is still alive. |
qpid_tcp_nodelay |
True |
Boolean value: Disable the Nagle algorithm. |

![[Note]](../common/images/admon/note.png)
