run_fbp.py
This script is used after JetStream DR software has been installed. It works in conjunction with the failback_plan_auto_gen.yml file generated by cpt.py to automatically failback VMs from the recovery site to the protected site. It does the following:
- Connects protected storage (object store) to the recovery site.
- Scans and imports protected domains from the object storage site.
- Failback protected domains to the protected site in batches. The order of recovery follows the protected domains’ priorities.
Syntax
run_fbp.py -f <fbp_plan.yml> [-n <concurrent_failback_domains>] --vc-user <vc_user> --vc-pwd <vc_passwd> -o <output-dir>
Notes
-f: Denotes the failback protection template (failback_plan_auto_gen.yml) that has been edited by the user with site details and is required.
-n: Denotes the maximum number of domains that can be failed back concurrently. Increasing this number allows more tasks to run concurrently reducing the amount of time required to fail back. This value is optional and will default to 1 if no value is specified. (NOTE: Increasing this value may stretch protected site primary storage.)
--vc-user: Denotes the vCenter Server username.
--vc-pwd: Denotes the vCenter Server password. This is an optional command line input (to be used with scripts). If not included, the user will be prompted to enter the password during execution.
-o: Denotes the directory where the output files will be saved. This parameter is optional.
Example
- Executes an FBP to fail back all protected domains to the protected site.
- Protected domains will be failed back concurrently, three at a time.
run_FBP.py -f failback_plan_auto_gen.yml -n 3 --vc-user <vcenter_username> --vc-pwd <vcenter_passwd> -o /tmp