jeffoxenberg / ansible-cassandra-deployment

Ansible roles for deploying (DSE) Cassandra, DataStax OpsCenter, and c*-stress load generators for automated performance testing.
1 stars 0 forks source link

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