Skip to content

Easily provision a 3 node DataStax Enterprise Cassandra cluster with OpsCenter using Ansible and Vagrant.

Notifications You must be signed in to change notification settings

joeljacobson/vagrant-ansible-cassandra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Introduction

Easily provision 3 DSE Cassandra nodes with Opscenter across 4 VMs using Ansible with Vagrant & Virtualbox.

##Prerequisites

Make sure all of these are up-to-date.

##Provisioning

Clone the project: git clone https://github.com/joeljacobson/vagrant-ansible-cassandra.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 DataStax Enterprise 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.

Nodes will be running on: 192.168.56.11, 192.168.56.12, 192.168.56.13

Opscenter will be running on: 192.168.56.14:8888

Select manage existing cluster and install agents automatically, then enter vagrant for both the username and password.

SSH into a node with: vagrant ssh <nodename>

CQLSH example cqlsh 192.168.56.11

Shutdown the VMs: vagrant halt

Resume VMs: vagrant up

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

About

Easily provision a 3 node DataStax Enterprise Cassandra cluster with OpsCenter using Ansible and Vagrant.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published