[rabbitmq-discuss] Cluster Setup

mrajkovic milan at m-i.com.au
Wed Jul 18 15:13:54 BST 2012


root at mf-01:~# cat /etc/hosts
127.0.0.1       localhost
119.31.227.103  mf-01.cloud.m-i.com.au
119.31.227.106  mf-02.cloud.m-i.com.au  mf-02
127.0.0.1       mf-01

root at mf-02:~# cat /etc/hosts
127.0.0.1       localhost
119.31.227.103  mf-01.vic.cloud.m-i.com.au      mf-01
119.31.227.106  mf-02.cloud.m-i.com.au
127.0.0.1       mf-02


From: Tim Watson-6 [via RabbitMQ] [mailto:ml-node+s1065348n20879h0 at n5.nabble.com]
Sent: Thursday, 19 July 2012 12:05 AM
To: Milan Rajkovic
Subject: Re: Cluster Setup

On 18 Jul 2012, at 14:12, mrajkovic wrote:

> Hi Matthias,
>
> I did a netstat -p -l and i got the following:-
>
>
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> PID/Program name
> tcp        0      0 127.0.0.1:4369          0.0.0.0:*               LISTEN
> 1872/epmd
>

How exactly did you run netstat to get this? You might something like *:epmd *:* LISTEN when running on Linux and something quite different on BSD (and derivatives like Darwin) so it'd help to know what OS/version you're running on that machine.

> i'm not sure why it is only listening on 127.0.0.1 ...
>

I wouldn't be too concerned about that. For example, on two machines I'm running iske and frigg, I get:

+++++

t4 at iske $ netstat | grep LISTEN
t4 at iske $ netstat | grep epmd
tcp4       0      0  localhost.62696        localhost.epmd         CLOSE_WAIT

+++++

t4 at frigg:~ $ telnet iske 4369
Trying 10.20.218.219...
Connected to iske.
Escape character is '^]'.

+++++

t4 at iske $ netstat | grep epmd
tcp4       0      0  10.20.xxx.219.epmd     10.20.xxx.230.52475    ESTABLISHED
tcp4       0      0  localhost.62696        localhost.epmd         CLOSE_WAIT

+++++

Can you telnet similarly between machines? If not then you've almost certainly got either firewall/iptables configuration getting in the way, or the network configuration on mf-01 isn't quite right. What OS is that machine running and what does it's /etc/hosts configuration look like? Erlang sometimes needs a bit of convincing to get machines talking to each other, depending on the OS and network config.

> Any ideas?
>
> --
> View this message in context: http://rabbitmq.1065348.n5.nabble.com/Cluster-Setup-tp20805p20878.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=20879&i=0>
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

_______________________________________________
rabbitmq-discuss mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=20879&i=1>
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

________________________________
If you reply to this email, your message will be added to the discussion below:
http://rabbitmq.1065348.n5.nabble.com/Cluster-Setup-tp20805p20879.html
To unsubscribe from Cluster Setup, click here<http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20805&code=bWlsYW5AbS1pLmNvbS5hdXwyMDgwNXwtNTM2MTU2Mjk=>.
NAML<http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

--
This message has been scanned for viruses and dangerous content by Milan Industries Cloud Email Security<http://www.m-i.com.au>

-- 
This message has been scanned for viruses and dangerous content by Milan Industries Cloud Email Security



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Cluster-Setup-tp20805p20880.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120718/ab1f7aa6/attachment.htm>


More information about the rabbitmq-discuss mailing list