Code Monkey home page Code Monkey logo

ansible-role-rethinkdb's Introduction

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.

ansible-role-rethinkdb's People

Contributors

lightyrs avatar wakwanza avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.