Git Product home page Git Product logo

riak-client-tools's Introduction

Riak Client Library Tools

These scripts can be used to configure and start Riak for use in integration testing your Riak client library.

Build Status

Usage

  • Either install Riak using your package manager, or build Riak from source. Here is the general sequence of commands to build a rel release, which will create a single-node:

    mkdir -p $HOME/Projects/basho
    cd $HOME/Projects/basho
    git clone git://github.com/basho/riak.git
    cd riak
    make locked-deps
    make rel
    

    More info can be found in the documentation

  • Then, use the setup-riak script to configure and start Riak. If you installed Riak from a package, no arguments should be necessary. Otherwise, the script assumes that a rel is available at $HOME/basho/riak/rel. This can be changed via the -p argument:

    ./setup-riak -p Path/to/riak/rel
    ./setup-riak -p Path/to/riak/dev
    

    If your packaging system installs the riak.conf somewhere other than /etc/riak/riak.conf, use the -f argument:

    ./setup-riak -f /opt/riak/etc/riak.conf
    

Help Output

./setup-riak: set up a Riak cluster (one or several nodes)

Usage:

setup-riak [-p <riak rel or devrel path>]
           [-f <riak.conf from installed pkg>]
           [-l PB:HTTP] [-d <secs>] [-clsxz]

-p  Riak devrel or rel path (Default: "$HOME/riak/rel")
-f  riak.conf from package (Default: "/etc/riak/riak.conf")
-d  Delay Riak operations (Default: 0 seconds)
-c  Set up cluster for Strong Consistency (NB: use at least 5 nodes)
-s  Set up cluster to use Riak Security
-x  Shut down any nodes and clean up directories.
-z  Set up cluster WITHOUT Yokozuna Search (Default: on)

-l  PB:HTTP Use PB as PB port (Default: 8087),
            HTTP as HTTP port (Default: 8098)

riak-client-tools's People

Contributors

alexmoore avatar lukebakken avatar nickelization 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.