<br><div class="gmail_quote">On Wed, Mar 2, 2011 at 12:25 AM, Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@rabbitmq.com">matthew@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, Mar 01, 2011 at 06:42:06PM -0500, Pendleton, Gordon P wrote:<br>
> I am having trouble figuring out how to configure RabbitMQ to use a value other than the server hostname when naming the database file it uses. I am using amazon ec2 so hostname changes every time an instance is started. Because of this, I need to be able to set the name in a configuration file. I can't find a list of configuration options so can someone tell me how to do this and which configuration file I should be using (I read there are two)?<br>
<br>
<br>
</div>You can set the env var RABBITMQ_NODENAME or set NODENAME in<br>
/etc/rabbitmq/rabbitmq.conf<br>
<br></blockquote><div><br>If you're not doing any clustering and know that you will pretty much only ever use the one instance, your can name it "localhost" and that'll make it run on any machine. It's a bit of a shortcut if you know that you won't be needing any Erlang style distribution anytime soon.<br>
<br>As soon as distributed nodes need to talk, you have to set it up properly.<br></div></div><br>Robby<br><br>