Before we can continue to actually replicate between two main site i configure a new lab , please see the post name: replication – lab preparation
and in this post we will cover the following objectives from the blueprint:
- Deploy a pair of vSphere Replication virtual appliances
- Configure vSphere Replication for Single/Multiple VMs
- Recover a VM using vSphere Replication
- Perform a failback operation using vSphere Replication
- Configure recovery point objective (RPO) for a protected virtual machine
Deploy a pair of vSphere Replication virtual appliances:
So after we learn how to install vRA and configure two Datacenters we now can configure replication between sites.
We first need to pair the two vRA’s to do that follow the following steps :
Make sure that vRA availability status is OK in both datacenters.
Click on vCenter server object >> manage >> vSphere replication >> target sites and add
Provide the information for the second datacenter and click login
Make sure you are connected on both sites
i also needed to authenticate on the remote site.(right click and authenticate)
Configure vSphere Replication for Single/Multiple VMs:
To replicate a VM to our remote site right click on the VM and choose All cSphere Replication Actions and configure replication
Now lets follow the wizard , choose Replicate to vCenter server (we didnt discuss yet cloud providers)
Choose the vCenter
Choose Replication server (we only have one in the lab)
edit the setting for the target location
Enable compression or quiescing if needed
Setup RPO(more on that later)
Monitor switch to the monitor tab >> outgoing replication
Recover a VM using vSphere Replication:
To recover a VM from replication under the same screen click on the incoming Replication , right clock on the VM and click recover and follow the wizard.choose “use the latest available data” or you can choose the first option if the VM is available but in our case its not.
Choose the folder to recover in the DR datacenter
Choose the host and click finish
Perform a failback operation using vSphere Replication
Failback is the same as the first talk (to replicate to the DR site) but in reverse,.
Configure recovery point objective (RPO) for a protected virtual machine:
The Recovery Point Objective (RPO) value you set during replication configuration affects replication scheduling.
Lower the RPO reduce potential data loss but it come with cost which is bandwidth
When you set the RPO you basically say what is the max data loss that you can handle since the last backup took place,Think about it this way if the replication process took 2 min to complete,on the DR site , the most current data for that VM is 2 min old.
Thanks for reading