Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  Problem with long names and nodes()

jacek99
Posted: Mon Jun 29, 2009 5:12 pm Reply with quote
User Joined: 26 May 2009 Posts: 27 Location: Montreal, Canada
It seems that nodes() and net_adm:ping(Node) does not work when using long names (i.e. node was started with -name instead of -sname).

I start up two separate nodes (in two separate terminalk windows) with the same cookie:

erl -name t1 -setcookie test

erl -name t2 -setcookie test

In both cases nodes() returns an empty list. If I try to connect to a node explicitly it fails, e.g.

>net_adm:ping('t2@<my PC name>').
>pang

I can ping myself successfully, but not another node.

This seems to work fine if starting with short names (-sname).

Is there something obvious I am missing here?

thx
View user's profile Send private message
flodis
Posted: Thu Jul 16, 2009 1:50 pm Reply with quote
User Joined: 09 Jul 2008 Posts: 27
For long nodes to function I think they need to resolve in DNS.
And by the way node@host is not a fully qualified domain name which I think long names requires.

A long name would probably be node@host.com or similar.
View user's profile Send private message
wuji
Posted: Wed Aug 29, 2012 6:36 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
first ordered its pilots to stop wearing the vests last last [h4]cheap Ralph Lauren[/h4] last month, but Air Force spokesperson Lt. Col. Tadd Scholtis
ABC News at the time that while the vests were were [h1]imitation designer *beep*[/h1] were believed to have contributed to the problem, they were
believed to be the root cause of the prior incidents."When incidents."When knockoff designer *beep* incidents."When asked by a reporter if the new solution could
account for the at least five instances in which the the cheap polo shirts the Air Force said ground crews working on the F-22s
their own hypoxia-like symptoms, Little said he "did not have have knockoff designer *beep* have specifics" on those incidents.Still, Gen. Charles Lyon, the head
the team investigating the F-22 problem, made his case in in cheap authentic jordans in the Pentagon against the so-called G-suit and its valve
t
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum