Skip to content

Toure/cloudstash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Backup and Restore solution for cloud platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages