Skip to content

xweichu/dse_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSE Workload Automation on vSphere

Automatically deploy DSE (6.8) clusters on vSphere using Terraform and Ansible. The automation may or may not work for other DSE versions.

Prerequisites

The following dependencies are required to run this tool:

  • Terraform
  • Ansible
  • sshpass
  • whois

If above packages are not installed on your system, you can clone this repo and run the command: bash ./env_prep.sh to install the dependencies. The bash script was tested on Ubuntu 18.04/20.04 systems.

This tool uses the Ubuntu Cloud Images (ova) to provision the VMs so that users don't have to prepare the VM template manually. At this moment, only Ubuntu 18.04 images were tested.

Instructions

  • Customize the config/a_terraform.tfvars file to configure the infrustructure using Terraform. For more details, please refer to the example and comments in this repo.

  • Customize the config/b_cassandra.cfg file to configure the DSE cluster.

  • Run the command bash ./deploy.sh to start the automation.

  • Run the command bash ./cleanup to destroy and cleanup the deployment when errors occur.

Please note the *.sh files in this repo are based on bash, simply run ./*.sh or sh ./*.sh won't work. Use bash ./*.sh instead.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published