Setting up Zerto Virtual Replication between two OVHcloud datacenters
Discover how to set up Zerto Virtual Replication between your Private Cloud platforms
Discover how to set up Zerto Virtual Replication between your Private Cloud platforms
Last updated 11th February 2022
This guide will present the concepts and steps required to setup Zerto Virtual Replication between two OVHcloud datacenters.
For instructions for cross platforms set up, please our guide on using Zerto between OVHcloud and a third party plateform.
Discover how to set up Zerto Virtual Replication between your Hosted Private Cloud platforms.
Zerto Virtual Replication is a disaster recovery solution for vSphere. It enables replication virtual machines between Private Cloud platforms by capturing and propagating all disk operations to secondary site. It allows automation and orchestration of actual failover or failover tests between sites.
Zerto works by deploying specific virtual machines on each hypervisor called Virtual Replication Appliance. They have a predefined configuration:
All VRA are stored on a specific datastore, provided by OVHcloud.
During deployement, VRA are deployed on source and destination sites, and then are paired together to start replication. Since Zerto does not encrypt the dialog between VRA, OVHcloud automatically deploys a VPN tunnel between the VRA through the L2VPN appliance, to protect in-flight data.
Before starting the replication, VMs must be grouped in a logical container called Virtual Protection Group, on which all replication parameters will be defined. It allows to apply consistent parameters accross a group of VMs that share the same replication requirements, (typically VMs that belong to the same function or application),
VPGs can be prioritised to make the most efficient usage of available bandwidth.
From your OVHcloud Control Panel, go to "Server/Private Cloud". Select your primary site, then go ton the "Disaster Recovery" tab.
Select Between two OVHcloud Private Cloud solutions then click Activate Zerto DRP
.
Selection of the primary Private Cloud and data centre is done automatically depending on where you are connecting from.
From the drop-down menu, select a free public IP from the IP range attached to the Private Cloud. It will be used to setup the VPN tunnel between the 2 platforms.
Click Next
.
Secondary site selection must be done from available Private Cloud in the drop-down menu. Please note that the list will show only Private Clouds meeting all the following requirements:
Select the data centre from the secondary Private Cloud in the drop-down menu. The, select an unused IP address from the public IP range attached to the secondary Private Cloud. It will be used for the secondary VPN endpoint.
Click Next
.
Activation request confirmation, as shown on screen, deployment can take up to one hour, if all provided information is correct (for example, if the IPs given in the wizard are already in use, the activation will fail).
Once the activation has successfully completed, you will receive an email summary of the configuration and the links to the Zerto interface of both sites.
Dear Customer,
You have just enabled the Zerto DRP solution between 2 of your Private Cloud solutions.
You can log in to the main website via the following address:
You can log in to the secondary website via the following address:
You can authenticate with your administrator accounts the same way as you do for vSphere.
The interface is reachable both from primary and secondary platforms through:
As indicated in the summary email, you can log in with your PCC account.
Once logged in, you arrive on the Zerto dashboard:
You will find there:
From Actions
, select Create VPG
First step General:
Click NEXT
.
In the next step you need to select the VMs that will be in the VPG.
A VM can only belong to a single VPG.
Click NEXT
.
Next step is the selection of the secondary site:
Now you must define the default recovery resources:
You can keep the default values for the other settings. Click NEXT
.
In this step you can override the default recovery resources for specific VMs.
If it is not necessary, you can click NEXT
.
Now you need to define the default network to use during test failovers and actual failovers.
Pre-recovery Script and Post-recovery Script are locked down, these features are not enabled.
Click NEXT
.
In this second step, you have the possibility to override the default recovery networks for each VM, and specify the IP addresses to use in case of a test or an actual failover.
The modification of the IP adress during failover is only possible for supported OSes with functioning VMware Tools
Click NEXT
.
Long term retention is disabled, click NEXT
.
The last screen summarize the settings for the new VPG. If everything is OK, click DONE
.
On the dashboard, you will see the new VPG with a status "Initializing".
After having configured your VPG and once the initial replication has completed, you can now test Zerto failover features.
A failover test has NO impact on the production site, you only need to make sure that the VMs that are being failed-over are are starting in an isolated network and/or different IPs to avoid network conflicts. All the VMs instantiated during the failover test are fully managed by Zerto. You should not remove or modifiy them; they will be removed automatically at the end of the failover test. The replication keeps running during the failover tests and is not impacted in any way.
From the interface, click on the bottom right button FAILOVER
(the toggle is by default on TEST).
If the button is greyed out, it is because there is no available VPG to perform a test (initialisation is not finished or there is an issue with the VPG).
The failover wizard appears with eligible VPGs, their replication direction (in or out), destination site and service level status (Meeting SLA).
You have 2 options:
Click NEXT
.
In this case we have chosen to do a full VPG failover.
You can now check the settings for the failovers:
Click NEXT
.
The summary screen is displayed. If everything is OK, you can start the test by clicking START FAILOVER TEST
.
You can log in on the remote site vCenter and see the VMs starting. You can then check if everything is working correctly on the remote site.
When all checks have been performed, you can stop the test by clicking on the little red box right next to Testing Failover.
At this stage, you can add a result of the test for future reference.
Confirm the end of the test by clicking STOP
.
Clean-up operations are launched right away on the remote site.
You can launch a full failover from the secondary site, in case the primary site has been rendered unusable by a disaster.
If you trigger an actual failover when the primary site is still available, you have the possibility to properly shut down the VMs on the primary site. If not, be careful with the network configuration to make sure to prevent IP conflicts between primary and secondary instances of VMs.
Please note that, contrary to what happens during a test failover, replication operations are stopped during an actual failover.
To start a complete failover, you need to set the toggle on LIVE before pushing the failover button. (The banner at the bottom of the page becomes red to warn you that going further may have an impact on your VMs.)
Click FAILOVER
.
A screen will appear indicating the available VPGs, the direction of replication, the destination site, and if the level of protection is correct (Meeting SLA). You can decide on the failover parameters, just like during a test failover: which VPGs to failover, the replication direction, VPGs status (Meeting SLA).
Click NEXT
.
We have decided to failover a single VPG.
We have a summary of the failover parameters:
There are 3 Commit Policy settings:
For all automatic actions, the default timer is 60 minutes.
Click NEXT
.
The summary screen is displayed. If everything is OK, you can start the test by clicking START FAILOVER
.
Please read the summary and all associated warnings carefully.
If you have selected an Automatic Policy, you will receive a warning about its impact.
Confirm with START FAILOVER
.
Failover starts, you can follow the actions from the secondary vCenter. Validate the successfull start of VMs on secondary platform.
After the failover has completed, you will see an pending task as long as you have not committed or failed back the operation (through the small icons near the VPG name).
When you commit the data on the secondary site, you can automatically set up the protection (Reverse Protection).
Validate with COMMIT
.
If you check the VPG, you will see that the replication direction has changed.
Depending on failover options, the failback (if needed) may require differents steps.
Discuss with other Zerto users on https://community.ovh.com/.
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community