When using Vhost, you may need to perform some management operations, such as viewing basic information or deleting unneeded Vhosts. This article introduces the directions for managing Vhost in the console.
Viewing Vhost Info
2. Select Cluster Management > Vhost in the left sidebar, select region and cluster, then find the target Vhost.
3. Click View User Permission in the Vhost operation bar to see the list of users and permission scope under this Vhost. You can delete no longer required user permissions according to needs.
4. Click the Vhost name to enter the Vhost Basic Information Page. You can view the following information:
Overview: Shows resource usage and message production and consumption under the Vhost. You can understand the overall running state of the Vhost through these metrics. If a distinct increase in message backlog or exceptional fluctuations in production and consumption rate are detected, it indicates potential performance pressure or issues in the cluster. Scale out in time, optimize, or troubleshoot to ensure service stability and availability.
Connection list: Shows the current Vhost connection list information. You can monitor client connection status in real time through this information, check for abnormal connections (such as long-term idle or frequent disconnections), and quickly locate problems.
Modifying Vhost
If you are using an open-source Managed Cluster, you can enable and disable the Trace plugin on the Vhost list page to use the message query capability. The Trace plugin is recommended for low-traffic validation/troubleshooting scenarios and not recommended for sending in a cluster where TPS exceeds 10000. For details, see Message Query. If you are using a Serverless cluster, message query capability is supported by default with no configuration required.
After successful creation, the Vhost name cannot be modified, only its description can be updated. If modifications are needed, follow the steps below:
1. On the Vhost list page, click Edit in the Action column to enter the editing page.
2. Modification description. Click Submit to complete the modification.
Deleting Vhost
Note:
After deletion, all resources under the Vhost (including Exchange, Queue) will be cleared and cannot be restored.
The default Vhost named "/" created when creating a cluster does not support deletion.
To delete the created Vhost, follow the steps below:
1. On the Vhost list page, click Delete in the Action column.
2. In the confirmation dialog for deletion, click Delete to delete the Vhost.