Skip to content

Ansible roles for deploying (DSE) Cassandra, DataStax OpsCenter, and c*-stress load generators for automated performance testing.

Notifications You must be signed in to change notification settings

jeffoxenberg/ansible-cassandra-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansible-cassandra-deployment

Ansible roles for deploying (DSE) Cassandra, DataStax OpsCenter, and c*-stress load generators for automated performance testing.

DataStax OpsCenter is installed via yum, and then Cassandra is deployed via the OpsCenter API. Some OS parameters are tweaked for higher performance.

Configuration

Create ansible inventory file (hosts)

[opscenter]
host1
[cassandra]
host2
host3
host4
[loadgen]
host5
host6

Alternatively, use cobbler.py to link to your cobbler deployment, and create opscenter, cassandra, and loadgen profiles. Symlink cobbler.py to hosts.

Create group_vars/all

httpproxy: http://proxy.example.com:8080
dse_repo_un: some.username
dse_repo_pw: some.password
machine_un: root
machine_pw: password
cassandra_ver: apache c* ver for load generators

Running

ansible-playbook site.yml

Todo

  • Better provision.yaml templating
  • Selectively apply cassandra setting changes based on machine type
  • Integrate c*-stress scripts
  • Increase idempotence, check if cluster already created
  • Test larger clusters

About

Ansible roles for deploying (DSE) Cassandra, DataStax OpsCenter, and c*-stress load generators for automated performance testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages