[rabbitmq-discuss] RabbitMQ cluster on a single machine, OSX Lion, Homebrew
brendan at soundcloud.com
Wed Aug 15 17:13:01 BST 2012
Rather than going through with all the *-env.conf shenanigans for
development, I have a reusable bash mess that sets up N* nodes.
It uses ruby foreman (gem install foreman) so I can enjoy colorfully
interleaved rabbit startup output, and then Ctrl-C/SIGTERM to bring down
You'll need this entire directory:
And is runnable via ./dev/run
It looks for *.config files in ./dev, and sets up a node based on the
filename with an incrementing port range and adjusted environment variables
so there should be no clashes.
(So your nodes from the default above, will be rabbit@`hostname` and
chinchilla@`hostname`, add more configs as needed).
If you're testing clustering, you will need to do all the
rabbitmqctl shenanigans yourself.
On Wed, Aug 15, 2012 at 4:16 PM, Chris Johnson <wchrisjohnson at gmail.com>wrote:
> If that is the case, would it make sense to update the RMQ online docs on
> clustering to mention that as a caveat for Homebrew users? I just spent the
> better part of a couple of DAYS trying to get this working. I kept thinking
> it was user error on my part due to my inexperience with RMQ…
> I've updated the config file.
> From: "Gavin M. Roy" <gmr at meetme.com>
> Reply-To: Discussions about RabbitMQ <rabbitmq-discuss at lists.rabbitmq.com>
> Date: Wednesday, August 15, 2012 10:08 AM
> To: Discussions about RabbitMQ <rabbitmq-discuss at lists.rabbitmq.com>
> Subject: Re: [rabbitmq-discuss] RabbitMQ cluster on a single machine, OSX
> Lion, Homebrew
> On Wed, Aug 15, 2012 at 10:01 AM, Chris Johnson <wchrisjohnson at gmail.com>wrote:
> Good catch. I will either file a ticket for
>> the homebrew change or just submit a pull request and make the change
> Update the rabbitmq-env.conf file with the node info you want to use. The
> behavior of setting a default host in brew for RabbitMQ came out of a
> compromise with the brew formula maintainers who did not want users to have
> to use sudo to install RabbitMQ to insure it could start up. I can dig up
> the pull request discussion if people are interested.
> _______________________________________________ rabbitmq-discuss mailing
> list rabbitmq-discuss at lists.rabbitmq.com
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss