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.
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
ansible-playbook site.yml
- 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