bingoarun.cassandra-docker-cluster

cassandra-docker-cluster

Cassandra role to create a dockerized multi-node cassandra cluster.

Requirements

Ensure that the target nodes have docker installed.

Role Variables

  • cluster_name: Name of the cluster

  • num_tokens: Number of tokens

  • data_file_directories: Data file directories in array format

    Eg: [/var/lib/cassandra/data,/media/mydisk]

  • commitlog_directory: Commitlog directory

  • saved_caches_directory: Saved caches directory

  • endpoint_snitch: Endpoint snitch (Eg: SimpleSnitch, GossipingPropertyFileSnitch)

  • rack: Name of the rack

  • dc: Name of the DC

Dependencies

Either install Docker as mentioned requirements or install some ansible role which installs docker.

Example Playbook

To install cassandra cluster on 'cassandra_servers' group.

- hosts: cassandra_servers
  roles:
     - { role: bingoarun.cassandra-docker-cluster }

License

GNU

Author Information

Arun prasath

About

Cassandra docker cluster role with JMX enabled

Install
ansible-galaxy install bingoarun.cassandra-docker-cluster
GitHub repository
License
gpl-3.0
Downloads
74
Owner
Cloud Operations Engineer