Controller — RabbitMQ

Install RabbitMQ

  1. [root@controller ~]# yum install erlang -y
  2. [root@controller ~]# yum install rabbitmq-server -y

Start RabbitMQ Service

  1. [root@controller ~]# systemctl enable rabbitmq-server.service
  2. [root@controller ~]# systemctl restart rabbitmq-server.service
  3. [root@controller ~]# systemctl status rabbitmq-server.service

List RabbitMQ Service

  1. [root@controller ~]# systemctl list-unit-files |grep rabbitmq-server.service
  2. <strong>rabbitmq-server.service enable</strong>

Configure RabbitMQ

  1. [root@controller ~]# rabbitmqctl add_user openstack password
  2. [root@controller ~]# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
  3. [root@controller ~]# rabbitmqctl set_user_tags openstack administrator
  4. [root@controller ~]# rabbitmqctl list_users

Check The Status

  1. [root@controller ~]# netstat -ntlp |grep 5672
  2. tcp 0 0 0.0.0.0:<strong>15672</strong> 0.0.0.0:* LISTEN 1025/beam
  3. tcp 0 0 0.0.0.0:25672 0.0.0.0:* LISTEN 1025/beam
  4. tcp6 0 0 :::5672 :::* LISTEN 1025/beam

List Plugin

  1. [root@controller ~]# /usr/lib/rabbitmq/bin/rabbitmq-plugins list
  2. [E] amqp_client 3.3.5
  3. [ ] cowboy 0.5.0-rmq3.3.5-git4b93c2d
  4. [ ] eldap 3.3.5-gite309de4
  5. [E] mochiweb 2.7.0-rmq3.3.5-git680dba8
  6. [ ] rabbitmq_amqp1_0 3.3.5
  7. [ ] rabbitmq_auth_backend_ldap 3.3.5
  8. [ ] rabbitmq_auth_mechanism_ssl 3.3.5
  9. [ ] rabbitmq_consistent_hash_exchange 3.3.5
  10. [ ] rabbitmq_federation 3.3.5
  11. [ ] rabbitmq_federation_management 3.3.5
  12. [E] rabbitmq_management 3.3.5
  13. [E] rabbitmq_management_agent 3.3.5
  14. [ ] rabbitmq_management_visualiser 3.3.5
  15. [ ] rabbitmq_mqtt 3.3.5
  16. [ ] rabbitmq_shovel 3.3.5
  17. [ ] rabbitmq_shovel_management 3.3.5
  18. [ ] rabbitmq_stomp 3.3.5
  19. [ ] rabbitmq_test 3.3.5
  20. [ ] rabbitmq_tracing 3.3.5
  21. [E] rabbitmq_web_dispatch 3.3.5
  22. [ ] rabbitmq_web_stomp 3.3.5
  23. [ ] rabbitmq_web_stomp_examples 3.3.5
  24. [ ] sockjs 0.3.4-rmq3.3.5-git3132eb9
  25. [E] webmachine 1.10.3-rmq3.3.5-gite9359c7

Enable Plugin

  1. [root@controller ~]# /usr/lib/rabbitmq/bin/rabbitmq-plugins enable rabbitmq_management mochiweb webmachine rabbitmq_web_dispatch amqp_client rabbitmq_management_agent

Restart RabbitMQ Service

  1. [root@controller ~]# systemctl restart rabbitmq-server

Now, Take the Browser

http://9.1.1.61:15672

 

username/password :

guest/guest
openstack/password

Leave a Reply

Your email address will not be published. Required fields are marked *