Skip to content

chipchaderez/ovirt-disaster-recovery-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

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 (mlipchuk@redhat.com) or Daniel Erez (derez@redhat.com) on any question

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages