Re: Cluster on startup.

2012-11-07 Thread OJ Reeves
Burton *Cc:* riak-users@lists.basho.com *Subject:* Re: Cluster on startup. ** ** ** ** On Nov 6, 2012, at 5:43 PM, Kevin Burton rkevinbur...@charter.net wrote: This is probably an FAQ but I was unable to find an answer so hopefully there will be some patient people

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, Reid Draper

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
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 Burton rkevinbur

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
@lists.basho.com Subject: Re: Cluster on startup. On Nov 6, 2012, at 5:43 PM, Kevin Burton rkevinbur...@charter.net 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

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 Colin Alston
cluster all on the same machine (called dev1, dev2, and dev3). It assigns the ports, IP addresses, etc. I would like to do something similar but I would like the cluster to startup automatically. What do I need to add to the configuration file so that all of the joins etc. happen on startup

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
, 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 Subject: Re: Cluster on startup. To add a node

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
Burton Cc: riak-users@lists.basho.com Subject: Re: Cluster on startup. Responses inline. --- Jeremiah Peschka Founder, Brent Ozar Unlimited On Nov 7, 2012, at 6:45 AM, Kevin Burton rkevinbur...@charter.net wrote: Thank you this will help. I am a little new to the administration of init.d

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 -c

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
] 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 do_start function. If you change

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 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
- From: Jeremiah Peschka [mailto:jeremiah.pesc...@gmail.com] Sent: Wednesday, November 07, 2012 10:29 AM To: Kevin Burton Cc: Shane McEwan; riak-users@lists.basho.com Subject: Re: Cluster on startup. You should only issue the join command once - when you create the cluster. After that happens

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
: 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 do_start function. If you change that line into the following 4 lines

Re: Cluster on startup.

2012-11-07 Thread Reid Draper
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 you change that line into the following 4 lines: su - riak -c /path/to/your

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
@lists.basho.com Subject: Re: Cluster on startup. On Nov 7, 2012, at 11:13 AM, Kevin Burton rkevinbur...@charter.net 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

Cluster on startup.

2012-11-06 Thread Kevin Burton
like the cluster to startup automatically. What do I need to add to the configuration file so that all of the joins etc. happen on startup? This would be a Ubuntu Server if it makes any difference. Thank you. Kevin ___ riak-users mailing list

Re: Cluster on startup.

2012-11-06 Thread Reid Draper
the ports, IP addresses, etc. I would like to do something similar but I would like the cluster to startup automatically. What do I need to add to the configuration file so that all of the joins etc. happen on startup? This would be a Ubuntu Server if it makes any difference

RE: Cluster on startup.

2012-11-06 Thread Kevin Burton
-users@lists.basho.com Subject: Re: Cluster on startup. On Nov 6, 2012, at 5:43 PM, Kevin Burton rkevinbur...@charter.net 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