Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.02 KB

Vagrant Setup for Cassandra 1.2.9 (using Salt provisionner)

This is a simple Vagrant setup for installing Cassandra 1.2.9 from DataStax Community repositories on Ubuntu Precise 64.

How to Start

  1. Install VirtualBox
  2. Install Vagrant (you need at least 1.3.0 or better)
  3. Install Deep Merge plugin: vagrant plugin install deep_merge
  4. Startup Vagrant by executing vagrant up
  5. Connect to the server by executing vagrant ssh cassandra1
  6. Connect to your Cassandra cluster cqlsh 192.168.56.110

Notes

By default cluster of three machines is brought up. You can change the IP addresses of the machines, and the number of machines by modifying following map:

servers = {
  :cassandra1 => '192.168.56.110',
  :cassandra2 => '192.168.56.112',
  :cassandra3 => '192.168.56.114'
}

Each machine has 2048 MB of RAM, you can change this by modifying following line:

vb.customize ["modifyvm", :id, "--memory", "2048"]