[rabbitmq-discuss] problem in starting multi nodes in same management plugin 55672

Matthias Radestock matthias at rabbitmq.com
Fri May 17 09:38:46 BST 2013


On 17/05/13 09:17, Tim Watson wrote:
> On 17 May 2013, at 05:57, "PONMUTHU M" <ponmuthu at omnesysindia.com>
> wrote:
>
>> Among 10 nodes , I want 5 nodes only management plugin with
>> different port . another 5 not required means how can I disable
>> while starting that node ?

Are these nodes clustered or not?

The management plug-in will report on all nodes in a cluster, assuming 
the rabbitmq-management-agent plug-in is enabled on them, but it cannot 
report on nodes across different clusters.

> You can't get management to ignore any nodes in the cluster, but it
> will only start on the nodes where you've explicitly configured it to
> do so.

The OP is running multiple nodes on a single machine. The default 
'enabled plugins' file location is 
${install_prefix}/etc/rabbitmq/enabled_plugins, which means it is 
*shared* between all nodes on that machine. The same goes for the 
rabbitmq.config file. So it's not immediately obvious how one would go 
about enabling/disabling the management plug-in for specific nodes in 
such a setup, or configure different ports for it.

One could possibly make the file locations node specific by construction 
a rabbitmq-env.conf file that sets CONFIG_FILE/ENABLED_PLUGINS_FILE 
based on the node name.


Matthias.


More information about the rabbitmq-discuss mailing list