rabbitmq users and configure vhost

user

We are on a guest user login through, but the actual work is certainly not to use the account, usually will set up multiple accounts for different business side use.
The following diagram can be seen guest administrator privileges.
Here Insert Picture Description

Add user

I am here as a demonstration, add an admin user, tags (that role) is selected admin (click on the following several options you can).
Here Insert Picture Description
rabbitmq role description:

  • Super Administrator (administrator)
    can be found on the management console, you can view all the information, and can operate on a user policy (policy).
  • Monitoring those (monitoring)
    can be found on the management console, and can view information rabbitmq nodes (number of processes, memory usage, disk usage, etc.)
  • Policy makers (policymaker)
    can be found on the management console, and can manage the policy. But you can not see the node information (section identified on the red box).
  • General manager (management)
    can only be landed Management Console, you can not see the node information, the policy can not be managed.
  • Others
    could not land management console, often it is the producers and consumers.

After the addition is complete:
Here Insert Picture Description
you can see virtual hoststhe display no access. Then the next configurationvirtual hosts

Configuring virtual hosts

I add here called /admin_vhostthe vhost
Here Insert Picture Description
Note:

  • vhost equivalent to the concept of the database in MySQL
  • vhost usually /beginning

Authorized users access vhost

The above new vhost /admin_vhostowner or guest, we need to grant the vhost new admin user.
Click /admin_vhoston the hyperlink, enter the configuration page
Here Insert Picture Description
after setting
Here Insert Picture Description
View user's permissions by user tag:
Here Insert Picture Description
At this point, the user can use to log in again rabbitmq admin console.

Console brief description

Here Insert Picture Description

Published 233 original articles · won praise 211 · views 900 000 +

Guess you like

Origin blog.csdn.net/fgyibupi/article/details/104399289