In some cases, you may want to delete all RabbitMQ resources that were created for your Enterprise installation, for example when noticing odd behavior in the integration and you want to exclude any data corruption.
Because most resources are re-created automatically, it is a matter of deleting the basic components and let Enterprise Server re-create them.
Step 1. Get hold of the Enterprise System ID:
Step 1a. Access the Health Check page.
Step 1. Click Advanced in the Maintenance menu or on the Home page.
Step 2. Click Health Check.
Step 1b. In the menu on the left, choose Config Overview.
Step 1c. Search for Enterprise System ID and copy it or take a note of it.
Step 2. Delete the Virtual Host in RabbitMQ:
Step 2a. Access the RabbitMQ Admin page.
Step 1. Click Integrations in the Maintenance menu or on the Home page.
Step 2. Click RabbitMQ.
Step 3. On the RabbitMQ page, click Admin.
Step 3a. In the menu on the right, choose Virtual Hosts.
Step 3b. Click the Virtual Host that matches the Enterprise System ID of Step 1.
Step 3c. Expand the Delete this vhost section.
Step 3d. Click Delete this virtual host.
The exchanges and queues related to the virtual host are deleted. These resources will be automatically re-created when users log on to Enterprise.
The users related to the virtual host will end up with no access at all. These authorizations will be repaired automatically when these users log on to Enterprise.
Step 4. (Optional, only when the user — as configured in the MESSAGE_QUEUE_CONNECTIONS option of configserver.php — has no access to the root Virtual Host "/" in RabbitMQ. When the user does have access, all RabbitMQ resources will be automatically recreated by Enterprise Server during the log on process). Perform the following steps:
Step 4a. Add a Virtual Host in RabbitMQ for Enterprise Server. For instructions, see Installing and configuring RabbitMQ.
Step 4b. Grant admin rights to the created virtual host. For instructions, see Installing and configuring RabbitMQ.
Step 4c. Log in again to Enterprise Server.
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.