Re: Cluster setup

2012-12-12 Thread Jared Morrow
c IP > address so all queries to this address are shared amount the nodes in the > cluster. Right? I will try this. > > -Original Message- > From: Antonio Rohman Fernandez [mailto:roh...@mahalostudio.com] > Sent: Wednesday, December 12, 2012 10:55 AM > To: Kevin Burton &g

RE: Cluster setup

2012-12-12 Thread Kevin Burton
cEwan; Subject: Re: Cluster setup Well, I don't work with VMs, for me 1 node = 1 full server Sent from my iPhone On 12/12/2012, at 17:43, "Kevin Burton" wrote: > But when setting up a cluster on VM's there is only one public > address. So in your scenario there is only IP no

Re: Cluster setup

2012-12-12 Thread Antonio Rohman Fernandez
2, 2012 10:37 AM > To: Kevin Burton > Cc: Shane McEwan; riak-users@lists.basho.com > Subject: Re: Cluster setup > > You have to understand that there is no master node in Riak, all nodes are > equal, so you have as many entrypoint IPs as servers: > > http://IP1:8089/riak > http:/

RE: Cluster setup

2012-12-12 Thread Kevin Burton
Antonio Rohman Fernandez [mailto:roh...@mahalostudio.com] Sent: Wednesday, December 12, 2012 10:37 AM To: Kevin Burton Cc: Shane McEwan; riak-users@lists.basho.com Subject: Re: Cluster setup You have to understand that there is no master node in Riak, all nodes are equal, so you have as many en

Re: Cluster setup

2012-12-12 Thread Antonio Rohman Fernandez
that)? > > -Original Message- > From: Shane McEwan [mailto:sh...@mcewan.id.au] > Sent: Wednesday, December 12, 2012 10:12 AM > To: Kevin Burton > Cc: riak-users@lists.basho.com > Subject: Re: Cluster setup > > Looks good to me! > > On 12/12/12 16:10,

RE: Cluster setup

2012-12-12 Thread Kevin Burton
n.id.au] Sent: Wednesday, December 12, 2012 10:12 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup Looks good to me! On 12/12/12 16:10, Kevin Burton wrote: > So now I have > > [azureuser@bsicentos3 ~]$ sudo riak-admin member-status Attempting to > restart scri

Re: Cluster setup

2012-12-12 Thread Shane McEwan
'riak@10.79.90.11' --- Valid:3 / Leaving:0 / Exiting:0 / Joining:0 / Down:0 Does this look right? -Original Message- From: Shane McEwan [mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 9:58 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: R

RE: Cluster setup

2012-12-12 Thread Kevin Burton
ving:0 / Exiting:0 / Joining:0 / Down:0 Does this look right? -Original Message- From: Shane McEwan [mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 9:58 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup Run the join commands on the OTHER machines

RE: Cluster setup

2012-12-12 Thread Kevin Burton
it matter where cluster pan and cluster commit are run from? -Original Message- From: Shane McEwan [mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 9:58 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup Run the join commands on the OTHER machines . .

Re: Cluster setup

2012-12-12 Thread Shane McEwan
in the cluster.* -Original Message- From: Shane McEwan [mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 9:43 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup There's no need to join the "master" to itself. Just join the other nodes to t

RE: Cluster setup

2012-12-12 Thread Kevin Burton
12, 2012 9:43 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup There's no need to join the "master" to itself. Just join the other nodes to the master. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Cluster setup

2012-12-12 Thread Shane McEwan
.id.au] Sent: Wednesday, December 12, 2012 9:26 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup The join command needs to be given a node name and IP of a machine already in the cluster. So if you have machines: riak@10.79.110.52 riak@10.79.108.25 riak@10.79.90.11 Then

RE: Cluster setup

2012-12-12 Thread Kevin Burton
-name riak@10.79.108.25 It doesn't seem that you can join a node to itself. -Original Message- From: Shane McEwan [mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 9:26 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup The join command need

Re: Cluster setup

2012-12-12 Thread Shane McEwan
eplicas will be on distinct nodes Transfers resulting from cluster changes: 32 32 transfers from 'riak@10.79.110.52' to 'riak@10.79.108.25' -Original Message- From: Shane McEwan [mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 8:58 AM To: Kevin Burton Cc: r

RE: Cluster setup

2012-12-12 Thread Kevin Burton
replicas will be on distinct nodes Transfers resulting from cluster changes: 32 32 transfers from 'riak@10.79.110.52' to 'riak@10.79.108.25' -Original Message- From: Shane McEwan [mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 8:58 AM To: Kevin Burton C

Re: Cluster setup

2012-12-12 Thread Shane McEwan
On 12/12/12 14:32, Kevin Burton wrote: Good catch! Thank you. If I have three machines that take up ports 8098,8099, and 8100 what do you suggest the handoff port should be? When is it used? No problem! Each machine can use the same ports as the other machines. You just can't use the same po

RE: Cluster setup

2012-12-12 Thread Kevin Burton
[mailto:sh...@mcewan.id.au] Sent: Wednesday, December 12, 2012 8:25 AM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster setup On 12/12/12 14:15, Kevin Burton wrote: > Thank you but this command didn't return anything: OK, perhaps you're using the same port

RE: Cluster setup

2012-12-12 Thread Kevin Burton
-users@lists.basho.com Subject: Re: Cluster setup On 12/12/12 14:15, Kevin Burton wrote: > Thank you but this command didn't return anything: OK, perhaps you're using the same port for different functions in Riak? In particular, I see you're using 8099 for your http port but i

Re: Cluster setup

2012-12-12 Thread Shane McEwan
On 12/12/12 14:15, Kevin Burton wrote: Thank you but this command didn't return anything: OK, perhaps you're using the same port for different functions in Riak? In particular, I see you're using 8099 for your http port but in my setup 8099 is used for "handoff_port". Here's the ports I'm u

RE: Cluster setup

2012-12-12 Thread Kevin Burton
riginal Message- From: riak-users [mailto:riak-users-boun...@lists.basho.com] On Behalf Of Shane McEwan Sent: Wednesday, December 12, 2012 3:07 AM To: riak-users@lists.basho.com Subject: Re: Cluster setup On 11/12/12 19:11, Kevin Burton wrote: > Thank you. I have restarted the server s

Re: Cluster setup

2012-12-12 Thread Shane McEwan
On 11/12/12 19:11, Kevin Burton wrote: Thank you. I have restarted the server several times and I don't see riak running with 'ps ax'. The configuration is set to come up on reboot so there shouldn't be any other instance of riak around to run. It's not necessarily another Riak instance but som

RE: Cluster setup

2012-12-11 Thread Kevin Burton
.com] Sent: Tuesday, December 11, 2012 1:09 PM To: Kevin Burton Cc: 'Sean Carey'; riak-users@lists.basho.com Subject: Re: Cluster setup Hey, 'eaddrinuse' from your previous mail suggests that the address your binding to is already in use. Maybe riak is already running? O

Re: Cluster setup

2012-12-11 Thread Russell Brown
Hey, 'eaddrinuse' from your previous mail suggests that the address your binding to is already in use. Maybe riak is already running? Or something else is bound to the address? Cheers Russell On 11 Dec 2012, at 19:06, Kevin Burton wrote: > Any more information on this or something I can do

RE: Cluster setup

2012-12-11 Thread Kevin Burton
Any more information on this or something I can do to help diagnose my own problem? Again app.config looks like: app.config looks like: [ %% Riak Client APIs config {riak_api, [ %% pb_backlog is the maximum length to which the queue of pending %% connec

Re: Cluster setup

2012-12-10 Thread rkevinburton
I cannot see the problem it is 10.79.110.52. Isn't that the address of this node? I looked at the end of erlang.log.a and see the following errors: = = LOGGING STARTED Mon Dec 10 21:03:57 UTC 2012 = Exec: /usr/lib64/riak/erts-5.9.1/bin/erlexec -boot /usr/lib64/riak/releases/1.2.

Re: Cluster setup

2012-12-10 Thread Sean Carey
Look at the section in your config called pb_ip. The ip is wrong. On Monday, December 10, 2012 at 4:02 PM, rkevinbur...@charter.net wrote: > I moved on to the next step and from the "seed node" I execute 'sudo > riak-admin cluster join riak@10.79.110.52 (mailto:riak@10.79.110.52)' and I > g

Re: Cluster setup

2012-12-10 Thread rkevinburton
I moved on to the next step and from the "seed node" I execute 'sudo riak-admin cluster join riak@10.79.110.52' and I get Attempting to restart script through sudo -H -u riak Node riak@10.79.110.52 is not reachable! I can ping the node: PING 10.79.110.52 (10.79.110.52) 56(84) bytes of data.

Re: Cluster setup

2012-12-10 Thread Sean Carey
all and /etc/init.d support, you should > > > > > > really just be installing the packages. > > > > > > http://s3.amazonaws.com/downloads.basho.com/riak/CURRENT/rhel/6/riak-1.2.1-1.el6.x86_64.rpm > > > > > > is the package for Centos 6 found here >

Re: Cluster setup

2012-12-10 Thread Kevin Burton
s3.amazonaws.com/downloads.basho.com/riak/CURRENT/rhel/6/riak-1.2.1-1.el6.x86_64.rpm >>>>> is the package for Centos 6 found here >>>>> http://basho.com/resources/downloads/. Building from source is there for >>>>> those who need a feature not currently in a release, want

Re: Cluster setup

2012-12-10 Thread Jared Morrow
a release, want to make >> additions to Riak, or are on an unsupported platform. >> >> -Jared >> >> >> On Mon, Dec 10, 2012 at 10:25 AM, wrote: >> >>> I am looking at http://docs.basho.com/riak/**latest/cookbooks/Basic-** >>> Cluster-Set

Re: Cluster setup

2012-12-10 Thread Kevin Burton
t;>> http://basho.com/resources/downloads/. Building from source is there for >>> those who need a feature not currently in a release, want to make additions >>> to Riak, or are on an unsupported platform. >>> >>> -Jared >>> >>> >&g

Re: Cluster setup

2012-12-10 Thread Jared Morrow
> >> I am looking at http://docs.basho.com/riak/**latest/cookbooks/Basic-** >> Cluster-Setup/<http://docs.basho.com/riak/latest/cookbooks/Basic-Cluster-Setup/>which >> provides me with a lot of information. But I have one question. I >> have a source distribution an

Re: Cluster setup

2012-12-10 Thread Kevin Burton
who need a feature not currently in a release, want to make additions > to Riak, or are on an unsupported platform. > > -Jared > > > On Mon, Dec 10, 2012 at 10:25 AM, wrote: >> I am looking at >> http://docs.basho.com/riak/latest/cookbooks/Basic-Cluster-Setup/ which >

Re: Cluster setup

2012-12-10 Thread Jared Morrow
there for those who need a feature not currently in a release, want to make additions to Riak, or are on an unsupported platform. -Jared On Mon, Dec 10, 2012 at 10:25 AM, wrote: > I am looking at http://docs.basho.com/riak/**latest/cookbooks/Basic-** > Cluster-Setup/<http://docs.basho

Cluster setup

2012-12-10 Thread rkevinburton
I am looking at http://docs.basho.com/riak/latest/cookbooks/Basic-Cluster-Setup/ which provides me with a lot of information. But I have one question. I have a source distribution and I have already done 'make rel'. Once I have performed all of the steps outlined in setting up a clus

mi_server lookup/range failure for search queries (only in cluster setup)

2012-12-10 Thread Abhinav Singh
Hi, We are facing 500 Internal Server Error for a search queries and amazingly it fails only in cluster mode (i.e. with more than one riak node running). We have following single node setup to start with: $ ./bin/riak-admin member-status = Membership =

Re: Riak Cluster Setup on EC2

2011-02-07 Thread Sean Cribbs
This has been there all along (albeit not named "EC2" specifically): http://wiki.basho.com/Network-Security-and-Firewall-Configurations.html Sean Cribbs Developer Advocate Basho Technologies, Inc. http://basho.com/ On Feb 7, 2011, at 6:28 AM, Abhishek Kona wrote: > Thanks a lot for the help f

Re: Riak Cluster Setup on EC2

2011-02-07 Thread Abhishek Kona
Thanks a lot for the help folks. And sorry for the late reply. I could set the ports up after including {kernel, [ {inet_dist_listen_min, 8000}, {inet_dist_listen_max, 8088} ]} in my app.config. It would be great if there could be a page to guide ec2 setup of riak o

Re: Riak Cluster Setup on EC2

2011-02-06 Thread Paco NATHAN
ation and > initialization at node creation time, so in normal production use will not > need to SSH into the nodes. > > __ > Eamonn > > > > On 2/4/11 9:00 AM, riak-users-requ...@lists.basho.com wrote: >> >> Date: Wed, 02 Feb 2011 21:33:20 +0530 From: Abhishek

Riak Cluster Setup on EC2

2011-02-06 Thread Eamonn
in normal production use will not need to SSH into the nodes. __ Eamonn On 2/4/11 9:00 AM, riak-users-requ...@lists.basho.com wrote: Date: Wed, 02 Feb 2011 21:33:20 +0530 From: Abhishek Kona To: Sean Cribbs Cc: "riak-users@lists.basho.com" Subject: Re: Riak Cluster

Re: Riak Cluster Setup on EC2

2011-02-04 Thread Abhishek Kona
On 02/02/11 8:38 PM, Sean Cribbs wrote: Abhishek, First, make sure all of your nodes are in the same security group. Yes, both the machines are on the same security group ( which has only the ports 8098, 8099, 8087). Second, check that your OS doesn't have an additional firewall installed

Re: Riak Cluster Setup on EC2

2011-02-02 Thread John D. Rowell
You need to open the extra erlang ports in your security group. We do the following: In the security group, open up TCP port 4369 to 10.0.0.0/8, and ports 8000-8089 (or other range) to 10.0.0.0/8 also. This would allow any instance (even those that are not yours) to access those ports, so we block

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Ryan Maclear
Hi All, In my past experiences with distributed Erlang on systems I've put together, the first thing I check when two nodes cannot ping each other is whether the erlang cookie is the same on both nodes (and sometimes an erlang hosts file is needed). I know in the dev setup of riak (3 nodes - d

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Abhishek Kona
Hey, epmd -name gives the following on the nodes. #node1 ubuntu@node2:~$ sudo epmd -names epmd: up and running on port 4369 with data: name riak at port 34358 #node2 ubuntu@node1:~$ sudo epmd -names epmd: up and running on port 4369 with data: name riak at port 42643 I can telnet to the

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Jon Meredith
Hey, So that shows distributed erlang is not working, next step is to work out why. The erlang emulator (beam) uses ports for distributed erlang in addition to the ones riak uses. You can see which ports using the erlang port mapper. It sits on a well known port and sets up all the other connec

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Abhishek Kona
Hi. Sorry about that, I am getting "pang" as a reply. But is this a network issue? As I said before I can telnet on to the machines on the Riak ports. What can be the issues? Again ,Thanks for all the quick help -Abhishek Kona On 02/02/11 10:33 PM, Jon Meredith wrote: Hi Abhishek, It look

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Dan Reverri
Hi Abhishek, You need to add a period (".") to the end of the statements before they will execute. Can you try the ping command again? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Feb 2, 2011 at 9:32 AM, Abhishek Kona wrote: > Hi Jon > Thanks

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Abhishek Kona
Hi Jon Thanks for the quick reply. On 02/02/11 10:33 PM, Jon Meredith wrote: Hi Abhishek, It looks like distributed erlang isn't working between the nodes so the join fails. You can test it by bringing the nodes up in console mode and executing $ riak console [some logging status messages]

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Jon Meredith
Hi Abhishek, It looks like distributed erlang isn't working between the nodes so the join fails. You can test it by bringing the nodes up in console mode and executing $ riak console [some logging status messages] Eshell V5.7.5 (abort with ^G) (dev2@127.0.0.1)1> net_adm:ping('dev1@127.0.0.1').

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Abhishek Kona
On 02/02/11 8:38 PM, Sean Cribbs wrote: Abhishek, First, make sure all of your nodes are in the same security group. Yes, both the machines are on the same security group ( which has only the ports 8098, 8099, 8087). Second, check that your OS doesn't have an additional firewall installed (

Re: Riak Cluster Setup on EC2

2011-02-02 Thread Sean Cribbs
Abhishek, First, make sure all of your nodes are in the same security group. Second, check that your OS doesn't have an additional firewall installed (iptables, for example). Third, you might consider doing what the Chef recipe for Riak does and limit the ports that Erlang uses for distribute

Riak Cluster Setup on EC2

2011-02-02 Thread Abhishek Kona
Hi folks I am trying to set up a Riak cluster on EC2. Each time I issue a command : $ sudo riak-admin join riak@10.130.149.253 It fails : Attempting to restart script through sudo -u riak Node riak@10.130.149.253 is not reachable! Netstat on both the machines says the ports are running fine