RabbitMQ

RabbitMQ is the default message broker used in OpenStack installations. However, if it is installed as is out the box, it can become a single point of failure. Administrators should consider clustering RabbitMQ and activating mirrored queues.

Clustering

You can confirm whether or not your RabbitMQ installation is operating as a cluster by running the cluster status command:

rabbitmqctl cluster_status
Cluster status of node 'rabbit@tc-ost1' ...
[{nodes,[{disc,['rabbit@tc-ost1']}]},
 {running_nodes,['rabbit@tc-ost1']},
 {partitions,[]}]
...done.

In the preceding output, note that in the running_nodes section, there is only one node listed. This is an indication that we are not running clustered RabbitMQ. For details on how to cluster RabbitMQ, ...

Get OpenStack: Building a Cloud Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.