RHV Instant VM Restore
Create Instant Restore Job
To recover a RHV VM by instant restore, please go to VM Backup > Restore > Instant Restore page.
Find the VM which you wish to recover from the backup job in which the VM is included. Click on the + icon to show the restore points of the VM, and then select a desired restore point.
Target Host: After selecting the target restore point, please select a RHV host to run the instant restore VM. If your Vinchin Backup & Recovery has V2V migration licensed, and if you had connected other virtualizations to Vinchin, you can select a host of another virtualization as the restore destination.
Backup Node: If your Vinchin Backup & Recovery has multiple networks, you can select a preferred network to run the instant restore VM, for example, except LAN you have also connected Vinchin to the target virtualization via a 10Gb (storage) network, you can choose the IP of the 10Gb network from the dropdown list. Make sure with the select IP, Vinchin Backup & Recovery can connect to the selected host, otherwise the instant restore job will fail.
VM Configurations: These settings are optional, but if needed, you can change the VM name, power state, number of vCPUs, size of RAM, virtual network to be connected to, etc.
Virtual Disk: The virtual disk settings are unmodifiable, because instant restore does not involve restore VM virtual disks to production datastore.
Other Settings: If the VM backup data is encrypted (Data Encryption enabled in backup job), when restoring the VM you need to provide the data encryption password in the Encryption password field for verification, otherwise without the data encryption password, the VM cannot be restored. If the backup data has not been encrypted, the Encryption password option will not be shown.
When done the above settings, optionally change the job name and then click on OK to create the RHV instant VM restore job.
Run Instant Restore Job
After creating a new instant restore job, you will be redirected to the Monitor Center > Jobs page, and you’ll be able to see the instant restore job you had created in the job list, it will be in Pending state.
To start the instant restore job, please click on Options, and then select Start Job. The job status will change to Starting, it will take a while (usually a few seconds to a minute depending on the backup storage performance) for the restore process to be completed, when the job status change to Running the VM is ready to use.
If you configured the VM power state preset as On, after the instant restore process is done, the VM will power on automatically and you'll get the services of the VM back online.
But if the power state preset is Off, you need to manually turn on the VM after instant restore process is done. You should not turn on the instant restore VM until the instant restore job status changed into Running state, otherwise the VM might become abnormal and the instant restore will fail.
During the instant restore VM runtime, you'll find that in the RHV storage list, there's a new NFS datastore, and the storage server should be Vinchin Backup & Recovery, please do not unmount the NFS datastore, otherwise the instant restore VM will become offline. When the instant restore job is terminated, Vinchin Backup & Recovery will automatically unmount the NFS storage.
Notice
All the data of the instant restore VM is stored on Vinchin backup repository which is mounted to the selected RHV host as NFS datastore, if you terminate the instant restore job, all the data of the instant restore VM will be deleted from the RHV host (including newly generated data during the runtime of instant restore VM). If you wish to keep the instant restore VM and its newly generated data, do not stop the job until you have migrated all data to the RHV production datastore.
Do not create snapshot on the instant restore VM, or change any virtual disk settings. Otherwise, the instant restore VM might crash and newly generated data might lose.
Create Live Migration Job
Live migration is a feature based on instant VM restore job, the migration operation is recommended to be done during the non-business hours.
To perform live migration of an instant restore VM, please go to Monitor Center > Jobs page. Click on Options of an instant restore job and then select Migration, on the New Job screen complete the following settings of a live migration job.
Target Host: Please select a RHV(could be another virtualization) host on which you wish the VM to be migrated to.
Notice
When creating an instant restore job to restore RHV VMs, the target virtualization can be RHV or another virtualization (if your Vinchin Backup & Recovery has V2V Migration licensed), no matter which virtualization you had selected as the instant restore destination, the live migration destination can be only the same virtualization as you had selected for instant restore.
VM Configurations: The VM configuration settings for live migration VM are optional, but the modifications you had done for the instant restore VM will be applied to the live migration VM too, so, if you had modified the VM configurations for instant restore VM and you do not wish to apply the same modifications for live migration VM, please change the settings accordingly.
Transfer via: If the migration destination is RHV, then users could choose to transfer the backup data from backup repository to production datastore via LAN, Encrypted Transfer, SAN (LAN-free), HotAdd and Backup Proxy, if migrating to other virtualizations, the transmission options will be different. For more information of the transmission options, please refer to Data Transmission.
Transfer Threads: By specifying the number of transfer threads, you can enable multithreaded transmission to improve the processing speed of the live migration job. The default value for multithreaded transmission is 3, even if you can set the value from 1 to 8, but usually 3 threads will be enough.
When done the above settings, click on OK to create the live migration job.
Notice
Except using the live migration feature provided by Vinchin, when users want to migrate an instant restore VM's data from Vinchin backup repository to RHV datastore, the RHV vMotion feature is also applicable.
Run Live Migration Job
After creating a live migration job, you will be redirected to the Monitor Center > Jobs page. And the instant restore job on which you had created the live migration job, the job type will change from Instant Restore to Migration. By clicking on the job name, you'll be able to view the detailed VM migration process.
The migration process can be divided into 3 stages.
Stage 1:
Migrate the original backup data from backup repository to the production datastore. This stage will take a while depending on the backup data size and the transmission network speed.
Stage 2:
Migrate the new and changed data from backup repository to the production datastore, and when this stage is completed, the instant restore VM will be powered off.
Stage 3:
Migrate the new and changed data during powering off process of the instant restore VM to the production datastore, and when this stage is completed, the live migration VM will be powered on (if the power state preset is On during creating the live migration job).
But if the power state preset is Off, you need to manually turn on the live migration VM after live migration process is fully completed. You should not turn on the live migration VM until the instant restore job status changed from Migration to Running state again, otherwise the VM might become abnormal and the live migration will fail.
The above mentioned processes are automatic, and the whole process can guarantee the data consistency, when the live migration is completed, the live migration VM will take over all services of the instant restore VM with the virtual disks in production datastore.
Stop Instant Restore Job
After live migration completed, the instant restore job is still in a running status. But the VM created by instant restore job had already been powered off and all the data had been migrated to the live migration VM. Now you can stop the instant restore job and delete it.
To delete the instant restore job, please go to Monitor Center > Jobs page. Find the instant restore job which had already been performed live migration, click on Options and then select Stop. A dialog will be shown to warn you that stopping the instant restore job will lose all new and changed data during runtime of the instant restore VM, since you had already performed live migration for the instant restore VM, so please click on OK to confirm.
To stop the instant restore job, it involves the following procedures:
- Delete the instant restore VM.
- Unmount the NFS datastore.
- Clear the new and changed data of the instant restore VM within Vinchin backup repository.
Notice
- Make sure you had performed a live migration for the instant restore VM before stopping the instant restore job, otherwise you'll lose all new and changed data during the runtime of instant restore VM.
- Through out the whole process of instant restore and live migration, the original backup data from which runs the instant restore VM will always maintain unmodified, it will be mounted as an NFS storage in read-only state. The new and changed data of the instant restore VM will be stored in somewhere else within the backup repository.