ESXi Virtualization is used in the following circumstances:
- Local virtualization and screenshot verification on SIRIS.
- Virtualize via ESXi option on virtual and physical SIRIS.
- ESXi Upload option on virtual and physical SIRIS.
This article explains how to configure ESXi Virtualization for any of these use cases.
First, set up your Hypervisor Connection.
How it works
It is important to understand how ESXi virtualization on the SIRIS works.
Let's go over the process step by step.
1. You can start up an ESXi virtualization via the web interface by selecting the Virtualize via ESXi option on the Restore page.
Figure 5 - Choosing a Recovery Type
Once you start the virtual machine from the web interface, you can see the vSphere tasks in Recent Tasks.
Figure 6 - vSphere Tasks
2. The iSCSI targets to the .datto file are created on the SIRIS, and we connect to them from the ESXi host using the specified iSCSI adapter.
Figure 7 - iSCSI Target
Figure 8 - iSCSI Initiator Properties
3. The HBA is re-scanned so that vSphere can get information on the new devices available through the iSCSI adapter.
4. A virtual disk is created through RDM to our .datto file through the iSCSI target on the SIRIS. This is the way we attach the .datto file located on the Datto to the virtual machine we are about to create on the ESXi host. If there is more than one disk in the backup, then a virtual disk via RDM is created for each.
As you can see in Figure 6, the RDM creation can sometimes fail. This failure will typically produce the status "A specified parameter is not correct. spec.device" under the Create virtual disk task. It will retry up to 3 times for each virtual disk that we attach to the virtual machine.
If we are unable to access the backup images on the SIRIS through iSCSI for ESXi virtualization, then we will attempt to do this via NFS as a failover.
5. The virtual machine is registered in vSphere with the <agent>-restore naming convention.
6. The virtual machine is powered on.
Figure 9 - Restore Listed in VMWare Virtual Machines tab
The screenshot verification process works in roughly the same way except for step 1, which involves manually starting up the virtual machine from the web interface. The naming convention for the virtual machine may also be slightly different.