Skip to content
No description or website provided.
Puppet Ruby
Pull request Compare This branch is even with Asquera:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
manifests
modules/riak
.gitignore
LICENSE
README.md
Vagrantfile

README.md

vagrant-riak-cluster

This package provides a small cluster of riak nodes running in one virtual machine each. This allows to test out riak in its natural environment with failing and restarting machines and everything :).

Usage

$ git clone https://github.com/asquera/vagrant-riak-cluster.git
$ gem install vagrant
$ vagrant up

This fires up 4 vms with riak installed and configured. If you want less vms, just start them by hand:

$ vagrant up riak1 riak2 riak3

All you have to do is to join them together. Navigate to:

https://33.33.33.220:8068/admin/ui/index.html

Click on "cluster" and add the following additional nodes to the cluster:

  • riak@33.33.33.221
  • riak@33.33.33.222
  • riak@33.33.33.223

All nodes are bound to 0.0.0.0, using the following port mapping:

  • http: 8098
  • https: 8068
  • protocol buffers: 8087
  • handoff: 8099

Words of warning

All scripts and configurations are intended for testing purposes. For example, the setup uses the demo certificates provided by basho. Don't use this setup in production without checking all settings.

Contributions

Very welcome! If you know a better way to solve things, please send a pull request!

Something went wrong with that request. Please try again.