Protecting From a vCenter Server - To an AWS Recovery Site
Use the following procedure to create a virtual protection group to protect to AWS.
To create a virtual protection group (VPG) to recover in AWS:
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 the VMs that will be part of this VPG and click the arrow pointing right to include these VMs in the VPG.
■ When using the Search field, you can use the wildcards; * or ?.
Virtual machines that are not yet protected are displayed in the list. A VPG can include virtual machines that are not yet protected and virtual machines that are already protected.
5. You can view protected virtual machines in the Advanced (One-to-Many) section, by clicking Select VMs.
The Select VMs dialog is displayed.
Note: Virtual machines can be protected in a maximum of three VPGs. These VPGs cannot be recovered to the same site. Virtual machines protected in the maximum number of VPGs are not displayed in the Select VMs dialog.
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.
6. To define the boot order of the virtual machines in the VPG, click DEFINE BOOT ORDER, otherwise go to the next step.
When virtual machines in a VPG are started in the recovery site, by default these machines are not started up in a particular order. If you want specific virtual machines to start before other machines, you can specify a boot order. The virtual machines are defined in groups and the boot order applies to the groups and not to individual virtual machines in the groups. You can specify a delay between groups during startup.
Note: Up to five (5) virtual machines may boot on a host simultaneously. Following the boot, a 300 second (default) delay occurs until the next boot batch.
Initially, virtual machines in the VPG are displayed together under the Default group. If you want specific machines to start before other virtual machines, define new groups with one or more virtual machines in each group.
7. Click ADD GROUP to add a new group. Then, do the following:
a) To change the name of a group, click the Pencil icon next to the group.
b) To delete a group, click the delete icon on the right side. You cannot delete the Default group nor a group that contains a virtual machine.
c) Drag virtual machines to move them from one group to another.
d) Drag groups to change the order the groups are started, or, optionally, in Boot Delay, specify a time delay between starting up the virtual machines in the group and starting up the virtual machines in the next group.
For Example: Assume three groups, Default, Server, and Client, defined in this order. The boot delay defined for the Default group is 10, for the Server group is 100, and for the Client group 0. The virtual machines in the Default group are started together and after 10 seconds the virtual machines in the Server group are started. After 100 seconds the virtual machines in the Client group are started.
e) Click OK to save the boot order.
When configuring boot order settings, define the boot disk to be first in the boot sequence in order to avoid boot failure.
8. 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, as shown below.
9. Specify the recovery site.
■ Recovery Site: The site to which you want to recover the virtual machines. After specifying the recovery site, other fields are displayed.
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 cannot select a recovery site if any of the virtual machines you selected are already in VPGs that recover to that site.
10. Optionally, change the default SLA values:
■ 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.
Select the number of hours from 1 to 24 or the number of days from 2 to 30.
11. Target RPO Alert: The maximum desired time between each automatic checkpoint write to the journal before an alert is issued.
12. 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.
13. 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 Virtual Replication displays its storage-related information.
14. Specify whether the protected volume is a temp data disk.
Temp Data: If the virtual machine to be replicated includes a temp data disk as part of its configuration, 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.
15. Click NEXT.
The RECOVERY step is displayed. Recovery details include the networks, security group, instance family, and instance type to use for failover, move, and testing failover, and whether scripts should run as part of the recovery process.
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.
16. Select recovery settings for failover/move and failover testing.
Import Method
The Import Method drop-down list allows you to select an import method.
■ Zerto Import for data volumes: Uses the zImport method for data volumes only. This is the default setting and usually has a faster RTO than AWS Import.
■ Zerto Import for all volumes: This is usually the fastest import method and uses a zImport VM for all volumes.
IMPORTANT: When using this import method, the following setup steps must be performed on the protected virtual machine prior to the start of recovery operations to ensure that the virtual machine will be able to run on the recovery site. This is applicable if the protected virtual machine using this import method is running Windows.
a) Go to https://www.xenproject.org/downloads/windows-pv-drivers/winpv-drivers-81/winpv-drivers-820.html
b) Follow the instructions at the site for downloading and installing all the Windows PV Drivers 8.2.0 drivers.
Notes:
■ This import method cannot be used for the recovery of protected virtual machines running Windows Server 2008R2. To support this operating system please contact Zerto support.
■ If these drivers are installed on a VM running Windows Server 2008R2, the import of the VM using either the Zerto Import for data volumes or AWS Import method will fail.
■ AWS Import: This was the only import method supported until version 5.5.
VPC Network: The virtual network dedicated to your AWS account. A security group and subnet must be assigned to this VPC.
Subnet: The subnet for the VPC network.
Depending on the import method selected, the list of subnets available for selection is shown.
Zerto Import - zImport: The subnet drop-down list shows the options available when either the Zerto Import for data volumes or the Zerto Import for all volumes is selected. Only the subnets that are supported by the zImport method are selectable. Other Subnets are grayed out and are not selectable.
Note: The zImport virtual machine must have access to the internet in order to access the S3 Bucket and the AMI in EC2. The only network in the customer environment that is certain to have internet access is the network that the ZCA is connected to. If the import method is not AWS Import, then the user can select only subnets that are part of the same Availability Zone as the one in which the ZCA resides. Other Subnets are disabled.
AWS Import: The Subnet drop-down list shows options available when AWS Import method is selected. All subnets are listed. A tool tip alert is displayed when the user hovers over a subnet that is not supported.
Note: If a subnet is chosen in a network that is not in the same Availability Zone as the one in which the ZCA resides, options that utilize the zImport method will not be made available for selection.
Security Group: The AWS security to be associated with the virtual machines in this VPG.
Instance Family: The instance family from which to select the type. AWS instance families are optimized for different types of applications. Choose the instance family appropriate for the application being protected in the VPG.
Instance Type: The instance type, within the instance family, to assign to recovered instances. Different types within an instance family vary, for example in vCPU, RAM, and local storage size. Choose the instance type appropriate for the application being protected in the VPG. The price per instance is related to the instance configuration.
17. For additional settings, click ADVANCED VM SETTINGS.
The Advanced VM Settings window is displayed, which shows the recovery network settings for FAILOVER/MOVE for virtual machines in the VPG. You can see the recovery network settings for failover tests by clicking TEST.
18. To edit information in one field, click the field and update the information.
19. To edit information for several virtual machines at the same time, select the virtual machines and click EDIT SELECTED.
The Edit VM Settings dialog is displayed.
20. Update the values for Import Method, VPC network, subnet, security group, instance family, instance type, and private IP as necessary.
Note: Only private IPs specified for Windows machines are assigned during a recovery operation. For Linux machines, the IP is assigned from the specified subnet range.
Clearing the values in the Private IP field results in an IP being automatically assigned from the subnet range during a recovery operation.
See the
Zerto Virtual Replication Interoperability Matrix for the list of operating systems for which Zerto supports re-IP.
21. Click OK twice to return to the main page of the RECOVERY step.
22. Enter the name of the script to run in the Command to run text box. You can then enter details about the script.
■ 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 |
Command to run | The full path of 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. ■ If the script runs before executing a failover, move, or test failover, and the script fails or the timeout value is reached, an alert is generated and the failover, move, or test failover is not performed. ■ If the script runs after executing a failover, move, or test failover, and the timeout value is reached, an alert is generated. ■ The default time-out value is specified in Site Settings > Performance and Throttling tab. |
23. Click NEXT.
The BACKUP step is displayed. Backup properties govern the VPG backup, including the repository where the backups are saved. Backup extends the ability to recover virtual machines in a VPG for up to one year.
24. By default, backup is
OFF. To keep this value, go to step
26.
25. Otherwise, toggle OFF to ON and enter the following information:
■ Retention Period: The length of time to keep offsite backups, up to a maximum of one year. For details of how this affects the number of backups saved, see
“Offsite Backups”, on page 44.
■ Run Job Every: The day and time to start the backup.
■ Retries: Whether to rerun the backup job automatically if the job fails. If you select this option, you must also define the number of retries that will be attempted and the time to wait after a job fails before running the backup job again.
■ Post-Backup Script: The information about a script that should run at the end of the recovery process. Enter the following information:
Text Box | Description |
Command to run | The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site. |
Parameters | The values of parameters to pass to the script. Separate parameters with a space. |
Timeout | The time-out, in seconds, for the script to run. If the timeout value is reached, an alert is generated. The default time-out value is specified in the Performance and Throttling tab of the Site Settings dialog. |
Note: You cannot restore a backup in AWS.
26. Click NEXT.
The SUMMARY step is displayed. It shows the VPG configuration that you defined in the previous steps.
27. Click DONE. The VPG is created.
For details of what happens after creating the VPG, see
“What Happens After the VPG is Defined”, on page 42.