Git Product home page Git Product logo

couchbase-ansible-playbook's Introduction

Couchbase Ansible Playbook

This project contains sample playbooks to manage Couchbase cluster.

Note: the current scripts are only working on Ubuntu/Debian for now

Install Couchbase Cluster

Configure the list of Hosts in host file.

This file contains 2 groups of server:

[couchbase-main] : select one of your server, this one will be used to initialize and configure the cluster. [couchbase-nodes] : all other nodes that will be added to the cluster.

Enter the Administrator information and server configuration (RAM Quotas, Bucket name, Replicas) in the ./group_vars/all file

Run the Ansible command

ansible-playbook -i ./hosts  ./couchbase.yml

This script will do the following:

  • Download the Couchbase package if not already present on all nodes
  • Install the dependencies on all nodes if needed
  • Install Couchbase on all nodes
  • Create a new cluster on the "main" node
  • Add all other nodes to the cluster
  • Create a new bucket

Uninstall Couchbase Cluster

Uninstall the Couchbase server and delete all files (Warning you will lose your data)

Run the Ansible command

ansible-playbook -i ./hosts ./couchbase-uninstall.yml

couchbase-ansible-playbook's People

Contributors

tgrall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.