Learning OpenStack Networking
上QQ阅读APP看书,第一时间看更新

Installing and configuring the messaging server

Advanced Message Queue Protocol (AMQP) is the messaging technology powering most OpenStack-based clouds. Components such as Nova, Cinder, and Neutron communicate internally and between one another using a message bus. The following are instructions for installing RabbitMQ, an AMQP broker.

On the controller node, install the messaging server:

    # apt install rabbitmq-server

Add a user to RabbitMQ named openstack with a password of rabbit as shown in the following command:

    # rabbitmqctl add_user openstack rabbit 

Set RabbitMQ permissions to allow configuration, read, and write access for the openstack user:

    # rabbitmqctl set_permissions openstack ".*" ".*" ".*"  

At this point, the installation and configuration of RabbitMQ is complete.