GithubHelp home page GithubHelp logo

sac-urs / gluster-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nandajavarma/gdeploy

0.0 2.0 0.0 270 KB

Tool to deploy glusterfs

License: GNU General Public License v2.0

Python 100.00%

gluster-deploy's Introduction

#gdeploy

Tool to set-up and deploy glusterfs using ansible over multiple hosts

gluster-deploy can be used to set-up the backend, create a glusterfs volume and mount it to a client over n-number of clients from an ansible installed machine. The framwork takes the configurations for this from a configuration file to be defined by the user.

##Installation

###Clone this repo:

git clone [email protected]:nandajavarma/gdeploy.git

cd gdeploy

###Install the requirements:

pip install -r requirements.txt

###Add ansible modules to ANSIBLE_LIBRARY environment variable

echo "export ANSIBLE_LIBRARY=$ANSIBLE_LIBRARY:'/path/to/gdeploy/modules/'" >> ~/.bashrc

###To use the module you can either do:

####Install using setuptools:

python setup.py install

OR

####Add the path to the module to the python path:

echo "export PYTHONPATH=$PYTHONPATH:'/path/to/gdeploy/glusterlib/'" >> ~/.bashrc

##Usage

To use the framework create a configuration file as per your needs. Follow the instructions here to create your configuration file. An example configuration file can be found here

TODO: better README for the configuration file

To set-up back-end and deploy GlusterFS in the specified host machines, run:

gdeploy -c <configuration file>

For help and usage options, try:

gdeploy -h

gluster-deploy's People

Contributors

nandajavarma avatar sac avatar sac-urs 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.