Easily run a 3-node Riak cluster on OS X.
- The names of the nodes are riak[1-3]@127.0.0.1
- The HTTP port of riak1 is 11098: http://127.0.0.1:11098
- Riak Control (Admin UI) is available here: https://admin:admin@127.0.0.1:11088/admin (User: admin, Password: admin)
- All nodes use the eleveldb storage backend to support secondary indexes
- Please see riak[1-3]/etc/app.config for the other ports and settings
There is a bootstrap script available that installs, starts and joins the riak cluster in one go:
$ rake bootstrap
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
See all available commands:
$ rake -T
Depending on your erlang cookie, you may have to use the commands with sudo
.