Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

OpenStack practice (7): RabbitMQ Monitoring

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Environment description:

Hostnam

Operating system version

IP address

Description

Openstack-controllerUbuntu 16.04.5172.27.34.37openstack control node, where the rabbitmq service is located

For details of ubuntu installation, please see the full record of Ubuntu16.04.5 installation in lvm mode.

For more information on openstack installation, please see: OpenStack practice (1): build p version of OpenStack by DevStack under Ubuntu16.04

RabbitMQ is a message broker, the core principle: send messages, receive messages. RabbitMQ is mainly used for decoupling between components, and the message sender does not need to know the existence of the message consumer, and vice versa. RabbitMQ is used by almost all modules in OpenStack.

RabbitMQ can be managed through HTTP-based API, browser-based UI and CLI. This article introduces the most intuitive way: browser-based UI

1. Add user

Root@openstack-controller:~# rabbitmqctl add_user admin adminCreating user "admin"...

two。 Set the user role to administrator

Root@openstack-controller:~# rabbitmqctl set_user_tags admin administratorSetting tags for user "admin" to [administrator]...

3. Permission setting

Root@openstack-controller:~# rabbitmqctl set_permissions-p / admin ". *" Setting permissions for user "admin" in vhost "/".

4. Install the RabbitMQWeb Management snap-in

Root@openstack-controller:~# rabbitmq-plugins enable rabbitmq_managementThe following plugins have been enabled: mochiweb webmachine rabbitmq_web_dispatch amqp_client rabbitmq_management_agent rabbitmq_managementApplying plugin configuration to rabbit@openstack-controller... Started 6 plugins.

5. Plug-in View

Root@openstack-controller:~# rabbitmq-plugins list

6. Log in to web

Http://172.27.34.37:15672

The login address is http://ip:15672. At this time, Unacked=0 means that there are no unprocessed messages, and the service goes out in a normal state.

Reference:

Https://www.rabbitmq.com/plugins.html#overview

Https://blog.51cto.com/cloudman/1902821

Http://www.cnblogs.com/starof/p/4173413.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report