Replica Failover and Failback
Sometimes businesses may require a substitute of the Virtual Machine that is being used for their business-critical function in times of disaster. In such cases, they will want to avoid downtime and have the VM in a ready-to-use format so that their business keeps functioning. For the above-mentioned scenario, Replication combined with Failover and FailBack is the process that meets their requirement.
The section below will guide you through the various restoration scenarios available in the VMware Replication process.
Failover
Your primary server/VM has crashed due to a disaster. Switch over to the replicated VM to continue with production. When your source machine is down, you can use the Failover process to switch the operations from the source VM to its replica in the target server. Once the Failover process is carried out, the replica machine will perform the role of the source machine. That is, the target VM will be powered ON with the same Network and IP configurations that were configured during the replication process. You can Failover the replica to any restore point available. If any data is added when the VM is in the Failover state, it will be maintained separately in a snapshot delta file.
- Select the VM Replication tab and choose the Failover and Failback option. Click the Restore icon beside the required replication job.
- The next step is to select the restore type from the list. Select Failover as the restore type and click Next to proceed with the restore process.
- Choose the restore version from the tree. The restore version depends on the retention settings you have configured. Click Next to continue with the restore process.
- The next step is to select the restore data for the restoration. Select the VM(s) to be restored. You can search the required machine from the Search VM option. Click Next to continue further with the restore process.
- The last step is to review your configurations before you perform the Failover process.
- Verify the following – VM(s) selected for the Failover, Restore Version configured. Once done verifying the selection, click the Failover option. You will get a pop-up window to confirm the Failover process, click OK to begin the Failover.
- You will now be redirected to the Restore Progress page. Check the Client Name, Backup Name, and Progress status. Click the Failover and FailBack option to revert back to that page.
Note: The VM should not be manually powered on or powered on after the Failover as it may lead to data loss.
Finalize Failover
Once you have performed the Failover process, you can finalize the Failover process. This option helps you finalize the failover process and let you decide whether to:
- Revert to Source VM immediately
- Completely switch from Source VM to replica VM
- Rollback to the Source VM after a considerable amount of work done by the replica.
- Finalize Failover can be done based on the above scenarios as follows:
- Undo Failover
- Permanent Failover
- The above-listed options get enabled only after performing the Failover process
- Follow the steps given to Finalize Failover:
- Choose the VM Replication tab and select the Failover and Failback option.
- Click the Restore icon across the replication job which you had recently failed over.
- From the Restore type, select Finalize Failover as the restore type and click Next to proceed.
- The next step is to select the restore data for the restoration. Select the VM(s) to be restored. You can search the required machine from the Search VM option. Click Next to continue further with the restore process.
- The next step is to select the Finalize type. Three options will be displayed which are explained below:
- Undo Failover – This option will revert the replica machine to its original state (turned-off state) before the failover was performed. That is all the changes(work data) made in the target VM during the Failover period will be flushed and lost after undoing Failover.
- Permanent Failover – You can select this option if the source VM is not recoverable after a disaster. Finalizing failover will enable you to make the replica VM as the production machine permanently. The VM will be excluded from the replication schedule and further increments for the source VM will cease.
Undo Failover
- If you have performed the Failover process but then got your source VM running back up within the stipulated time and want to undo the Failover process, proceed with this type.
- Procedure
- Select Undo Failover from the Finalize Type and review the configurations by checking the selected VM(s) and the restoration type
- Click Undo Failover to begin the restore process. Select OK from the pop-up window to confirm the Failover.
Note:
- The changes done in the target VM machine will be lost after undoing the Failover.
- This option is preferred when the source VM is restored and activated successfully.
Permanent Failover
If you have failed over to the replica VM after a disaster and could not get your source VM running back up within the stipulated time, you can permanent the Failover process. The replica VM will be made the source VM permanently.
Procedure
- Select Permanent Failover as the Finalize Failover type and review the configurations by checking the selected VM(s) and the restoration type.
- Click Permanent Failover to make the Failover process permanent. Select OK from the pop-up window to confirm the Failover.
Note: The replica VM will be excluded from the replication job after completion of Permanent Failover. The same should be configured again for replication.
Related Articles
Failover
If your primary server/VM has crashed due to a disaster, switch over to the replicated VM to continue with production. When your source machine is down, you can use the Failover process to switch the operations from the source VM to its replica in ...
Replica Virtual Machine Stuck in Failback State in BDRSuite
KB ID: 105069 Summary: This knowledge base article addresses the scenario where a replica virtual machine is stuck in the failback state within BDRSuite. The article provides steps to resolve this issue and restore the virtual machine to its normal ...
What is VM Failover and Failback?
Failover is the process of switching to a backup system or VM when the primary system fails. This ensures minimal downtime and continuity of services. Failback is the process of returning operations from the backup system to the primary system once ...
Replica Virtual Machine Stuck in Failover State in BDRSuite
KB ID: 105068 Summary: This knowledge base article addresses the issue of a replica virtual machine being stuck in the failover state within the BDRSuite application. The error can arise due to VMWare replication when the configured virtual machine ...
"Module MonitorLoop Power On Failed" Error during VM Failover and Failback
KB ID: 105964 Issue: The error message "Module Monitor-loop Power On Failed" appears in reports when attempting to power on a replicated Virtual Machine (VM) on the destination host after reverting a snapshot during failover. This error may also ...