This script is used after JetStream DR has been installed. It works in conjunction with the protection plan files generated by cpt.py to automatically configure and start VM protection at the protected site. It does the following:

  • Connects recovery storage (object store) to the protected site.
  • Adds DRVA(s) and configures the replication log.
  • Creates protected domains.
  • Begins protecting VMs.


Syntax

run_SPP.py -s <edited SPP> [-w <true/false>] --vc-user <vc_user> --vc-pwd <vc_passwd> -o <output-dir>


Notes

-s: Denotes the Start Protection Plan ("SPP") template (start_protection_plan.yml) that has been edited by the user with site details and is required.

-w: Controls the sequential starting of each domain’s data protection. The default value is true, which causes each domain’s data protection to be processed sequentially.

--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 output files will be saved. This parameter is optional.


Example

  • Executes the SPP to add a storage site and configures DRVA.
  • Creates protected domains and begins protecting VMs at the protected site.
  • Data protection is started sequentially.

run_SPP.py -s start_protection_plan.yml -w true --vc-user <vcenter_username> --vc-pwd <vcenter_passwd> -o /tmp