About
SRM allows running the recovery plans using one of the following modes:
- Planned migration, Disaster recovery and Test.
- For more information about each mode, see VMware documentation for SRM: https://docs.vmware.com/en/Site-Recovery-Manager/
Running recovery plans is performed directly from the VMware SRM user interface.
- When VMware SRM carries out the selected recovery plan it sends the relevant commands to the InfiniBox system on the Recovery / Protect site through the InfiniBox SRA.
- The commands are described below.
Test
Running a plan in Test mode will attempt to recover the virtual machines in a test environment on the recovery site.
If "Replicate recent changes to recovery site" is used, the Test mode validates that the recent changes were successfully synced from the protected to the recovery site.
The Test mode performs the following actions on the InfiniBox in the Recovery site:
- For each volume in the protection group - a snapshot is created on the replication target.
- Create a child snapshot(s) on the previously created snapshot(s).
- Make the child snapshot(s) Write-enabled.
- Map the child snapshot(s) to an ESXi host.
Cleanup
Cleanup performs the following actions on the InfiniBox in the Recovery site:
- Unmap the child snapshot(s) from the ESXi host(s).
- Delete the snapshot(s) and the child snapshots(s).
Planned migration and Disaster recovery
Running a plan in one of these modes will attempt to shut down the VMs at the protected site and recover the VMs at the recovery site.
- Then, when running the Reprotect operation SRM will commit the results of the recovery and configure protection in the reverse direction.
Planned migration
Both sites and the InfiniBox replication must be connected and available.
- Validates that the recent changes were replicated to the Recovery site.
- If errors are encountered the recovery process ceases.
Disaster recovery
Attempt to replicate recent changes to the recovery site, but otherwise use the most recent synchronized data that exists on the recovery site.
- The recovery process continues even if errors are encountered.
Recovery process for Async & Sync protection
Both modes performs the following action on InfiniBox:
On the Protected site
- Make the volume(s) in the protection group Write-protected. (if possible)
During Planned migration the replication state of the volume(s) in the protection group will become Auto Suspended.
On the Recovery site
- For each volume in the protection group (replication target) - Suspend the replication.
- Volume's replication state becomes Suspended.
- Make the volume(s) Write-enabled.
- Map each volume to an ESXi host.
Reprotect
When running Reprotect, the InfiniBox replication is resumed in the reverse direction.
Reprotect performs the following InfiniBox actions:
On the Protected site
- Unmap each volume in the protection group from the ESXi host(s).
On the Recovery site
- Resuming the replication in the reverse direction.
- The volume(s) are now the replication source.
At the end of the Reprotect process, the Protected and the Recovery sites are swapped.
Comments