The Live Recovery feature enables virtual machines (VMs) to be recovered and powered on from a backup without waiting for a full restore of the VM. This feature can be used to recover a VM that has failed and needs to be placed back in production quickly, or to validate that a backup can be used in a disaster recovery scenario.
Recovery Process
Data is restored from the backup as needed to enable the operations requested by the VM, and the full restore completes as resources allow. The backup is not modified by the restore process.
The process for a Live Recovery is:
-
When this option is selected for a restore, the restore operation can use the MediaAgent that was used to perform the backup.
-
Rather than reading the backup, the restore process exposes the backup to the destination ESX server as a network file system (NFS) export.
-
The NFS export is mounted to the destination ESX server as an NFS datastore.
-
When the NFS datastore is visible to the ESX server, the restore process retrieves the .vmx and catalog files for the VM.
The .vmx file is modified to indicate that writes can be made to the VMDK files on the NFS datastore (or the VM can be modified to redirect writes to an alternate datastore).
-
When the VM files are available to the NFS datastore, the VM is registered and can be powered on.
-
Any reads for the virtual machine disks are handled by the File Recovery Enabler for Linux, which restores the requested data to the NFS cache and presents it to the ESX server.
-
After the initial reads needed to make the VM usable, a storage vMotion is initiated to migrate the virtual machine to the destination datastore specified for the restore.
-
When the migration is complete, the ESX server unexports the backup and unmounts the datastore (if there are no other paths exported to the ESX server). When the cleanup is done, the restore job is marked as complete.
Considerations
-
Live VM recovery is supported for recovery from the following types of backups:
-
Streaming backups and backup copies that use magnetic disk libraries
-
IntelliSnap backups using one of the vendors and engines listed in IntelliSnap Support for Live VM Recovery
-
-
Live VM recovery is not supported for the following operations:
-
Backups to tape libraries
-
Archived VMs
-
Multiple VM restores in the same job
-
Simultaneous live recovery and live browse operations for the same virtual machine
-
-
The operating system of the MediaAgent used for live recovery does not need to match the operating system of the guest VM. For example, a Windows MediaAgent can be used to recover a Linux VM.
-
The Live Recovery feature uses a 3DFS cache on the MediaAgent that performs the Live Recovery. By default, the 3DFS cache is located in the Job Results folder for the MediaAgent. However, you can change the path using the s3dfsRootDir additional setting. The 3DFS cache is circular, so unused data are pruned from the cache as needed. By default, 5% free space is maintained on the cache, but you can change the required percentage of free space using the n3dfsCacheMinFree additional setting. For faster recovery times, the 3DFS cache should be hosted on a solid state drive (SSD) using flash memory storage.
For each live recovery job, the 3DFS cache requires minimum free space equal to the larger of the following values:
-
20 GB
-
15% of the total VM size (the sum of the sizes of all VMDKs for the VM)
-