Riak Dev Cluster for OS X
Ruby
Pull request Compare This branch is 3 commits ahead, 1 commit behind simonvc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
riak1/etc
riak2/etc
riak3/etc
riak4/etc
riak5/etc
.gitignore
README.md
Rakefile

README.md

Riak Dev Cluster for Ubuntu 12.x

Easily run a 5-node Riak cluster on Ubuntu 12.x.

Getting started

Clone the repository:

$ git clone git://github.com/nopolabs/riak-dev-cluster.git

Go to the riak-dev-cluster directory:

$ cd riak-dev-cluster

There is a bootstrap command available that installs, starts and joins the riak cluster in one go:

$ rake bootstrap

The install target will download and build a copy of Riak from source.

You should have Erlang installed first. Consult http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debian-and-Ubuntu/#Installing-Riak-From-Source for details.

Control commands

Start all nodes:

$ rake start

Join all nodes as a cluster (only needed once):

$ rake join

Stop all nodes:

$ rake stop

Clear all data and restart the cluster:

$ rake clear

Other commands

See all available commands:

$ rake -T

Note

Depending on your erlang cookie, you may have to use the commands with sudo.

Author

This repo was cloned from an OS/x version at https://github.com/simonvc/riak-dev-cluster

I have editted the Rakefile to support Ubuntu 12.x.

See https://github.com/simonvc/riak-dev-cluster for the OS/x version.