Giter VIP home page Giter VIP logo

ansible-aerospike's Introduction

Aerospike community server

This is an Ansible role for Aerospike community server.

Requirements

This role has been tested with Ansible 2.1 only. It's also supposed that you are using the merge behaviour for variables (please, see about hash_behaviour=merge for details)

Role Variables

This role declares and uses the configurations variables in a hash under the aerospike key (besides a variable aerospike_version). This is a description for main variables which you may want to change.

  • aerospike_version is a desired version of aerospike;

  • aerospike.config is a section to declare plugin settings which you want to use in your environment.

    See examples below how to declare different parts of aerospike configuration in YAML format.

Dependencies

This role doesn't depend from other ansible roles

Example Playbook

An example of how to use aersopike:

    - hosts: all
      roles:
        - role: aerospike
          aerospike_version: 3.9.0
          aerospike:
            config:
              # It's a default configuration from aerospike
              service:
                paxos-single-replica-limit: 1 # Number of nodes where the replica count is automatically reduced to 1
                service-threads: 4
                transaction-queues: 4
                transaction-threads-per-queue: 4
                proto-fd-max: 15000
          
              logging:
                file /var/log/aerospike/aerospike.log:
                  context: "any info"
                console:
                  context: "any info"
          
              network:
                service:
                  address: any
                  port: 3000
          
                heartbeat:
                  mode: multicast
                  address: 239.1.99.222
                  port: 9918
                  interval: 150
                  timeout: 10
                  mesh-seed-address-port:
                    - "some host 9000"
                    - "some host 8888"
          
                fabric:
                  port: 3001
          
                info:
                  port: 3003
          
              namespace test:
                replication-factor: 2
                memory-size: 4G
                default-ttl: 30d # 30 days, use 0 to never expire/evict.
                storage-engine: memory
          
              namespace bar:
                replication-factor: 2
                memory-size: 4G
                default-ttl: 30d # 30 days, use 0 to never expire/evict.
                storage-engine: memory

License

MIT

Author Information

Alexey Voronov [email protected]

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.