Managing a RabbitMQ cluster

When deploying a large RabbitMQ cluster, the management plugin will impose a sensitive overhead on the cluster operations. In this recipe, we are showing how to relieve this overhead.

Getting ready

In order to experiment this recipe, you need a RabbitMQ cluster with at least two nodes. If they have the management plugin already installed, you need to remove it.

How to do it…

  1. Install the management plugin on one of the nodes using the following command:
    rabbitmq-plugins enable rabbitmq_management
    
  2. Install the management agent plugin on all the other nodes using the following command:
    rabbitmq-plugins enable rabbitmq_management_agent
    

How it works…

After performing these steps, you will be able to monitor the entire cluster ...

Get RabbitMQ Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.