Giter Site home page Giter Site logo

cloudstash's Introduction

Cloudstash

N|Cloudstash

Backup solution for distributed compute platforms.

  • Ansible
  • ReaR
  • Magic, just a little

The goal of this role is to provide a means of protecting the data and configuration of a deployed cloud platform. This role will be centered around RHEL7+, RHOS, and Openshift (future releases.)

Tech

Cloudstash uses a number of open source projects to work properly:

  • [Ansible] - software provisioning, configuration management, and application-deployment tool.
  • [ReaR] - Linux bare metal disaster recovery solution

And of course Cloudstash itself is open source with a toure/cloudstash on GitHub.

Installation

Cloudstash requires Ansible v2.5+ to run.

Install:

$ git clone https://github.com/Toure/cloudstash.git
$ cd cloudstash

Edit the inventory file: (with your favortie editor)

Example Content:

[endpoint_nodes]
0.0.0.0  ansible_user=heat-admin
0.0.0.0  ansible_user=heat-admin

[undercloud]
0.0.0.0  ansible_user=stack

[hypervisor_nodes]
0.0.0.0  ansible_user=root

[nfs_server]
0.0.0.0

**nfs_server ip should correspond with the network which is addressable by the controller nodes.

Install packages on all nodes:

$ bash cloudstash.sh --install

Configure NFS Server on defined server node:

$ bash cloudstash.sh -s -e "server_setup=1"

Configure NFS Clients:

$ bash cloudstash.sh -c -e "client_setup=1"

Perform the first systems backup:

$ bash cloudstash.sh --backup

Generate a rescue image:

$ bash cloudstash.sh --rescue

Development

Want to contribute? Great! Please submit PRs with patches or open a bug as a feature request.

Todos

  • Write Tests
  • Add features which I couldn't think about.

License

Apache v2

Free Software, Hell Yeah!

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.