This script is used after JetStream DR software has been installed and VMs are protected. It should be run periodically to check the resource utilization on the protected site. It will generate the resource.txt file. When executed at the protected site, this script reads the cpt_input.yml file and scans the vSphere environment to check the resource utilization of various components.

Syntax

cpt.py -f <cpt_input.yml> -m resources_check --msa-hostname <msa_host_name> --vc-pwd <vc_passwd> -o <output-dir>


Notes

-f: Denotes the input file cpt_input.yml and is required.

-m: Denotes the operating mode and is required. Allowed value is: resources_check

--msa-hostname: Denotes the MSA FQDN or IP Address and it is required parameter.

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