[rabbitmq-discuss] Error Creating cluster in RabbitMQ on EC2

News Aanad news.anand11 at gmail.com
Mon Aug 8 11:39:45 BST 2011


Thanks for reply Marek Majkowski,
    I have tried with that by setting up the port in erlang with command

        application:set_env(kernel, inet_dist_listen_min, 9100).
	application:set_env(kernel, inet_dist_listen_max, 9105).

and I have also open the port 9100-9105 and also open the port 4369.
But when I am checking  connectivity  by command net_adm:ping(nodename at host).
it gives me repies me as "pang"
Now I am confused that what should be the problem.
Is it mendatory to set it over both the EC2 Instance?


On Mon, Aug 8, 2011 at 3:34 PM, Marek Majkowski <majek04 at gmail.com> wrote:

> On Sat, Aug 6, 2011 at 06:40, News Aanad <news.anand11 at gmail.com> wrote:
> > I have opened all the prot required for rabbitmq clustering i.e.
> 5672,4369.
> > I can also ping the host name of other AMI.
>
> And what about erlang vm port controlled via inet_dist_listen_min and
> inet_dist_listen_max?
> http://www.erlang.org/faq/how_do_i.html#id55256
>
> To check if the connectivity is all right, open an erlang interpreter, type
> > net_adm:ping(nodename at host).
>
> It should print 'pong', see the erlang docs:
> http://www.erlang.org/doc/man/net_adm.html#ping-1
>
> Cheers,
>    Marek
>
> > On Fri, Aug 5, 2011 at 7:59 PM, Marek Majkowski <majek04 at gmail.com>
> wrote:
> >>
> >> On Fri, Aug 5, 2011 at 11:11, News Aanad <news.anand11 at gmail.com>
> wrote:
> >> > I want to create a cluster of RabbitMQ on EC2. I have created an AMI
> of
> >> > Ubantu and install the rabbitmq-server-2.3.1 on it. I have also
> >> > installed
> >> > the management plugins for GUI. For cluster purpose I have also copied
> >> > the
> >> > .erlang.cookie file in another node. My ploblem is when I am trying to
> >> > connect with another node it gives me following error:
> >> >
> >> > Error: {failed_to_cluster_with,['rabbit at ip-10-58-54-170'], "Mnesia
> could
> >> > not
> >> > connect to some nodes."}
> >> >
> >> > Anybody has any idea why it is happening?
> >>
> >> Isn't that a firewall issue?
> >>
> >> Cheers,
> >>   Marek
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110808/4c45d0d5/attachment.htm>


More information about the rabbitmq-discuss mailing list