Create VMware vSphere Site Recovery Manager 8.1 Replication Protection Group and Recovery Plan
We have been covering some facets of VMware’s Site Recovery Manager 8.1 that allows organizations to have a fully automated and orchestrated solution for vSphere recovery at the site level. It has tremendously powerful functionality allowing organizations to bolster their BC/DR and achieve a much higher level of resiliency. Additionally Site Recovery Manager allows businesses to test their DR plans by simulating failovers, etc. As we have already taken a look at installing SRM 8.1 and creating Site Pairs, let’s now look at how to Create VMware vSphere Site Recovery Manager Replication Protection Group and Recovery Plan to take a look at this process.
Creating a VMware vSphere Site Recovery Manager 8.1 Replication
The first thing we need to do to start thinking about protecting virtual machines at the site level is replicating the virtual machine to a secondary site.ย We have already looked at how we setup the site pair.ย After the two sites are connected, you can then create replication connections between them.ย Let’s take a look at creating a replication job.ย Click theย Replications tab and then select theย +NEW button under Forward replications.
- ***Note*** – A reverse replication of a virtual machine happens when a recovered virtual machine needs to be replicated back when the primary data center is back online.
Next, you need to select theย Virtual Machines that will be included in the replication.
The Target site is the configuration of the recovery site for the replication operation.ย The default selection is theย Auto-assign vSphere Replication Server.
On theย Target datastore screen, choose the destination storage where the replicated virtual machine will be replicated.ย You can choose toย Select seeds if you have seed data in the recovery site.ย The seed data will avoid copying unnecessary base images over the network and will allow you to only have to replicate the data that has changed, resulting in a fraction of the network traffic required.ย This is certainly desirable if replication is to happen over WAN links.
By default, on theย Select seed screen, the virtual disk that is discovered for the virtual machine will be shown.ย Select theย The selected seeds are correct checkbox.
The RPO screen allows choosing how frequently the virtual machine is replicated.ย This lowers the amount of data that will be lost in the event of a site failure, however, will increase the frequency of replication.
For now, I am not adding it to a protection group at least in this wizard.
Clickย Finishย to finish out the process.
Notice the replication will show asย Not Active since it is not synchronized.
After synchronization, the Status will show to beย OK.
Create VMware Site Recovery Manager Protection Group
Next, let’s look at the wizard to create Site Recovery Manager Protection Groups.ย The protection group creates groupings of virtual machines that are connected to a recovery plan.ย The recovery plan is the mechanism that.
Creating a new protection group containing the direction of the DR flow.
On theย Type screen, you can choose:
- Datastore groups (array-based replication)
- Individual VMs (vSphere Replication)
- Storage Policies (array-based replication)
Here in the lab, I am using Individual VM (vSphere Replication).
Choose theย Virtual Machines to include in the protection group.
Since I don’t have a recovery plan as of yet, I am choosing to go ahead and create it during the wizard.
Ready to complete the new protection group creation.
Be sure to create the required mappings such asย Network,ย Folder, andย Resourceย mappings andย Placeholder Datastores or you will receive the error:
Under theย Site Pair tab, you will find theย Network Mappings,ย Folderย Mappings,ย Resource Mappings,ย andย Placeholder Datastore configuration.
Creating network mappings…
Creating Folder Mappings…
Creating Resource Mappings…
If you receive the error and didn’t create the mappings, you can rerun the wizard or just edit your protection group and let it finish and it should create successfully.
Takeaways
The process toย Create VMware vSphere Site Recovery Manager 8.1 Replication Protection Group and Recovery Plan is straightforward in the web UI for Site Recovery manager.ย I found the whole process to be very intuitive and didn’t really see any issues.ย The only thing with the flow of the process is the wizard doesn’t necessarily tell you all the prerequisites such as the network, folder, and resource mappings or placeholder datastore needing to be in place.ย You have to create those and then will not encounter issues when running the wizards.ย Next, we will take a look at testing the recovery plan and executing a recovery plan to see what is involved with using Site Recovery Manager 8.1 to fail over a production site to a recovery site.