Skip to content

Demonstration of a multi-workload, multi-datacenter, DataStax Enterprise deployment with Cassandra and Spark

Notifications You must be signed in to change notification settings

joeljacobson/cassandra-multi-dc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Introduction

Easily provision a multi-workload cluster running Cassandra and Spark with Opscenter using Ansible with Vagrant & Virtualbox.

Disclaimer : I use this for demo purposes only, on a machine with 16gb ram, I wouldn't run this with any less.

##Prerequisites

##Provisioning

Clone the project: git clone https://github.com/joeljacobson/cassandra-multi-dc.git

In the project directory enter: vagrant up

Your cluster will be ready shortly depending on your internet connection. The initial boot takes some time as Ansible has to download, install and configure DSE across each VM. Subsequent reboots are fast.

DSE and Opscenter will be automatically configured and started once installed. They will also be automatically started each time the VMs are booted.

Cassandra will be running on: 192.168.56.10, 192.168.56.20, 192.168.56.30

Spark will be running on 192.168.56.40, 192.168.56.50, 192.168.56.60

Opscenter will be running on: 192.168.56.70:8888

Spark UI: 192.168.56.40:7081

Install the datastax-agents by entering vagrant for both the username and password.

SSH into a node with: vagrant ssh <node$>

Shutdown the VMs: vagrant halt

Resume VMs: vagrant up

Destroy the VMs (requires re-provisioning): vagrant destroy

About

Demonstration of a multi-workload, multi-datacenter, DataStax Enterprise deployment with Cassandra and Spark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published