3 node cluster on same machine

Matthew Shaw mattashaw at gmail.com
Sun Jan 2 23:46:02 EST 2011


Thanks guys, will definately build from source for the future.


On 03/01/2011, at 2:14 PM, Jeremiah Peschka wrote:

> Glad to hear you got it working. Alexander is spot on, as well. You can get started with a single node and don't have to change anything.
> 
> Jeremiah Peschka
> Microsoft SQL Server MVP
> MCITP: Database Developer, DBA
> 
> On Jan 2, 2011 11:08 PM, "Matthew Shaw" <mattashaw at gmail.com> wrote:
> > Hi Jeremiah,
> > 
> > that did it, thank you for responding so quickly. Here is the output.
> > 
> > Matthew-Shaws-MacBook-Pro:etc matthewshaw$ riak1_admin ringready
> > TRUE All nodes agree on the ring ['riak2 at 127.0.0.1','riak3 at 127.0.0.1',
> > 'riak at 127.0.0.1']
> > 
> > I will try and compile from source to enable the 64bit version. Thanks for the tips.
> > 
> > Cheers,
> > Matt.
> > 
> > On 03/01/2011, at 1:27 PM, Jeremiah Peschka wrote:
> > 
> >> For starters, you should rebuild your riak with the most current stable version, 0.13, which you can download here: http://downloads.basho.com/riak/riak-0.13/riak-0.13.0-osx-i386.tar.gz 
> >> 
> >> Once you do that, let us know if you still see the problem and what the output of `riak-admin ringready` says.
> >> 
> >> ... looks like the wiki needs updated to reflect the current version. Incidentally, it also looks like there isn't a pre-compiled x64 OS X binary. 
> >> 
> >> Jeremiah 
> >> 
> >> 
> >> On Sun, Jan 2, 2011 at 9:28 PM, Matthew Shaw <mattashaw at gmail.com> wrote:
> >> Hi,
> >> 
> >> I'm trying to create a 3 node cluster on my mac. I've followed the wikki, creating riak1, riak2, riak3 directories and modified the vm.args and app.config files accordingly. I join riak2 and riak3 to riak1. However this is what the dump of riak1_admin status looks like and there are not 3 ring members.
> >> 
> >> Can anyone provide some advice as to what I may have missed here?
> >> 
> >> 1-minute stats for 'riak1 at 127.0.0.1'
> >> -------------------------------------------
> >> vnode gets : 0
> >> vnode_puts : 0
> >> read_repairs : 0
> >> vnode_gets_total : 0
> >> vnode_puts_total : 0
> >> node_gets : 0
> >> node_gets_total : 0
> >> node_get_fsm_time_mean : undefined
> >> node_get_fsm_time_median : undefined
> >> node_get_fsm_time_95 : undefined
> >> node_get_fsm_time_99 : undefined
> >> node_get_fsm_time_100 : undefined
> >> node_puts : 0
> >> node_puts_total : 1
> >> node_put_fsm_time_mean : undefined
> >> node_put_fsm_time_median : undefined
> >> node_put_fsm_time_95 : undefined
> >> node_put_fsm_time_99 : undefined
> >> node_put_fsm_time_100 : undefined
> >> read_repairs_total : 0
> >> cpu_nprocs : 101
> >> cpu_avg1 : 225
> >> cpu_avg5 : 289
> >> cpu_avg15 : 292
> >> mem_total : 3584648000
> >> mem_allocated : 2573964000
> >> disk : [{"/",488050672,34},
> >> {"/Volumes/Git",15708,35},
> >> {"/Volumes/Xcode",1012592,75}]
> >> nodename : 'riak1 at 127.0.0.1'
> >> connected_nodes : ['riak2 at 127.0.0.1','riak3 at 127.0.0.1',
> >> 'riak1_maint_37570 at 127.0.0.1']
> >> sys_driver_version : <<"1.5">>
> >> sys_global_heaps_size : 0
> >> sys_heap_type : private
> >> sys_logical_processors : 2
> >> sys_otp_release : <<"R13B04">>
> >> sys_process_count : 132
> >> sys_smp_support : true
> >> sys_system_version : <<"Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:5] [hipe] [kernel-poll:true]">>
> >> sys_system_architecture : <<"i386-apple-darwin10.3.0">>
> >> sys_threads_enabled : true
> >> sys_thread_pool_size : 5
> >> sys_wordsize : 8
> >> ring_members : ['riak at 127.0.0.1']
> >> ring_num_partitions : 64
> >> ring_ownership : <<"[{'riak at 127.0.0.1',64}]">>
> >> ring_creation_size : 64
> >> storage_backend : riak_kv_bitcask_backend
> >> pbc_connects_total : 1
> >> pbc_connects : 0
> >> pbc_active : 0
> >> riak_kv_version : <<"0.12.0">>
> >> riak_core_version : <<"0.12.0">>
> >> bitcask_version : <<"1.0.2">>
> >> luke_version : <<"0.2.0">>
> >> webmachine_version : <<"1.7.1">>
> >> mochiweb_version : <<"1.7.1">>
> >> erlang_js_version : <<"0.4">>
> >> runtime_tools_version : <<"1.8.3">>
> >> crypto_version : <<"1.6.4">>
> >> os_mon_version : <<"2.2.5">>
> >> sasl_version : <<"2.1.9">>
> >> stdlib_version : <<"1.16.5">>
> >> kernel_version : <<"2.13.5">>
> >> 
> >> 
> >> 
> >> Cheers,
> >> Matt.
> >> _______________________________________________
> >> riak-users mailing list
> >> riak-users at lists.basho.com
> >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> >> 
> >> _______________________________________________
> >> riak-users mailing list
> >> riak-users at lists.basho.com
> >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> > 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110103/80ea49fa/attachment.html>


More information about the riak-users mailing list