[rabbitmq-discuss] rabbitmq cluster using IP

Alexandru Scvorţov alexandru at rabbitmq.com
Mon Sep 19 10:10:15 BST 2011


Hi Bob,

Trying the solution mentioned later in that thread still seems to work.
So, to use IP addresses instead of just hostnames, replace the following
line in rabbitmq-server (it's almost at the bottom of the file)
      -sname ${RABBITMQ_NODENAME} \
with
      -name ${RABBITMQ_NODENAME} \

Then, do the same thing (replace "sname" with "name") in rabbitmqctl.
That's assuming you use Linux.  If you use Windows, you'll need to make
the changes in rabbitmq-server.bat, rabbitmq-service.bat and
rabbitmqctl.bat.

Hope this helps.

Cheers,
Alex


On Fri, Sep 16, 2011 at 12:51:50PM +0200, Bob Claerhout wrote:
> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-December/005644.ht
> ml
> 
> Your solution is not sufficient enough. I prefer not to use any hostnames
> because this is less reliable. In fact, I don't want to use DNS.
> IP is faster and several other functionalities (within my system, e.g.
> creating and booting new VMs automatically) already use IP for
> communication.
> 
> Kind regards,
> 
> Bob
> 
> -----Original Message-----
> From: Alexandru Scvorţov [mailto:scvalex at gmail.com] On Behalf Of Alexandru
> Scvortov
> Sent: vrijdag 16 september 2011 11:49
> To: Bob Claerhout
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] rabbitmq cluster using IP
> 
> Hi,
> 
> > I found a solution to do this but at the end of the discussion it says 
> > that this will be included in the next stable release.
> 
> Link?
> 
> > Since this stable release is already there, it should work.
> > However, this does not work here.
> 
> The normal way of doing this is to add the IPs to your hosts file (or to
> make the hostnames resolve to the IPs somehow: there are a bunch of
> easy-to-configure lightweight DNS servers available).
> 
> Cheers,
> Alex
> 
> 
> On Fri, Sep 16, 2011 at 11:31:17AM +0200, Bob Claerhout wrote:
> > Hi all,
> > 
> >  
> > 
> > I want to use the cluster using IP instead of a hostname.
> > 
> > I found a solution to do this but at the end of the discussion it says 
> > that this will be included in the next stable release.
> > 
> > Since this stable release is already there, it should work.
> > 
> > However, this does not work here.
> > 
> > Any suggestions?
> > 
> >  
> > 
> > Kind regards
> > 
> > Bob Claerhout
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> 
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > 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


More information about the rabbitmq-discuss mailing list