[rabbitmq-discuss] Configuring RabbitMQ to support change in hostname
Kapil Goyal
goyalk at vmware.com
Tue Apr 2 19:44:28 BST 2013
So, RabbitMQ does not really support change in hostname at all without
losing existing data. Is that correct?
From: rabbitmq-discuss-bounces at lists.rabbitmq.com
[mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Tim Watson
Sent: Tuesday, April 02, 2013 4:31 AM
To: Discussions about RabbitMQ
Cc: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] Configuring RabbitMQ to support change in
hostname
On 29 Mar 2013, at 23:18, Kapil Goyal <goyalk at vmware.com> wrote:
am thinking of solving it by replacing rabbit at localhost with rabbit@<random
string> before RabbitMQ starts for the first time. Does <random string> have
to be DNS resolvable?
Yes. It needs to be the proper hostname for the node.
From: rabbitmq-discuss-bounces at lists.rabbitmq.com
[mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Dushin
Fred
Sent: Thursday, March 28, 2013 6:44 PM
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] Configuring RabbitMQ to support change in
hostname
See
http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2013-February/025368.html
On Mar 28, 2013, at 4:53 PM, Kapil Goyal <goyalk at vmware.com> wrote:
RabbitMQ creates a new database if hostname is changed (as documented at
<http://www.rabbitmq.com/ec2.html> http://www.rabbitmq.com/ec2.html).
I need to support the hostname change on my RabbitMQ server without
impacting its functioning. Can I accomplish this by setting the NODENAME
environment variable in rabbitmq-env.conf. It seems from rabbitmq-server
script that names of database, logs etc. try to use this variable before
resorting to using hostname. Is this the right approach? Are there any
side-effects to look out for?
Thanks
Kapil Goyal
Sr. MTS
VMware Inc.
_______________________________________________
rabbitmq-discuss mailing list
<mailto: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
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
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/20130402/01a9e433/attachment.htm>
More information about the rabbitmq-discuss
mailing list