Installing a Messaging Server
Install the messaging queue server. Typically this is
RabbitMQQpid
but QpidRabbitMQ
and ZeroMQ (0MQ) are also available.
$ sudo apt-get install rabbitmq-server
$ sudo zypper install rabbitmq-server
To install a messaging queue server:
All steps in this procedure require the privileges of the
root user. If you are not logged
in as the root user then either escalate
your privileges using the su command or
prefix each command with sudo, depending on the
configuration of your system.
Install the Qpid message broker and supporting utilities that will
be needed in subsequent procedures.
# yum install qpid-cpp-server memcached openstack-utils
Disable Qpid authentication by setting the value of the
auth configuration key to no
in the /etc/qpidd.conf file.
# echo "auth=no" >> /etc/qpidd.conf
Start the Qpid message broker.
# service qpidd start
Configure the Qpid message broker to start automatically in future.
# chkconfig qpidd on
Configure Nova to use the Qpid message broker for remote procedure
calls by setting the value of the rpc_backend
configuration key in /etc/nova/nova.conf.
# openstack-config --set /etc/nova/nova.conf \
DEFAULT rpc_backend nova.rpc.impl_qpid
Configure Nova to use the Qpid message broker by setting the value of
the qpid_hostname configuration key in
/etc/nova/nova.conf.
# openstack-config --set /etc/nova/nova.conf \
DEFAULT qpid_hostname 127.0.0.1
Replace 127.0.0.1 with the IP address or
host name of your message broker.