Recovery and Failback
Switch workloads to the recovery site and, when needed, fail back to the original protected site and restore replication protection.
Recovery operates on a recovery plan. It uses data at the recovery site for the plan's protection direction and switches workloads according to the plan's VM recovery order, power-on behavior, and network configuration. Choose a recovery mode based on the protected site's availability and the purpose of the switch.
| Recovery Mode | Use Case |
|---|---|
| Disaster Recovery | Recover workloads at the recovery site when the protected site fails or becomes unreachable. You can use the latest recoverable data or select retained recovery points. |
| Planned Migration | Perform an orderly workload switch for site maintenance or a planned migration when both sites are available. The system shuts down VMs at the protected site and completes the final synchronization, then recovers workloads at the recovery site using the latest data. |
After recovery completes, the plan enters the Recovered state, and workloads can continue running at the recovery site. To move workloads back to the original protected site, first start failback sync to continuously synchronize data from the recovery site to the original protected site. Once the plan reaches Failback Ready, execute failback. The system shuts down VMs at the recovery site, completes the final synchronization, and recovers workloads at the original protected site according to the plan configuration.
After failback succeeds, the plan enters the Protection Restore Pending state. Restoring protection uses the existing replication tasks to reestablish replication protection from the original protected site to the recovery site. Once protection is successfully restored for all tasks, the plan returns to the Ready state.
Start Recovery
Select a recovery mode and data source, complete the recovery precheck, and start the workload switch.
Before you begin
- A recovery plan has been created and is in the Ready state. To create a plan, see Create a Recovery Plan.
- You have reviewed the plan's protection scope and VM recovery configuration. To change recovery order, power-on behavior, or IP addresses, see Configure Virtual Machine Recovery Order and IP Addresses.
- Your account has permission to view recovery plans, run prechecks, and execute the selected recovery mode. To enable forced recovery, you also need permission to execute forced recovery and run its checks.
- Existing test environments have been cleaned up, and no recovery test, cleanup, recovery, failback, or other business operation is running for the site pair.
Procedure
Results
After submission succeeds, the plan enters the Recovering state. On the plan details page, open to view progress and execution results.
View Recovery Progress and Results
Track recovery progress, review VM outcomes for this execution, and investigate step and VM failures.
Your account must have permission to view recovery plans.
View Recovery Progress
- In ZLR, choose . Click the name of the target plan whose recovery is in progress and open .
-
Use Recovery Progress to view overall progress. Then review each step's Status, Progress, Start Time, End Time, and Duration in the step list.
For steps that include VM execution details, progress shows the number of finished VM execution attempts and the total number of attempts.
- Click the expand button before a step to view VM details. Use Source VM ID and Status to identify individual VMs.
-
Locate the failure reason:
- For a failed step, click View Reason in the step's Actions column.
- For a failed VM, expand its step and click View Reason in the VM's Actions column.
In the Failure Details dialog, review the failure reason for the step or VM.
View Recovery Results and Failure Reasons
- After recovery execution ends, open the Execution History tab on the target plan's details page.
- Locate the recovery by Start Time. Check whether the Operation column shows Disaster Recovery, Forced Recovery, or Planned Migration to verify how the recovery was executed, then click the corresponding Start Time.
-
In the Execution Record Details dialog, review the following information.
Content Description Result, Operator, and Duration Check the overall result, the user who initiated the execution, and the execution duration. Successful VMs, Failed VMs, and Not-run VMs Review VM completion counts for this execution. Execution Summary Review the execution result summary, failure information, and related recommended actions. VM outcomes in this execution Locate each VM by its source VM ID and review its execution status, reason, and recommended action. Use this information together with failure information in the step records below to identify issues to address.
When the plan is in the Recovery Incomplete state, you can also click View Reason on its details page to open Failure Details for the most recent recovery directly. Review the Result, Failure reason, and Recommended action, along with the VM outcomes and step records below.
Also check the plan's current state: Recovered indicates that recovery is complete for the entire plan scope. Recovery Incomplete indicates that some VMs have failed or have not run.
Retry Recovery
Use the original recovery data source to continue VM recovery operations that failed or have not run.
Before you begin
- The plan is in the Recovery Incomplete state, or it is in the Ready state and its most recent recovery record supports retry.
- The original recovery execution has ended, and no plan operation is currently running.
- The data used by the original recovery is still available, and the data source record matches the original execution.
- Your account has permission to view recovery plans, retry recovery workflows, and execute the original recovery mode.
- You have reviewed the failure reasons and addressed the related issues. For details, see View Recovery Progress and Results.
About this task
The system uses the original execution record to identify eligible VMs for retry. It retains the original recovery data source and continues processing retryable VMs whose operations failed or have not run.
Procedure
Results
After the request is accepted, the system starts a new recovery execution and retains the original execution record. To view progress, VM outcomes, and failure reasons, see View Recovery Progress and Results.
Failback Sync
Continuously synchronize data from the recovery site to the original protected site to prepare for workload failback.
After recovery completes, workloads run at the recovery site. Failback sync operates at the recovery plan level, covers all protection groups and VMs in the current plan, and synchronizes data from the recovery site to the original protected site.
During synchronization, VMs at the recovery site continue running and serving workloads. Once all VMs complete reverse initial synchronization, the plan enters the Failback Ready state, and the system continues synchronizing new data. To switch workloads back to the original protected site, see Perform a Failback.
Start Failback Sync
Start failback sync for a recovery plan, and address issues and restart synchronization after a failure.
Before you begin
- For the initial start, the recovery plan is in the Recovered state.
- Your account has permission to view recovery plans and execute failback sync, and no plan operation is currently running.
- The original protected site's platform, ZLR, storage used by the original VMs before recovery, and compatible replication servers are available.
- If VMs at both sites ran simultaneously after forced recovery, you have reviewed and resolved differences between the sites' workload data.
Procedure
Results
After the request is accepted, the plan enters the Syncing for Failback state. To view synchronization progress and results, see View Failback Sync Progress and Results.
Troubleshooting
If synchronization fails and the plan returns to Recovered, or shows Failback Sync Blocked with Failback Sync available, address the failure before restarting synchronization.
- See View Failback Sync Progress and Results to review the synchronization result and failure information, then address the issues.
- Follow the start procedure to click Failback Sync again, review the scope, and confirm the start.
View Failback Sync Progress and Results
Track failback sync execution steps and review the plan state, execution results, and failure information.
Before you begin
Failback sync has been started for the target recovery plan, and your account has permission to view recovery plans.
Procedure
Results
Once all VMs complete reverse initial synchronization, the plan enters the Failback Ready state. The system continues synchronizing new data from the recovery site to the original protected site.
What to do next
After the plan enters the Failback Ready state, you can perform a failback when needed. To restart synchronization after a failure, see troubleshooting in Start Failback Sync.
Cancel Failback
Stop the current failback sync and abandon the current failback preparation while workloads continue running at the recovery site.
Before you begin
- The recovery plan is in the Syncing for Failback or Failback Ready state.
- Your account has permission to view recovery plans and cancel failback.
Procedure
Results
After cancellation succeeds, the plan returns to the Recovered state.
Perform a Failback
Switch workloads from the recovery site back to the original protected site.
Before you begin
- Failback sync is complete, and the recovery plan is in the Failback Ready state. To start synchronization, see Start Failback Sync.
- Your account has permission to view recovery plans and execute failback, and no plan operation is currently running.
- The platforms, ZLR instances, and networks at both sites, along with the original VM storage and replication servers required for failback, are available.
Procedure
Results
After submission succeeds, the plan enters the Failing Back state.
- On the plan details page, open . Track execution using Failback Progress and the step states. Expand a step to view VM details. If a step or VM fails, click its View Reason action to view Failure Details.
- After execution ends, locate the record on the Execution History tab by Start Time and Operation. Click Start Time to review the execution result, VM results, and step failure information.
Use the plan's current state to determine the next action.
| State | Description |
|---|---|
| Protection Restore Pending | Failback succeeded. Restore replication protection in the original direction next. See Restore Protection. |
| Failback Ready | The switch did not complete. Review the failure reasons, address the issues, and follow the procedure to perform failback again. |
| Failback Incomplete | Some failback operations failed or remain incomplete. Objects that have already failed back successfully retain their current results. Address the issues and retry failback as described in Troubleshooting. |
Troubleshooting
When the plan is in the Failback Incomplete state, the original execution has ended, and its outcome is confirmed to allow retry, you can continue incomplete failback operations if your account has permission to retry recovery workflows and execute failback.
- On the plan details page, click View Failures. In the Failed Failback Steps dialog, review the failed steps and Description, then address the issues.
-
On the plan details page, click Failback.
Caution:- The retry continues incomplete failback steps, including shutdown, synchronization, or startup, and may interrupt workloads on affected VMs.
- Objects that have already failed back successfully retain their current results. Before submitting, review the execution record and operation scope for this retry.
- In the Rerun dialog, review the Execution Record, retain the default Operation Scope selections, set Start Step to Automatic, and leave Continue on Error unselected.
- Select the confirmation checkbox, then click Confirm.
After the request is accepted, the system starts a new failback execution and retains the original execution record. Once failback is complete for all objects, the plan enters the Protection Restore Pending state.
Restore Protection
After failback, use existing replication tasks to restore protection from the original protected site to the recovery site, and continue processing tasks whose protection has not been restored.
Before you begin
- Failback succeeded and the recovery plan is in the Protection Restore Pending state, or the previous protection restoration is incomplete and can be run again.
- Your account has permission to view recovery plans and restore protection, and no plan operation is currently running.
- Both sites, replication services, source VMs, target storage, and other resources required to restore replication are available.
About this task
Restoring protection uses the existing protection group and replication task settings to reestablish replication from the original protected site to the recovery site. Workloads continue running at the original protected site after failback.
Procedure
Results
- Review the result of this protection restoration in the global operation notifications and check the plan's current state. Once replication relationships are successfully restored for all tasks, the plan returns to Ready.
- In ZLR at the original protected site, choose and open the Outgoing tab. Review the states of the original replication tasks and their VMs.
- Tasks whose replication relationships have been restored enter Running. VMs that require reinitialization enter Initial Syncing and then enter Running after synchronization completes.
- Tasks that failed or have not been processed, along with their VMs, remain in Protection Interrupted and require further protection restoration.
To view replication progress and individual VM states, see View Replication Tasks.
Troubleshooting
If the previous protection restoration has ended and some tasks still lack protection, review the operation feedback and related replication task states. Address resource or permission issues, then follow Restore Replication Protection to run the operation again, recheck the scope, and confirm the impact.
Running the operation again continues processing tasks that failed or remain incomplete. Successfully restored tasks retain their current running state. Once replication relationships are successfully restored for all tasks, the plan returns to Ready.
View and Download Recovery Reports
View a report for a recovery execution and download an HTML file to retain its results.
A recovery report records the results of a specific recovery execution. Reports for the initial recovery and subsequent retries each correspond to their own execution. When viewing a report, check its execution start and end times and VM scope.
Prerequisites
- The corresponding recovery execution has ended, and the report has been generated successfully and is available for viewing.
- Your account has permission to view recovery reports. Downloading also requires permission to download recovery reports.
- Accessing a report from a recovery plan's execution history also requires permission to view recovery plans.
View a Recovery Report
- In ZLR, choose and open the Recovery Reports tab.
-
Locate the target report by Object and Generated At, then click View in its Actions column.
Alternatively, choose , click the target plan's name, and open the Execution History tab. Locate the recovery execution by Start Time and Operation, then click View in its Report column.
-
In the report viewer, check the plan name, protected site, recovery site, execution start and end times, and overall result. Review Execution Duration, Successful Virtual Machines, Failed Virtual Machines, and Virtual Machines Not Run to understand this execution, then review the following content as needed.
Content Description Execution Results Check each VM's execution result, heartbeat check result, and failure information. Execution Steps Review step results and associated failure information for each VM. IP Configuration Check the requested and observed IP addresses and the configuration result for each VM. Execution Failures When failure records are present, review the error codes, stages, and detailed descriptions in the report. - When you finish reviewing, close the report to return to the report list or execution history.
Download an HTML Report
- On the Recovery Reports tab, locate the target report and click Download in its Actions column.
- Wait for the browser to download the HTML file and save it to the required location. You can open the downloaded file in a browser.
You can also click Download HTML in an open report, or open the recovery plan's Execution History tab and click Download HTML in the corresponding record's Report column.
If you are notified that the report content has changed when downloading, close and reopen the report, then click Download HTML again.
