Launching Scalaris distributed

9 views
Skip to first unread message

Matthieu Ghilain

unread,
May 17, 2011, 5:25:57 PM5/17/11
to scalaris
Hi everybody,

I am really sorry to take your time. I am actually trying to launch
Scalaris distributed and I am running into troubles.

I am using the latest version from the SVN, the documentation is not
really up to date, so it's a little bit confusing.

If I understand well I do not need to start a boot server, and
actually I don't see any way of doing it with the new version.

If I run everything locally except some error messages everything is
fine, I can connect as much node as I want and can't connect to them
using the java-api.

Now I want to run them on different machines.

I have thus added a scalaris.local.cfg file as suggested to run in
distributed mode, my first test was to run your script ./firstnode.sh
with this file.

The content of the file is the following


%% userdevguide-begin local_cfg:distributed
% Insert the appropriate IP-addresses for your setup
% as comma separated integers:
% IP Address, Port, and label of the boot server
{mgmt_server, {{127,0,0,1}, 14194, mgmt_server}}.

% IP Address, Port, and label of a node which is already in the system
{known_hosts, [{{127,0,0,1}, 14195, firstnode}]}.
%% userdevguide-end local_cfg:distributed


I did not changed the default settings of the script and I got several
stranges messages from erlang, moreover I can't reach the webserver
anymore.

Here are the messages I get

Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:2:2] [rq:2] [async-
threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.4 (abort with ^G)
(firstnode@laptom)1> [warn] "to > 127.0.0.1:14194" Connection failed,
drop message {connect}
[warn] [ CC ] Cannot accept msg for unknown named process firstnode:
{get_dht_nodes,{undefined,14195,<0.117.0>}}

[warn] "to > 127.0.0.1:14194" Connection failed, drop message
{register,{{127,0,0,1},14195,<0.117.0>}}

I don't really understand what I should put in the configuration file
could you give more detailed information about how to launch the
application distributed cause I tried hard, I need it and I am really
lost :(. How to solve the problem of unknown named process? Because
when I tried with several machines, I get the message of the other
machines that tried to connect to my first node but my first node
reject connection demand because it say unknown named process...

Thanks for reading, and I hope you can help me!

Matthieu Ghilain

unread,
May 17, 2011, 5:40:48 PM5/17/11
to scalaris
I am really sorry, I just succeed....

My problem came from the fact that I did not understand what label
mean I changed back firstnode to service_per_vm and nodes now seems to
connect correctly from different machines!
Reply all
Reply to author
Forward
0 new messages