Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Starting Scalaris
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Steve Ramage  
View profile  
 More options Oct 24 2011, 4:44 pm
From: Steve Ramage <stevem...@gmail.com>
Date: Mon, 24 Oct 2011 13:44:57 -0700 (PDT)
Local: Mon, Oct 24 2011 4:44 pm
Subject: Starting Scalaris
I'm trying to start Scalaris, but I keep getting dropped into the
erlang shell with various warnings printed, I'm not sure why.
Admittedly I'm just starting out.

root@ip-10-169-31-98:~/scalaris-0.3.0/bin# scalarisctl -m -n firstnode
-p 14195 -y 8000 -s -f start
Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:4:4] [rq:4] [async-
threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.4  (abort with ^G)
(firstn...@ip-10-169-31-98.us-west-1.compute.internal)1> [warn] "to >
127.0.0.1:14194" Connection failed, drop message {connect}
[warn] "to > 127.0.0.1:14194" Connection failed, drop message
{send_to_group_member,service_per_vm,{hi}}
[warn] "to > 127.0.0.1:14194" Connection failed, drop message
{register,{{127,0,0,1},14195,<0.117.0>}}

root@ip-10-169-31-98:~/scalaris-0.3.0/bin# cat scalaris.local.cfg
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Settings for distributed Erlang
% (see scalaris.hrl to switch)

% {mgmt_server, {mgmt_server,'mgmt_ser...@foo.bar.com'}}.
% {known_hosts, [{service_per_vm, 'firstn...@foo.bar.com'}]}.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Settings for TCP mode.
% (see scalaris.hrl to switch)

%% 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, service_per_vm}]}.
%% userdevguide-end local_cfg:distributed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thorsten Schuett  
View profile  
 More options Oct 25 2011, 3:53 am
From: Thorsten Schuett <schu...@gmail.com>
Date: Tue, 25 Oct 2011 09:53:17 +0200
Local: Tues, Oct 25 2011 3:53 am
Subject: Re: [scalaris] Starting Scalaris
Hi Steve,

this is the expected behaviour. You are starting scalaris in the foreground,
i.e. not in daemon mode. The result is a running scalaris and you will get the
normal erlang shell e.g. for debugging. You can now point your browser to
localhost:8000 to see the web gui.

Or you can directly query scalaris using the erlang shell:

(firstnode@localhost)1> api_tx:read("foo").
{fail,not_found}
(firstnode@localhost)2> api_tx:write("foo", "bar").
{ok}
(firstnode@localhost)3> api_tx:read("foo").        
{ok,"bar"}

Thorsten


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nico Kruber  
View profile  
 More options Oct 25 2011, 3:56 am
From: Nico Kruber <kru...@zib.de>
Date: Tue, 25 Oct 2011 09:56:51 +0200
Local: Tues, Oct 25 2011 3:56 am
Subject: Re: [scalaris] Starting Scalaris

as an additional note:
your scalaris.local.cfg points to the wrong port for the management server you
have started. Your node therefore did not register with the management server
but should be operational anyway. The warnings only indicate this. You should
be able to use the shell, e.g. type [enter] and you'll see the ordinary erlang
prompt.
Please also note that the management server's only purpose is to be able to
monitor the whole ring, it is not mandatory for a working Scalaris ring.

Nico

On Tuesday 25 October 2011 09:53:17 Thorsten Schuett wrote:

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »