rethinkdb

Ansible Role: RethinkDB

Build Status DUB

An Ansible Role that installs RethinkDB on RedHat/CentOS,Debian/Ubuntu or Archlinux.

Requirements

Works on Linux versions based on Enterprise Linux (CentOS/RedHat >=6), Debian (jessie & wheezy) and Ubuntu (>=precise). On EL based distributions SELINUX needs to be set to permissive for some of the tasks to work.

Role Variables

`storage_directory_base` Directory root to store data and metadata.Defaults to /var/lib/rethinkdb
`storage_data` RW Directory to store data and metadata.Defaults to 'data' to create {{ storage_directory_base }}/data
`port.driver` The port for rethinkdb protocol for client drivers.Defaults to '28015'
`port.cluster` The port for receiving connections from other nodes.Defaults to '29015'
`port.offset` All ports used locally will have this value added.Defaults to '0'
`server_tag` Tag name usable to identify groupings for sharding etc.Defaults to 'nyc'
`io_threads` How many simultaneous I/O operations can happen at the same time.Defaults to '64'
`cluster_lead` The ipv4 address for the initial leader.If not set defaults to pick first host that role will run on.

For secure installation the web-admin interface is disabled , nodes listen to the default intefaces's ipv4 address.The number of cores used is the total available in each node and the memory cache available is set at 0.85 of the total available RAM. Further tuning possible by modifying values in 'templates/rethinkdb.j2'.

Example Playbook

Install the role using galaxy : ansible-galaxy install wakwanza.rethinkdb

- hosts: nosqldb
  roles:
     - { role: wakwanza.rethinkdb }

License

MIT

Author Information

@wakwanza Abdulrahim Umar.

About

Install and setup RethinkDB cluster on Linux

Install
ansible-galaxy install wakwanza/ansible-role-rethinkdb
GitHub repository
License
mit
Downloads
40