Installing RabbitMQ

OpenStack uses a message broker for components to inner communicate. Red Hat-based operating systems (for example, RHEL, CentOS, and Fedora) can run RabbitMQ or QPID message brokers. Both provide roughly similar performance, but as RabbitMQ is more widely used message broker with OpenStack, we are going use it as a message broker for our OpenStack environment.

How to do it...

  1. Install RabbitMQ from the yum repository:

    Run the following commands on the controller node!

     [root@controller ~]# yum install rabbitmq-server -y
    

    RabbitMQ is written in erlang and will probably bring some erlang dependency packages along.

  2. To start the RabbitMQ Linux services, start a service named rabbitmq-server:
    [root@controller ~]# systemctl start rabbitmq-server.service ...

Get Production Ready OpenStack - Recipes for Successful Environments 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.