Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Add documentation for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Maor Lipchuk committed Apr 10, 2018
1 parent 98531b5 commit ee3dec3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,29 @@ Example Playbook
Generate var file mapping [demo](https://youtu.be/s1-Hq_Mk1w8)<br/>
Fail over scenario [demo](https://youtu.be/mEOgH-Tk09c)

Scripts
-------
The ovirt-dr script should provide the user a more convinient way to run
disaster recovery actions as a way to avoid using ansible playbooks directly.
There are four actions which the user can execute:
validate validate the var file mapping which is used for failover and failback
generate Generate the mapping var file based on the primary and secondary setup, to be used for failover and failback
failover Start a failover process to the target setup
failback Start a failback process from the target setup to the source setup

Each of those actions is using a configuration file which its default location is files/dr.conf

Example Script
--------------
For mapping file generation:
./ovirt-dr generate
For mapping file validation:
./ovirt-dr validate
For fail-over operation:
./ovirt-dr failover
For fail-back operation:
./ovirt-dr failback

License
-------

Expand Down

0 comments on commit ee3dec3

Please sign in to comment.