Note: The claimed &#39;no clashes&#39; below, doesn&#39;t account for things like the management plugin port ..<br><br><div class="gmail_quote">On Wed, Aug 15, 2012 at 6:13 PM, Brendan Hay <span dir="ltr">&lt;<a href="mailto:brendan@soundcloud.com" target="_blank">brendan@soundcloud.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Rather than going through with all the *-env.conf�shenanigans�for development, I have a reusable bash mess that sets up N* nodes.<div>
It uses ruby foreman (gem install foreman) so I can enjoy colorfully interleaved rabbit startup output, and then Ctrl-C/SIGTERM to bring down the house.</div>
<div><br></div><div>You&#39;ll need this entire directory: <a href="https://github.com/brendanhay/vanguard/tree/master/dev" target="_blank">https://github.com/brendanhay/vanguard/tree/master/dev</a></div><div>And is runnable via ./dev/run</div>

<div><br></div><div>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.</div><div>(So your nodes from the default above, will be rabbit@`hostname` and chinchilla@`hostname`, add more configs as needed).</div>

<div><br></div><div>If you&#39;re testing clustering, you will need to do all the rabbitmqctl�shenanigans�yourself.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">- Brendan</font></span><div>
<div class="h5"><br><br><br><div class="gmail_quote">On Wed, Aug 15, 2012 at 4:16 PM, Chris Johnson <span dir="ltr">&lt;<a href="mailto:wchrisjohnson@gmail.com" target="_blank">wchrisjohnson@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>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�</div>

<div><br></div><div>I&#39;ve updated the config file.</div><div><br></div><div>Chris</div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span> &quot;Gavin M. Roy&quot; &lt;<a href="mailto:gmr@meetme.com" target="_blank">gmr@meetme.com</a>&gt;<br><span style="font-weight:bold">Reply-To: </span> Discussions about RabbitMQ &lt;<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>&gt;<br>

<span style="font-weight:bold">Date: </span> Wednesday, August 15, 2012 10:08 AM<br><span style="font-weight:bold">To: </span> Discussions about RabbitMQ &lt;<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>&gt;<br>

<span style="font-weight:bold">Subject: </span> Re: [rabbitmq-discuss] RabbitMQ cluster on a single machine, OSX Lion, Homebrew<br></div><div><div><div><br></div><br><br><div class="gmail_quote">On Wed, Aug 15, 2012 at 10:01 AM, Chris Johnson <span dir="ltr">&lt;<a href="mailto:wchrisjohnson@gmail.com" target="_blank">wchrisjohnson@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

�</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Good catch. I will either file a ticket for<br>
the homebrew change or just submit a pull request and make the change<br>
myself.</blockquote><div><br></div><div>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.</div>

<div><br></div><div>Gavin</div></div></div></div><div>
_______________________________________________
rabbitmq-discuss mailing list
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a></div></span></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br>