[rabbitmq-discuss] Multiple nodes on single box
tim at rabbitmq.com
Tue Sep 4 17:12:31 BST 2012
And don't copy anything from the mnesia directories. That shouldn't be necessary.
On 4 Sep 2012, at 17:11, Tim Watson wrote:
> Hmn, actually come to think of it I'm probably being a bit over zealous there, as many of those are keyed off the node name. *BUT* you will need to set RABBITMQ_NODENAME and RABBITMQ_NODE_PORT for sure.
> On 4 Sep 2012, at 17:07, Tim Watson wrote:
>> On 2 Sep 2012, at 21:54, Malgorzata wrote:
>>> Hello Steve
>>> I would like to ask you for some help. I tried your approach with reusing
>>> core code to run RabbitMQ on two different ports on the same machine,
>>> however each time I try to start up second server it freezes. I created the
>>> wrappers for my two nodes (node1.sh and node2.sh in home directory)
>>> containing info about distinct Node port and node name and list of
>>> environmental variables pointing to the directory called node1/node2 with
>>> copies of the default content from mnesia as well as the copy of the
>>> /etc/rabbitmq/enabled_plugins file.
>> What environment variables are you setting up in your script? Here's the list that I think you'll need to override:
>> And potentially some others, but that's a good start. Anyway the port is specified in RABBITMQ_NODE_PORT (note that there's another variable for SSL listeners).
>>> What am I doing wrong? Please help. I really would like to make this set up
>>> work... I appreciate any advice you may give me...
>> We'd need to see that startup logs and output of `rabbitmqctl -n <nodename> status` for the nodes to actually diagnose a problem.
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss