Giter Club home page Giter Club logo

ovirt-disaster-recovery-tool's Introduction

RATA-TUI: oVirt Disaster Recovery Tool

A text user interface tool designed for oVirt to manage disaster recovery scenarios in an easy and intuitive way.

RATA-TUI home scrreen logo

SETUP

If you are using a fresh install of a Linux distribution, please make sure you have the oVirt repository configured:

yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm

Then you need to install the ovirt-engine-sdk-python package:

yum install ovirt-engine-sdk-python

USAGE

Before starting to recover the old oVirt setup, please make sure that the new oVirt engine is up and running and it contains an active data center.

After ovirt-engine-sdk-python is installed, run disaster-recovery-tool.py from the project home folder to start: run python script

The first screen after the welcome screen should be the login page. At this page you should define the address of your engine, the user name to login to it, and the password. run python script

Once logged in, the first page that will be displayed will be the import storage domain page: run python script

At this page, the admin should decide which storage domain to import to the new data center. The admin should pick the storage domain type, the export path, the host to perform the connect operations as part of the import process, and the name of the imported storage domain in the new data center. run python script

Once the storage domain will finish to be imported, a pop-up will be performed to the admin, asking if there is another storage domain to import to the new data center. run python script

Once all the storage domains will finish to be import, the process of registering all the entities (VM/Templates) will start. run python script

The admin will choose the type of entities to register, it could be disks, Templates or VMs. Each entity registration, will be performed under the scroll, indicating whether the registration finished with success or failure. run python script

That is it!!

The new data center should now contain all the imported storage domains and VMs/Templates/Disks from your old setup which was destroyed.

Here is a short video demonstrating the flow which described above: DR_video

Troubleshoot

  • If python fails to run, please make sure ovirt-release repo and ovirt-engine-sdk-python is installed.
  • If the data center fails to import a storage domain, please make sure the setup is running and the data center is active with an active SPM host.

Additional

RATA-TUI is an open source project written with python and uses npyscreen, a python widget library and application framework for programming terminal or console applications. RATA-TUI integrates with oVirt using ovirt-engine-sdk, and it should support import of storage domains (currently only NFS) to a pre-initialized active data center and register all the entities (Templates, VMs and floating disks) using one simple operation.

Future Work

Support import of block storage domain (iSCSI or FC)

Contact

Please feel free to contact Maor Lipchuk ([email protected]) or Daniel Erez ([email protected]) on any question

ovirt-disaster-recovery-tool's People

Contributors

maorlipchuk avatar danielerez avatar chipchaderez avatar

Watchers

James Cloos 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.