Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created May 12, 2010 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PharkMillups/398819 to your computer and use it in GitHub Desktop.
Save PharkMillups/398819 to your computer and use it in GitHub Desktop.
samsonjs # is it possible to run 2 riak clusters on the same box? when i try to fire up a 2nd node w/ a different cluster name it shuts down immediately.
bingeldac # yes but you need to configure each. you can do it with make devrel and make 3 embedded riak nodes
that is probably the easiest way
samsonjs # ok i wondered if i messed up the config or not. i can't seem to find any docs on such a setup.
bingeldac # http://wiki.basho.com/display/RIAK/Home
http://wiki.basho.com/display/RIAK/Building+a+Development+Environment
covers a setup using devrel
samsonjs # ah, i'm trying to run 2 clusters though that only covers one cluster w/ 3 nodes. i need 2 clusters, each with one node (presumably more are possible, but i only need one)
bingeldac # oh sorry I misunderstood. that would essentially be 2 independent nodes
samsonjs # exactly i appreciate the help, don't be sorry :)
bingeldac # so would just not have them join eachother in a cluster. multi-cluster replication isn't an open source feature in that sense
samsonjs # right. i don't need them to replicate so that's ok. i'm just trying to setup 2 dev servers on the same box. it looks like i might have to run a VM or something. or maybe the servers can share a db. that might not be such a big deal.
bingeldac # well if you make devrel it will make a dev directory with 3 nodes that can run on their own and handle all the configs in app.conf and vm.args
samsonjs # ah, so if i do that twice ... i'll try that out. i also might just need to change riak_handoff_port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment