Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to run more than one rabbitmq instance on one machine?

Tags:

rabbitmq

I want to build a RabbitMQ cluster in my dev machine (windows).
reason is that I would like to test and study it.

Is it possible to run more than one rabbitmq instance on one machine?
I am guessing I need to:

  1. Change the listening port
  2. Change the appdata folder (C:\Users\MyUser\AppData\Roaming)
  3. Change the ui plugin port so I can view all instances.
  4. Remove the service and run from cli

Has anyone tried it? Is there a known guide?

like image 475
Bick Avatar asked Jan 30 '14 10:01

Bick


1 Answers

This thread appears to detail what you need. From the thread responses (scroll down):

The following settings are necessary to separate the node runtimes completely, while allowing them to share the installed code base.

RABBITMQ_CONFIG_FILE /etc/rabbitmq/rabbitmq

RABBITMQ_MNESIA_BASE /var/lib/rabbitmq/mnesia

RABBITMQ_LOG_BASE /var/log/rabbitmq

RABBITMQ_ENABLED_PLUGINS_FILE /etc/rabbitmq/enabled_plugins

like image 170
Brian Agnew Avatar answered Sep 28 '22 01:09

Brian Agnew