RE: Cluster on startup.

2012-11-08 Thread Kevin Burton
I finally got the processes to start on machine reboot. I just have one final question. When I execute 'riak-admin status' I get an error 'Node is not running!'. But, when I execute 'sudo riak-admin status' I get the status that I expect. Why in order to get the status do I need to be root? Also

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
riak-users@lists.basho.com Subject: Re: Cluster on startup. On Nov 7, 2012, at 11:13 AM, Kevin Burton wrote: > Thank you. This is very helpful. Two more questions. One, my dev[1234] > has about 6Mb of data in the directory. What are the bare minimum > required files and directories? Two

Re: Cluster on startup.

2012-11-07 Thread Reid Draper
ber 07, 2012 9:54 AM > To: riak-users@lists.basho.com > Subject: Re: Cluster on startup. > > If you edit /etc/init.d/riak you should see a line like: > > su - riak -c "$DAEMON $DAEMON_ARGS" || return 2 > > in the "do_start" function. > > If yo

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
-users-boun...@lists.basho.com] On Behalf Of Shane McEwan Sent: Wednesday, November 07, 2012 9:54 AM To: riak-users@lists.basho.com Subject: Re: Cluster on startup. If you edit /etc/init.d/riak you should see a line like: su - riak -c "$DAEMON $DAEMON_ARGS" || return 2 in the "

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
g for each riak instance. -Original Message- From: Jeremiah Peschka [mailto:jeremiah.pesc...@gmail.com] Sent: Wednesday, November 07, 2012 10:29 AM To: Kevin Burton Cc: Shane McEwan; Subject: Re: Cluster on startup. You should only issue the join command once - when you create the cluster. Aft

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
So how does this script fit in with the suggestions to edit the riak script in /etc/init.d? From: riak-users [mailto:riak-users-boun...@lists.basho.com] On Behalf Of Jeremiah Peschka Sent: Wednesday, November 07, 2012 8:17 AM To: riak-users@lists.basho.com Subject: Re: Cluster on startup

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
Thank you. What about do_stop, do_reload, and do_status? -Original Message- From: riak-users [mailto:riak-users-boun...@lists.basho.com] On Behalf Of Shane McEwan Sent: Wednesday, November 07, 2012 9:54 AM To: riak-users@lists.basho.com Subject: Re: Cluster on startup. If you edit /etc

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
ers-boun...@lists.basho.com] On Behalf Of > Shane McEwan > Sent: Wednesday, November 07, 2012 9:54 AM > To: riak-users@lists.basho.com > Subject: Re: Cluster on startup. > > If you edit /etc/init.d/riak you should see a line like: > > su - riak -c "$DAEMON

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
ailto:riak-users-boun...@lists.basho.com] On Behalf Of Shane McEwan Sent: Wednesday, November 07, 2012 9:54 AM To: riak-users@lists.basho.com Subject: Re: Cluster on startup. If you edit /etc/init.d/riak you should see a line like: su - riak -c "$DAEMON $DAEMON_ARGS" || return

Re: Cluster on startup.

2012-11-07 Thread Shane McEwan
If you edit /etc/init.d/riak you should see a line like: su - riak -c "$DAEMON $DAEMON_ARGS" || return 2 in the "do_start" function. If you change that line into the following 4 lines: su - riak -c "/path/to/your/riak/dev1/bin/riak $DAEMON_ARGS" || return 2 su - riak -

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
Burton Cc: Subject: Re: Cluster on startup. Responses inline. --- Jeremiah Peschka Founder, Brent Ozar Unlimited On Nov 7, 2012, at 6:45 AM, "Kevin Burton" wrote: Thank you this will help. I am a little new to the administration of init.d. What do I need to edit to remove the star

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
s with open file handles, especially with multiple Riak nodes on the same box. > > Thanks again. > > > From: riak-users [mailto:riak-users-boun...@lists.basho.com] On Behalf Of > Jeremiah Peschka > Sent: Wednesday, November 07, 2012 8:17 AM > To: riak-users@lists.basho.com &g

Re: Cluster on startup.

2012-11-07 Thread Colin Alston
On 7 November 2012 05:36, Reid Draper wrote: > > On Nov 6, 2012, at 5:43 PM, Kevin Burton wrote: > > This is probably an FAQ but I was unable to find an answer so hopefully > there will be some patient people. > > The “Quick Start” builds a simple cluster all on the same machine (called > de

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
@lists.basho.com Subject: Re: Cluster on startup. To add a node to a cluster, you can execute riak-admin cluster join riak@192.168.0.1 See [1] for more details. There is no need to reboot for the cluster to be formed; the nodes will talk amongst themselves and once they find each other, the cluster is up

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
day, November 06, 2012 9:36 PM > To: Kevin Burton > Cc: riak-users@lists.basho.com > Subject: Re: Cluster on startup. > > > On Nov 6, 2012, at 5:43 PM, Kevin Burton wrote: > > > This is probably an FAQ but I was unable to find an answer so hopefully there > will be some

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
it" it? I would foresee needing to add or remove nodes from the cluster. From: Reid Draper [mailto:reiddra...@gmail.com] Sent: Tuesday, November 06, 2012 9:36 PM To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster on startup. On Nov 6, 2012, at 5:43 PM, Kevin Burt

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
am hoping I can extrapolate to a "real" production cluster. From: Colin Alston [mailto:colin.als...@praekelt.com] Sent: Wednesday, November 07, 2012 3:34 AM To: Reid Draper Cc: Kevin Burton; riak-users@lists.basho.com Subject: Re: Cluster on startup. On 7 November 2012 05:36, R

Re: Cluster on startup.

2012-11-07 Thread OJ Reeves
ddra...@gmail.com] > *Sent:* Tuesday, November 06, 2012 9:36 PM > *To:* Kevin Burton > *Cc:* riak-users@lists.basho.com > *Subject:* Re: Cluster on startup. > > ** ** > > ** ** > > On Nov 6, 2012, at 5:43 PM, Kevin Burton wrote: > > &g

RE: Cluster on startup.

2012-11-06 Thread Kevin Burton
To: Kevin Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster on startup. On Nov 6, 2012, at 5:43 PM, Kevin Burton wrote: This is probably an FAQ but I was unable to find an answer so hopefully there will be some patient people. The "Quick Start" builds a simple c

Re: Cluster on startup.

2012-11-06 Thread Reid Draper
On Nov 6, 2012, at 5:43 PM, Kevin Burton wrote: > This is probably an FAQ but I was unable to find an answer so hopefully there > will be some patient people. > > The “Quick Start” builds a simple cluster all on the same machine (called > dev1, dev2, and dev3). It assigns the ports, IP addre