[rabbitmq-discuss] Running 2 instances (not clustered) in same machine

Tim Watson tim at rabbitmq.com
Thu Aug 2 14:49:58 BST 2012


On 08/02/2012 02:36 PM, Tim Watson wrote:
> On 08/02/2012 01:46 PM, Thiago Burgo Belo wrote:
>> Hi all,
>>
>> There is a way to run  2 rabbit instances (not clustered) in same 
>> machine? The VirtualHost is to do this (isolate instances)?
>>
>
> Sure, if what you mean is to have two distinct brokers running on the 
> same machine. Just give them different node names using the 
> RABBITMQ_NODENAME environment variable. Virtual host is not required 
> for this.

Oh yes - you'll want different listening ports as well, and possibly 
won't want to share other things either (mnesia dir, plugins dirs, etc). 
Please see http://www.rabbitmq.com/configure.html for an exhaustive list.

Cheers,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120802/32dd2371/attachment.htm>


More information about the rabbitmq-discuss mailing list