In the HotAdd transport mode, third parties must first deploy a backup proxy VM in the protected HCI resource pool. Only then can they use this backup proxy VM to perform agentless backup and recovery operations in HotAdd mode for VMs within the same resource pool.
For more information about creating images of backup proxy VMs and batch deriving backup proxy VMs based on images, see Managed Cloud Services Agentless Backup Development Guide White Paper.
SCP provides OpenAPIs for obtaining VM configurations and setting VMs as backup proxy types, as detailed below:
• Calling the API for obtaining VM configuration information allows checking whether a VM is of the backup proxy type. If it is, the value of the "os_name" field in the VM configuration information is "Backup Proxy".
• Calling the API for editing VMs and setting "os_name" in the input parameters to "Backup Proxy" enables setting the VM as a backup proxy type.
SCP provides OpenAPIs for creating and downloading VM VMA images (VMA images are a custom image file type developed by Sangfor for VM distribution), as detailed below:
• Calling the API for creating images from VMs allows using a specified VM as the source to create a VMA image.
• Calling the API for downloading images allows downloading the created VMA image to local storage..
SCP provides an OpenAPI for executing custom scripts/commands in the Guest OS of a VM:
• After a VM is created, started, and vmtools is successfully installed, this API can be called to execute custom scripts in the Guest OS of the VM, so as to meet requirements such as initial configuration of the VM.
SCP provides OpenAPIs for uploading VMA images and creating VMs using VMA images, as detailed below:
• Calling the APIs for creating and uploading images allows uploading local VMA image files to the specified HCI resource pool. Considering permission control, it is recommended that VMA images of backup proxy VMs be accessible only to platform administrators (currently, tenant permissions for agentless backup OpenAPIs are not yet open). When creating the image, set it as a private image and set "owner_id" to the administrator ID.
• Calling the API for creating VMs and setting "image_id" in the input parameters to the source image ID enables creating a new VM based on the source image.