In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In-depth understanding of the AMQP protocol: https://blog.csdn.net/weixin_37641832/article/details/83270778
Virtual host
Each Rabbit can create a lot of vhost, which we call virtual hosts. Each virtual host is actually a mini version of RabbitMQ, with its own queues, switches and bindings, and its own permission mechanism.
Vhost features:
RabbitMQ default vhost is "/" out of the box; multiple vhost are isolated, multiple vhost cannot communicate, and do not have to worry about naming conflicts (queues and switches and bindings), achieving multi-layer separation; vhost must be specified when creating users List all virtual hosts: rabbitmqctl list_vhosts list all permissions on the virtual host: rabbitmqctl list_permissions-p [vhost_name] create virtual host: rabbitmqctl add_vhost [vhost_name] delete virtual host: rabbitmqctl delete_vhost [vhost_name] user management add user: rabbitmqctl add_user username password list all users: rabbitmqctl list_users delete user: rabbitmqctl delete_user username clear user right: rabbitmqctl clear_permissions-p vhostpath Username lists user permissions: rabbitmqctl list_user_permissions username modify password: rabbitmqctl change_password username newpassword set user permissions: rabbitmqctl set_permissions-p vhostpath username ". *" Cluster management composition cluster command: rabbitmqctl join_cluster [--ram] View cluster status: rabbitmqctl cluster_status modify the storage form of cluster nodes: rabbitmqctl change_cluster_node_type disc | ram removal node: rabbitmqctl forget_ Cluster_node [--offline] modify node name: rabbitmqctl rename_cluster_node oldnode1 newnode1 [oldnode2 newnode2] remove all data: rabbitmqctl reset (to be used after rabbitmqctl stop_app)
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.