Skip to content

hungryblank/vagrant-riak-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 65.3%
  • Ruby 34.7%