Not just 6Mb but it is 6Mb for every node. And it is not just the storage but the deployment. The fewer the files the better.
-----Original Message----- From: Reid Draper [mailto:reiddra...@gmail.com] Sent: Wednesday, November 07, 2012 12:52 PM To: Kevin Burton Cc: 'Shane McEwan'; riak-users@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, would I issue the 'join' command > here also to form the cluster? There may be some unneeded files, but are you in an environment where 6MB of storage is a limitation? Reid > > -----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/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 "/path/to/your/riak/dev2/bin/riak $DAEMON_ARGS" > || return 2 > su - riak -c "/path/to/your/riak/dev3/bin/riak $DAEMON_ARGS" > || return 2 > su - riak -c "/path/to/your/riak/dev4/bin/riak $DAEMON_ARGS" > || return 2 > > it should start all your Riak nodes on boot. > > On 07/11/12 15:28, Kevin Burton wrote: >> The problem I see is that since this script is just functions if I >> run it then it will do nothing as the functions are not called. Is >> there some kind of "include" that I am missing? >> >> Thank you for the link for the tutorial. I am still not sure what the >> sequence should be for calling your script on startup. All of the >> examples that I have seen startup a single executable. It looks like >> I need to either include your script into another script and start it or . >> . . . > >> > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com