[rabbitmq-discuss] can I set databse name in the configuration file to override default hostname value

Matthew Sackman matthew at rabbitmq.com
Wed Mar 2 00:25:24 GMT 2011


On Tue, Mar 01, 2011 at 06:42:06PM -0500, Pendleton, Gordon P wrote:
> 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)?


You can set the env var RABBITMQ_NODENAME or set NODENAME in
/etc/rabbitmq/rabbitmq.conf

Best wishes,

Matthew


More information about the rabbitmq-discuss mailing list