Replication From a Protected Site vCD to a Recovery Site vCenter Server
If you want to recover to a vCenter Server, the vCD vApp is replicated in the recovery site as individual VMs.
To create a VPG to protect a vCD vApp to a vCenter Server:
1. | In the Zerto User Interface, select Actions > Create VPG. |
The General step of the Create VPG wizard is displayed.
2. | Specify the name of the VPG and the priority of the VPG. |
• | VPG Name: The VPG name must be unique. The name cannot be more than 80 characters. |
• | Priority: Determine the priority for transferring data from the protected site to the recovery site when there is limited bandwidth and more than one VPG is defined on the protected site. |
• | High Priority: When there are updates to virtual machines protected in VPGs with different priorities, updates from the VPG with the highest priority are passed over the WAN first. |
• | Medium Priority: Medium priority VPGs will only be able to use whatever bandwidth is left after the high priority VPGs have used it. |
• | Low Priority: Low priority VPGs will use whatever bandwidth is left after the medium priority VPGs have use it. |
Updates to the protected virtual machines are always sent across the WAN before synchronization data, such as during a bitmap or delta sync.
During synchronization, data from the VPG with the highest priority is passed over the WAN before data from medium and low priority VPGs.
3. | Click NEXT. |
The VMs step is displayed.
4. | Select vCloud Director then select the vCD vApp to protect in this VPG. The protected vCD vApp is recovered as a vCD vApp. |
• | When using the Search field, you can use the wildcards; * or ? |
• | Zerto uses the SCSI protocol. Only virtual machines with disks that support this protocol can be specified. |
• | Only one vApp. |
• | vApps that are not yet protected. |
• | vApps that are already protected. |
5. | To view protected vApps, in the Advanced (One-to-Many) section, click Select vApp. |
The Select vApp window is displayed.
Note: | With the One-to-Many feature, a VPG containing a single vApp can be recovered to a maximum of three different sites and cannot be recovered to the same site more than once. |
vApps protected in the maximum number of VPGs are not displayed in the Select VMs window.
Protecting vApps in several VPGs is enabled only if both the protected and recovery sites, and the VRAs installed on these sites, are of version 5.0 and higher.
Note: | Define any required boot order for vCD vApps in the vCloud Director console. |
6. | Click NEXT. |
The Replication step is displayed.
Note: | If the protected site is paired with only one recovery site, the recovery step is displayed with the Recovery Site field automatically filled in and defaults set for the SLA and Advanced settings, as shown below. |
7. | In the Replicate To area, specify VC as the recovery site and default values to use for the replication to this site. |
This is the site to which you want to recover the virtual machines. After specifying the recovery site, other fields are displayed including the host and datastore to use for replication.
8. | ZORG: If the site is defined in Zerto Cloud Manager, select the name used by the cloud service provider (CSP) to identify you as a Zerto Organization (ZORG). For details about Zerto Cloud Manager, see Zerto Cloud Manager Administration Guide. |
You cannot select a recovery site if any of the virtual machines you selected are already in VPGs that recover to that site.
9. | Host: The default cluster, resource pool or host in the recovery site that handles the replicated data. |
If the site is defined in Zerto Cloud Manager, only a resource pool can be specified and the resource pool must also have been specified as a resource in Zerto Cloud Manager.
Note: | If Zerto Cloud Manager is used, vSphere Standard edition cannot be used. |
For details about Zerto Cloud Manager, see Zerto Cloud Manager Administration Guide.
When a resource pool is specified, Zerto checks that the resource pool capacity is enough for any virtual machines specified in the VPG.
All resource pool checks are made at the level of the VPG and do not take into account multiple VPGs using the same resource pool. If the resource pool CPU resources are specified as unlimited, the actual limit is inherited from the parent but if this inherited value is too small, failover, move, and failover test operations can fail, even without a warning alert being issued by Zerto Virtual Manager.
Note: | If a resource pool is specified and DRS is disabled for the site later on, all the resource pools are removed by VMware and recovery will be to any one of the hosts in the recovery site with a VRA installed on it. |
Datastore: The default datastore to use for recovered virtual machine files and for their data volumes. Every datastore for the selected recovery host is included in the drop-down list. If a cluster or resource pool is selected for the host, only datastores that are accessible by every host in the cluster or resource pool are displayed.
10. | Define the Service Level Agreement for which this VPG is associated. |
• | When Zerto Cloud Manager is used, select the Service Profile to use. |
The Service Profile determines the VPG SLA settings for the group. This applies predefined settings for the Journal History, Target RPO Alert and the Test Reminder. These settings apply to every virtual machine in the group.
• | When a Custom service profile is available, the VPG SLA settings are editable, and the Advanced button becomes available. When you change these settings, they apply to every virtual machine in the group. |
11. | To change the default Journal definitions, click Advanced. The Advanced Journal Settings dialog is displayed. |
Setting & Description | Select... | ||||||
---|---|---|---|---|---|---|---|
Journal History | |||||||
The time that all write commands are saved in the journal. The longer the information is saved in the journal, the more space is required for each journal in the VPG. |
|
||||||
|
|||||||
Default Journal Storage (Hyper-V), or Default Journal Datastore (vSphere) | |||||||
The storage/datastore used for the journal data for each virtual machine in the VPG.
|
|
||||||
Journal Size Hard Limit | |||||||
The maximum size that the journal can grow, either as a percentage or a fixed amount. The journal is always thin-provisioned.
|
|
||||||
|
|||||||
|
|||||||
Journal Size Warning Threshold | |||||||
The size of the journal that triggers a warning that the journal is nearing its hard limit. |
|
||||||
|
|||||||
|
|||||||
*The values of Size and Percentage must be less than the configured Journal Size Hard Limit so that the warning will be generated when needed. In addition to the warning threshold, Zerto will issue a message when the free space available for the journal is almost full. |
12. | Click OK. |
• | Target RPO Alert: The maximum desired time between each automatic checkpoint write to the journal before an alert is issued. |
• | Test Reminder: The amount of time in months recommended between each test, where you test the integrity of the VPG. A warning is issued if a test is not performed within this time frame. |
Note: | WAN Traffic Compression is enabled by default when replicating to vCD. |
• | Enable WAN traffic compression if network considerations are more critical than CPU usage considerations. |
• | When WAN compression is enabled, the compressed data is written in compressed format to the recovery site journal. Even if WAN compression is selected, Zerto decreases the level of compression if it takes too many resources. The VRA automatically adjusts the compression level according to CPU usage, including totally disabling it if needed. Zerto recommends enabling WAN compression. |
• | Zerto can also work with third-party WAN optimization and acceleration technologies, such as those supplied by Riverbed Technologies and Silver Peak. |
• | When third-party WAN optimization is implemented, Zerto recommends disabling VPG WAN compression. |
14. | To change the replication settings per virtual machine, click VM Settings. |
The Advanced VM Replication Settings window is displayed.
In this window, you can edit the values of one or more of the virtual machines in the VPG.
All the virtual machines from a vCD vApp are displayed.
15. | To edit information in one field, click the field and update the information. |
16. | To edit information for several virtual machines at the same time, select the virtual machines and click EDIT SELECTED. |
The Edit VM window is displayed.
17. | Configure as follows: |
Setting & Description | Select... | ||||||
---|---|---|---|---|---|---|---|
Recovery Host (not relevant when replicating to vCD) | |||||||
(Hyper-V) The cluster or host that will host the recovered virtual machine. | |||||||
(vSphere) The cluster, resource pool, or host that will host the recovered virtual machine. If the site is defined in Zerto Cloud Manager, only a resource pool can be specified and the resource pool must also have been defined in Zerto Cloud Manager. For details about Zerto Cloud Manager, see Zerto Cloud Manager Administration Guide. When a resource pool is specified, Zerto checks that the resource pool capacity is enough for all the virtual machines specified in the VPG |
When a resource pool is specified, Zerto checks that the resource pool capacity is enough for all the virtual machines specified in the VPG. If a resource pool is specified and DRS is disabled for the site later on, all the resource pools are removed by VMware and recovery is to any one of the hosts in the recovery site with a VRA installed on it. All resource pool checks are made at the level of the VPG and do not take into account multiple VPGs using the same resource pool. If the resource pool CPU resources are defined as unlimited, the actual limit is inherited from the parent but if this inherited value is too small, failover, move, and failover test operations can fail, even without a warning alert being issued by Zerto Virtual Manager. |
||||||
VM Recovery Datastore (vSphere) (not relevant when replicating to vCD) | |||||||
The datastore where the VMware metadata files for the virtual machine are stored, such as the VMX file. | If a cluster or resource pool is selected for the host, only datastores that are accessible by every ESX/ESXi host in the cluster or resource pool are displayed. This is also the datastore where RDM backing files for recovery volumes are located. | ||||||
Recovery Storage (Hyper-V) (not relevant when replicating to vCD) | |||||||
The location where the metadata files for the virtual machine are stored, such as the VHDX file. I | If a cluster is selected for the host, only storage that are accessible by every host in the cluster are displayed. | ||||||
Journal Size Hard Limit | |||||||
The maximum size that the journal can grow, either as a percentage or a fixed amount.
|
Unlimited: The size of the journal is unlimited and it can grow to the size of the recovery storage/datastore. If Unlimited is selected, Size and Percentage options are not displayed. |
||||||
Size (GB): The maximum journal size in GB.
|
|||||||
Percentage: The percentage of the virtual machine volume size to which the journal can grow.
|
|||||||
Journal Size Warning Threshold | |||||||
The size of the journal that triggers a warning that the journal is nearing its hard limit. | Unlimited: The size of the journal is unlimited and it can grow to the size of the recovery storage/datastore. If Unlimited is selected, Size and Percentage options are not displayed. |
||||||
Size* (GB): The size in GB that will generate a warning. | |||||||
Percentage*: The percentage of the virtual machine volume size that will generate a warning. | |||||||
*The values of Size and Percentage must be less than the configured Journal Size Hard Limit so that the warning will be generated when needed. In addition to the warning threshold, Zerto will issue a message when the free space available for the journal is almost full. |
|||||||
Journal Storage (Hyper-V), or Journal Datastore (vSphere) (not relevant when replicating to vCD) | |||||||
The storage/datastore used for the journal data for each virtual machine in the VPG. | (vSphere) To change the default, specify a host and then select one of the datastores accessible by this host to be used as the journal datastore. When you select specific journal datastore, the journals for each virtual machine in the VPG are stored in this datastore, regardless of where the recovery datastores are for each virtual machine. In this case, all the protected virtual machines must be recovered to hosts that can access the specified journal datastore. (Hyper-V) To change the default, specify a host and then select the storage location accessible by this host to be used as the journal storage. When you select specific journal storage, the journals for each virtual machine in the VPG are stored in this storage, regardless of where the recovery storage is for each virtual machine. In this case, all the protected virtual machines must be recovered to hosts that can access the specified journal storage. |
18. | Click OK. |
19. | In the Advanced VM Replication Settings window, click OK. |
20. | Click NEXT. |
The Storage step is displayed.
By default the storage used for the virtual machine definition is also used for the virtual machine data.
For each virtual machine in the VPG, Zerto displays its storage-related information.
Note: | Steps that do not require input are marked with a check mark. You can jump directly to a step that has been marked with a check mark to edit the values for that step. Every step must be marked with a check mark before you can click DONE to create the VPG. |
You can define Thin provisioning and Temp Data in this window, or you can alternatively define them when you separately select and edit each VMs volume.
Important:
Changing the VPG recovery volume from thin-provisioned to thick-provisioned or vice versa, results in volume initial synchronization.
See the following considerations regarding Thin provisioning:
• | Unless the user explicitly requests Thin provisioning, provisioning type is the same type as provisioning in the source VM. |
• | If the source disk is Thin provisioned, the default for the recovery volume is also Thin provisioned. |
• | If the user uses preseed disks, Zerto maintains the provisioning types of the disks, so they can have other provisioning types. |
Preseed | Provisioning in the Recovery VM | ||||||
---|---|---|---|---|---|---|---|
Not selected |
|
||||||
Selected |
|
21. | To define whether the recovery volumes are thin-provisioned or not, select the Thin check box. |
22. | If the virtual machine to be replicated includes a temp data disk as part of its configuration, select the Temp Data check box to mark the recovery disk for this disk as a temp data disk. In this case, data is not replicated to the temp data disk after initial synchronization. |
23. | To edit storage information for one of the virtual machines' volume location, first select the virtual machine, then click EDIT SELECTED. The Edit Volumes window is displayed. |
• | For Hyper-V recovery environments, the following window appears. For details, click here. |
• | For vSphere recovery environments, the following window appears. For details, click here. |
• | For vCD recovery environments, the following window appears. For details, click here. |
Setting & Description | Select... | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Volume Source | ||||||||||||||||||||||||||||||||||||||||||||||
|
The amount of additional space needed for the journal can be fixed by specifying a maximum size for the journal, or can be calculated as the average change rate for the virtual machines in the VPG, multiplied by the length of time specified for the journal history. For more details, see Zerto Scale and Benchmarking Guidelines, in the section Estimating WAN Bandwidth for VMware and Hyper-V. |
|||||||||||||||||||||||||||||||||||||||||||||
Zerto recommends using this option particularly for large disks so that the initial synchronization will be faster since a Delta Sync can be used to synchronize any changes written to the recovery site after the creation of the preseeded disk. When not using a preseeded disk, the initial synchronization phase must copy the whole disk over the WAN. When using a preseeded virtual disk, you select the storage and exact location, folder, and name of the preseeded disk. Zerto takes ownership of the preseeded disk, moving it from its source folder to the folder used by the VRA. Only disks with the same size as the protected disk can be selected when browsing for a preseeded disk. The storage where the preseeded disk is placed is also used as the recovery storage for the replicated data. |
||||||||||||||||||||||||||||||||||||||||||||||
(vSphere) Select a Volume Source for recovery from one of the drop-down options:
|
Volume Source > Datastore: A new volume is used for replicated data.
Then, define the following:
For more details, see Zerto Scale and Benchmarking Guidelines, in the section Estimating WAN Bandwidth for VMware and Hyper-V. |
|||||||||||||||||||||||||||||||||||||||||||||
Volume Source > RDM: The VMware RDM (Raw Device Mapping) which will be used for the replication.![]() By default, RDM is recovered as thin-provisioned VMDK in the datastore specified in the VM Recovery Datastore/Storage field in the Edit VM dialog, and not to RDM. Only a raw disk with the same size as the protected disk can be selected from the list of available raw disks. Other raw disks with different sizes are not available for selection. The RDM is always stored in the recovery datastore, used for the virtual machine. The following limitations apply to protecting RDM disks:
|
||||||||||||||||||||||||||||||||||||||||||||||
(vSphere) Volume Source continued | Volume Source > Preseeded volume: Select this when you want to copy the protected data to a virtual disk in the recovery site. ![]() Consider the following, then proceed to define the Datastore and the Path:
|
|||||||||||||||||||||||||||||||||||||||||||||
(vCD) Select a Volume Source for recovery from one of the drop-down options:
|
Volume Source > vCD managed storage policy: Zerto will select a datastore, from the list of available datastores, in the selected Storage Policy in which to place the Volume, unless the datastore is excluded in the Configure Provider vDCs Dialog.
Select this when you want to copy the protected data to a virtual disk in the recovery site.
|
|||||||||||||||||||||||||||||||||||||||||||||
(vCD) continued | Storage Policy: Specify the Storage Policy for recovery from one of the options:
|
|||||||||||||||||||||||||||||||||||||||||||||
Temp Data disk | ||||||||||||||||||||||||||||||||||||||||||||||
If the virtual machine to be replicated includes a temp data disk as part of its configuration. | Specify a mirror disk for replication that is marked as a temp data disk. In this case, data is not replicated to the temp data disk after initial synchronization. |
|||||||||||||||||||||||||||||||||||||||||||||
Thin provisioning (vSphere) | ||||||||||||||||||||||||||||||||||||||||||||||
If the recovery volumes are thin-provisioned or not. | If the source disk is thin provisioned, the default for the recovery volume is also thin provisioned. vCD only: Unless the Org vDC only supports thin-provisioned volumes. |
|||||||||||||||||||||||||||||||||||||||||||||
Dynamic provisioning (Hyper-V) | ||||||||||||||||||||||||||||||||||||||||||||||
If the recovery volumes are dynamic-provisioned or not. | If the source disk is dynamic provisioned, the default for the recovery volume is also dynamic provisioned. vCD only: Unless the Org vDC only supports dynamic-provisioned volumes. |
You can use the vSphere Client console Performance tab for each virtual machine to help estimate the change rate. For more details, refer to WAN Sizing Requirements with Zerto .
24. | Click OK. |
25. | Click NEXT. |
The Recovery step is displayed. Recovery details include the networks to use for failover, move, and for testing failover, and whether scripts should run as part of the recovery operation.
26. | Select the default recovery settings. These are applied to every virtual machine in the VPG. |
• | Failover/Move Network: The network to use during a failover or move operation in which the recovered virtual machines will run. |
27. | Recovery Folder: The folder to which the virtual machines are recovered. |
Note: | If the recovery site is a cloud service provider site, it is not possible to select a recovery folder. |
28. | To run pre and post recovery scripts, enter the path to the script to run. |
• | Pre-recovery Script: The information about a script that should run at the beginning of the recovery process. |
• | Post-recovery Script: The information about a script that should run at the end of the recovery process. |
For both types of scripts, enter the following information:
Text Box | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Script path | The full path to the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site. | |||||||||
Params | The parameters to pass to the script. Separate parameters with a space. | |||||||||
Timeout | The time-out, in seconds, for the script to run.
|
Note: | Pre and post recovery scripts run in parallel. Therefore, ensure that the pre and post recovery scripts don’t use common resources. |
29. | Click NEXT. |
The NICs step is displayed. In this step, you can specify the NIC details to use for the recovered virtual machines after a failover, a test failover, or migration.
30. | To edit information for several virtual machines at the same time, select the virtual machines and click EDIT SELECTED. |
31. | Otherwise, go to step 34. |
The Edit vNIC window is displayed.
Specify the network details to use for the recovered virtual machines after a failover or move operation, in the Failover/Move column, and for the recovered virtual machines when testing replication, in the Test column.
32. | In each column, specify the following: |
• | Network: The network to use for this virtual machine. |
• | Create new MAC address?: Whether the Media Access Control address (MAC address) used on the protected site should be replicated on the recovery site. The default is to use the same MAC address on both sites. Note that if you check this option, to create a new MAC address, and the current IP address is not specified, the protected virtual machine static IP address might not be used for the recovered virtual machine. |
• | Change vNIC IP Configuration?: Whether or not to keep the default virtual NIC (vNIC) IP configuration. The vNIC IP is only changed after recovery for virtual machines with VMware Tools running. |
See the Zerto Interoperability Matrix for the list of operating systems for which Zerto supports Re-IPing.
• | To change the vNIC IP, in the Failover/Move or Test column, select Yes. If you select to use a static IP connection, set the IP address, subnet mask, and default gateway. |
• | Optionally, change the preferred and alternate DNS server IPs and the DNS suffix. |
• | If you leave the DNS server and suffix entries empty, or select to use DHCP, the IP configuration and DNS server configurations are assigned automatically, to match the protected virtual machine. You can change the DNS suffix. |
• | If the virtual machine has multiple NICs but is configured to only have a single default gateway, fill in a 0 for each octet in the Default gateway field for the NICs with no default gateway. |
During a failover, move, or test failover, if the recovered virtual machine is assigned a different IP than the original IP, then after the virtual machine has started, it is automatically rebooted so that it starts up with the correct IP. If the same network is used for both production and test failovers, Zerto recommends changing the IP address for the virtual machines started for the test, so that there is no IP clash between the test machines and the production machines.
• | Copy to failover test: Select this to copy the settings in the Failover/Move column to the Test column. |
• | Copy to failover/move: Select this to copy the settings in the Test column to the Failover/Move column. |
33. | Click OK. |
34. | Click NEXT. |
The Retention Policy step is displayed. Retention properties govern the VPG retention, including the repository where the retention sets are saved.
35. | Toggle Long Term Retention from OFF to ON. |
The options on the screen become available.
Note: | When a VPG is recovered to a Public Cloud, Long Term Retention is not available. |
36. | Select the Target Repository from the drop-down list. This is the name of the Repository where the Retention sets are written. The Connection Type and Path of that Repository appear after selecting the Target Repository. |
37. | Select the VMs to index from the File System Indexing drop-down list. For details on file system indexing, Configuring File System Indexing. |
38. | Run all retention processes at: The time to start the Retention process. The time is shown in UTC and is according to the Zerto Virtual Manager clock in the production site. All Daily, Weekly, Monthly or Yearly retentions will run at this time. |
39. | Daily and Monthly retentions are toggled ON by default and the default Retention settings for Schedule, Type and Keep For appear. By default, all Retention processes are scheduled to run on the same day. |
40. | Toggle the Weekly or Yearly retentions from OFF to ON. The default Retention settings for Schedule, Type and Keep For appear. The Retention setting Keep For is the length of time to keep the Retention sets. For details of how this affects the number of Retention sets saved, Storing Retention Sets. |
Note: | Daily or Weekly Retentions must be configured. Weekly or Monthly retentions must be configured to Full. |
41. | To change the default settings, click the edit icon next to each Retention setting and configure the following: |
Setting & Description | Select... | ||||||||
Daily | |||||||||
Click the edit icon. The Daily Retention window is displayed.
|
|
||||||||
|
|||||||||
Weekly | |||||||||
Click the edit icon. The Weekly Retention window is displayed.
|
|
||||||||
|
|||||||||
|
|||||||||
|
|||||||||
Monthly | |||||||||
Click the edit icon. The Monthly Retention window is displayed.
|
|
||||||||
|
|||||||||
|
|||||||||
|
|||||||||
Yearly | |||||||||
Click the edit icon. The Yearly Retention window is displayed.
|
|
||||||||
|
|||||||||
|
42. | Retries: Select Automatic retry after failure to automatically rerun the Retention process, if the operation fails. |
• | If you select this option, you must also define Number of attempts, and the Wait time between retries. |
43. | Click NEXT. The Summary step appears, displaying the VPG’s configurations. |
44. | Click DONE. The VPG is created. |
For details of what happens after saving the VPG, see What Happens After the VPG is Defined.