Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
3 Node Cassandra Cluster
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/trusty64"
$script = <<-SCRIPT
apt-get update
apt-get install -y python-pip; pip install cql PyYAML
apt-get install git -y
git clone
cd ccm; sudo ./ install
apt-get install openjdk-7-jre -y
pip install cqlsh
ccm create test-cluster -v 2.0.9
ccm populate -n 3 -i --vnodes
ccm start
config.vm.provision "shell", inline: $script "private_network", ip: "" "private_network", ip: "" "private_network", ip: ""
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.