Moving Protected Virtual Machines to a Remote Site
You can move the virtual machines in a virtual protection group (VPG) to a remote site, where the virtual machines are replicated. As part of the process you can also set up reverse protection, where you create a VPG on the remote site for the virtual machines being moved, pointing back to the original site. This is commonly used, for example, when the protected site has planned downtime.
To initiate a move:
|
1.
|
In the Zerto User Interface select ACTIONS > MOVE VPG. |
The Move wizard is displayed.
|
2.
|
Select the VPGs to move. |
At the bottom, the selection details show the amount of data and the total number of virtual machines selected.
The Direction arrow shows the direction of the process: from the protected site to the peer, recovery, site.
The EXECUTION PARAMETERS step is displayed.
You can change the following values to use for the recovery:
Reverse Protection settings
|
•
|
Keep Source VMs settings |
You can also see if a boot order and scripts are defined for the VPG.
|
4.
|
To change the commit policy, click on the field or select the VPG and click EDIT SELECTED. |
|
a.
|
Select None if you do not want an automatic commit or rollback. You must manually commit or roll back. |
If some VMs in a VPG fail to recover properly and Auto-Commit was selected for the operation, the commit policy will change to None. You must manually commit or rollback.
|
b.
|
To test before committing or rolling back, specify an amount of time to test the recovered machines, in minutes. |
This is the amount of time that the commit or rollback operation is delayed, before the automatic commit or rollback action is performed.
During this time period, check that the new virtual machines are OK and then commit the operation or roll it back.
The maximum amount of time you can delay the commit or rollback operation is 1440 minutes, which is 24 hours.
Testing that involves I/O is done on scratch volumes.
|
•
|
The more I/Os generated, the more scratch volumes are used, until the maximum size is reached, at which point no more testing can be done. |
|
•
|
The maximum size of all the scratch volumes is determined by the journal size hard limit and cannot be changed. |
|
•
|
The scratch volumes reside on the storage defined for the journal. |
|
5.
|
To specify the shutdown policy, double-click the Force Shutdown field. If the virtual machines cannot be gracefully shut down, for example if Microsoft Integration Services is not installed on one of the virtual machines in the VPG, the Move operation fails unless you specify that you want to force the shutdown. If a utility is installed on the protected virtual machines, the procedure waits five minutes for the virtual machines to be gracefully shut down before forcibly powering them off. |
|
6.
|
To specify reverse protection, where the virtual machines in the VPG are moved to the recovery site and then protected in the recovery site, back to the original site, double-click the Reverse Protection field and click the REVERSE link. |
The Edit Reverse VPG wizard is displayed.
You can edit the reverse protection configuration. The parameters are the same as described when you create a VPG, described in To create a virtual protection group (VPG) to recover in Hyper-V:, with the following differences:
|
•
|
You cannot add or remove virtual machines to the reverse protection VPG. |
|
•
|
By default, reverse replication is to the original protected disks. You can specify a different storage to be used for the reverse replication. |
|
•
|
If Microsoft Integration Services is available, for each virtual machine in the VPG, the IP address of the originally protected virtual machine is used. Thus, during failback the original IP address of the virtual machine on the site where the machine was originally protected is reused. However, if the machine does not contain the utility, DHCP is used. |
|
•
|
When reverse protection is specified for a VPG residing on a vCD site that is replicating to either a vSphere or Hyper-V site, the boot order settings will not reserve the start delay vApp settings for virtual machines with the same order number. |
|
7.
|
To prevent the protected virtual machines from being deleted in the protected site, select the Keep source VMs checkbox. |
!
Important:
|
•
|
The virtual machines will be removed from the other VPGs that are protecting them if the following conditions apply: |
|
•
|
The virtual machines are already protected in other VPGs |
|
•
|
Reverse protection is specified |
|
•
|
Keep Source VMs is not checked |
|
•
|
If there are no other virtual machines left to protect, the entire VPG will be removed. |
Protecting virtual machines or vCD vApps in several VPGs is enabled only if both the protected site and the recovery site, as well as the VRAs installed on these sites, are of version 5.0 and higher.
|
•
|
A warning appears informing the user that the virtual machines will be removed from the other VPGs that are protecting them. |
|
•
|
If there are no other virtual machines left to protect, the entire VPG will be removed. |
|
•
|
When reverse protection is specified for a VPG residing on a vCD site that is replicating to either a vSphere or Hyper-V site, the boot order settings will not reserve the start delay vCD vApp settings for virtual machines with the same order number. |
The MOVE step is displayed. The topology shows the number of VPGs and virtual machines being moved to each peer site. In the following example, 2 VPGs will be moved to Site6-Ent2-R2, and they contain 5 virtual machines; and 1 VPG will be moved to Site5-Ent2-P2-R2 and it contains 2 virtual machines.
|
9.
|
Click START MOVE to start the migration. |
A warning message appears, presenting a summary of your Commit Policy.
|
10.
|
Review the Commit Policy summary, and either click Change Settings, or click START MOVE to start the migration. |
|
Note:
|
If a virtual machine exists on the recovery site with the same name as a virtual machine being migrated, the machine is moved and named in the peer site with a number added as a suffix to the name, starting with the number 1. |
The status icon changes to orange and an alert is issued, to warn you that the procedure is waiting for either a commit or rollback.
All testing done during this period, before committing or rolling back the Move operation, is written to thin‑provisioned virtual disks, one per virtual machine in the VPG. These virtual disks are automatically defined when the machines are created on the recovery site for testing. The longer the test period the more scratch volumes are used, until the maximum size is reached, at which point no more testing can be done. The maximum size of all the scratch volumes is determined by the journal size hard limit and cannot be changed. The scratch volumes reside on the storage defined for the journal. Using these scratch volumes makes committing or rolling back the Move operation more efficient.
|
Note:
|
You cannot take a snapshot of a virtual machine before the Move operation is committed and the data from the journal promoted to the moved virtual machine disks, since the virtual machine volumes are still managed by the VRA and not directly by the virtual machine. Using a snapshot of a moved machine before the Move operation has completed will result in the creation of a corrupted virtual machine. |
|
12.
|
Check the virtual machines on the recovery site, then either: |
|
•
|
Wait for the specified Commit Policy time to elapse, and the specified operation, either Commit or Rollback, is performed automatically. |
|
•
|
Or, in the specific VPG tab, click the Commit or Rollback icon ( ). |
|
•
|
Click Commit to confirm the commit and, if necessary set, or reset, the reverse protection configuration. If the protected site is still up and you can set up reverse protection, you can reconfigure reverse protection by checking the Reverse Protection checkbox and then click the Reverse link. Configuring reverse protection here overwrites any of settings defined when initially configuring the failover. |
|
•
|
Click Rollback to roll back the operation, removing the virtual machines that were created on the recovery site. If the source VM was powered off, it will power back on when the VPG rolls back. If the source VM is powered on, it will remain as powered on after the rollback. The Rollback dialog is displayed to confirm the rollback. |
You can also commit or roll back the operation in the TASKS popup dialog in the status bar or under MONITORING > TASKS.
After the virtual machines are up and running and committed in the recovery site, the powered off virtual machines in the protected site are removed from the protected site. Finally, data is promoted from the journal to the moved virtual machines.
|
Note:
|
If virtual machines are protected in several VPGs, reverse protection is selected and Keep source VMs is not checked, the virtual machines are deleted from the protected site. This will result in the removal of these virtual machines from other VPGs that are protecting them and to the journals of these VPGs to be reset. If no other virtual machines are left to protect, the entire VPG will be removed. |
Protecting virtual machines in several VPGs is enabled only if both the protected site and the recovery site, as well as the VRAs installed on these sites, are of version 5.0 and higher.
During promotion of data, you cannot move a host on the moved virtual machines.If the host is rebooted during promotion, make sure that the VRA on the host is running and communicating with the Zerto Virtual Manager before starting up the recovered virtual machines.
|
Note:
|
If the virtual machines do not power on, the process continues and the virtual machines must be manually powered on. The virtual machines cannot be powered on automatically in a number of situations, such as when there are not enough resources in the resource pool or the required MAC address is part of a reserved range or there is a MAC address conflict or IP conflict, for example, if a clone was previously created with the MAC or IP address. |
The following conversions are done to a protected virtual machine when it is recovered in vCenter Server:
|
•
|
Virtual machines are recovered in vCenter Server with the highest hardware version supported by the vCenter Server host version under which the virtual machine is recovered. |
|
•
|
A Generation 1 virtual machine is recovered in vCenter Server with BIOS with the highest supported hardware version. |
|
•
|
A Generation 2 virtual machine is recovered in vCenter Server with EUFI. The host in vCenter must support hardware version 8 or higher. Also the following restrictions apply for Generation 2 virtual machines: |
|
•
|
The secure boot option for the machine in Hyper-V must be disabled. |
|
•
|
The boot disk must be less than 2TB if the recovery host version is lower than ESXi 5.5. |
|
•
|
All IDE disks are converted to SCSI disks. The boot disk is ported to a disk on a SCSI controller with location 0:0. |
|
•
|
Recovered virtual machines use the VMware Virtual E1000 network adapter. |