Giter Club home page Giter Club logo

couchbase-hostprep's Introduction

hostprep

Toolset to prep and install Couchbase and Sync Gateway on Linux hosts

Disclaimer

This package is NOT SUPPORTED BY COUCHBASE. The toolset is under active development, therefore features and functionality can change.

Quick Start

Install prerequisites:

# curl -sfL https://raw.githubusercontent.com/mminichino/hostprep/main/bin/bootstrap.sh | sudo -E bash -

Install the package:

# git clone https://github.com/mminichino/hostprep /usr/local/hostprep

Prep Ubuntu host for Couchbase Server 7.1:

# /usr/local/hostprep/bin/hostprep.sh -t couchbase -v 7.1.0-2556-1

Prep CentOS host for Couchbase Server 7.1:

# /usr/local/hostprep/bin/hostprep.sh -t couchbase -v 7.1.0-2556

Write Couchbase node configuration parameters to a host:

# /usr/local/hostprep/bin/clusterinit.sh -m write -i 10.1.2.3 -e 172.16.4.5 -s "data,index,query" -o memopt -g us-east-2a

Configure Couchbase node based on stored configuration:

# /usr/local/hostprep/bin/clusterinit.sh -m config -r 10.1.2.3 -n cbcluster

Configure Sync Gateway node:

# /usr/local/hostprep/bin/hostprep.sh -t sgw -g 3.0.0
# /usr/local/hostprep/bin/clusterinit.sh -m sgw -r 10.1.2.3

hostprep.sh options

Option Description
-t Host type
-v Couchbase version
-g Sync Gateway version
-n DNS server
-d DNS domain
-h Hostname
-u Admin username
-U Non-root user to pattern
-c Call function from library and exit

clusterinit.sh options

Option Description
-m Mode
-i Internal node IP
-e External node IP
-s Services
-o Cluster index memory storage option
-g Server group name
-r Rally node for init
-u Couchbase administrator user name
-p Couchbase administrator password
-n Couchbase cluster name

couchbase-hostprep's People

Contributors

mminichino avatar

Watchers

Steve Yen avatar Sarath Lakshman avatar Jeffry Morris avatar Priya Rajagopal avatar James Cloos avatar Brett Lawson avatar  avatar Wayne Siu avatar  avatar Dan Owen avatar Dave Finlay avatar  avatar Adam Fraser 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.