[rabbitmq-discuss] Running 2 instances (not clustered) in same machine
Thiago Burgo Belo
thiagoburgo at gmail.com
Thu Aug 2 16:40:48 BST 2012
Ok, Matthias, I understand (I think =)),
When I create a VirtualHost, are created separate resources like queues,
exchanges etc. but share memory, process etc...I'm right?
Thanks,
Thiago Burgo
2012/8/2 Matthias Radestock <matthias at rabbitmq.com>
> On 02/08/12 14:49, Tim Watson wrote:
>
>> 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<http://www.rabbitmq.com/configure.html>for an exhaustive list.
>>
>
> See also http://www.rabbitmq.com/**clustering.html#single-machine<http://www.rabbitmq.com/clustering.html#single-machine>
>
> And just to be clear, AMQP virtual hosts have absolutely nothing to do
> with that. Their purpose is to create logical partitions of resources
> within a *single* broker.
>
>
> Matthias.
>
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120802/339de0de/attachment.htm>
More information about the rabbitmq-discuss
mailing list