This script is used after JetStream DR has been installed. It works in conjunction with the cfo_plan_auto_gen.yml file generated by cpt.py to start continuous failover protection of protected domains at the recovery site. It does the following:

    • Connects recovery storage (object store) to the recovery site. (JetStream in CFO mode must have access to  the object store continuously.)
    • Adds DRVA(s) and configures the replication log at the recovery site.
    • Scans and imports protected domains from the object storage site.
    • Begins continuous failover protection.

Syntax

run_cfo.py -f <edited SCFOP> --vc-user <vc_user> --vc-pwd <vc_passwd> -o <output-dir>

Notes

-f: Denotes the continuous failover protection template (cfo_plan_auto_gen.yml) that has been edited by the user with site details

      • This parameter is required.

--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

    • Execute a CFO plan to start continuous failover of protected domains to the recovery site.
      run_CFO.py -f cfo_plan_auto_gen.yml --vc-user <vcenter_username> --vc-pwd <vcenter_passwd> -o /tmp