Recovery Plans

Organize protection groups with the same protection direction and define how their virtual machines recover.

A recovery plan includes one or more protection groups with the same protection direction. The VMs in these groups define the recovery scope. Prechecks, recovery tests, and recovery operations run against the plan. A protection group can belong to multiple recovery plans for different recovery scenarios.

The plan defines each VM's priority, startup dependency, post power-on delay, and power-on behavior after recovery. VMs in different protection groups can share the same priority and have startup dependencies, allowing recovery order to follow business dependencies.

Replication tasks and resource mappings determine the target resources used during VM recovery. The recovery plan defines a plan-level NIC connection strategy and supports static IP overrides for individual VM NICs.

Create a Recovery Plan

Select a protection direction and protection groups, configure the NIC connection strategy, and create a recovery plan.

Before you begin

  • Site pairing is complete, and your account has permission to create recovery plans.
  • Each protection group to be added to the plan has a replication task and contains at least one VM. To create a replication task, see Create a Replication Task.

Procedure

  1. In ZLR, choose Recovery > Recovery Plans and click Create Recovery Plan.
  2. On the Basic Information page, configure the following options and click Next.
    OptionDescription
    NameRequired. Enter 1 to 128 characters. The name must be unique within the same protection direction. Chinese characters, letters, numbers, and - _ . : + ( ) are supported. Spaces are allowed between name parts, but not at the beginning or end.
    DescriptionOptional. Describe the plan's business purpose or recovery scenario.
    Protection DirectionSelect the direction from the protected site to the recovery site, such as Site A → Site B. This direction determines which protection groups can be selected in the next step.
  3. On the Protection Groups page, select one or more protection groups and click Next.

    The All list shows protection groups for the selected protection direction. You can search by name. Select protection groups whose Can Be Added value is Yes, and check their Virtual Machines count and Data Availability.

  4. On the NIC Connection Strategy page, select a connection strategy and click Next.

    This setting applies to VMs in the plan that are configured to power on after recovery. It covers recovery, recovery tests, and failback.

    OptionDescription
    Automatically Connect After ConfigurationThe default option. VM NICs connect automatically after network configuration is complete.
    Keep DisconnectedVM NICs remain disconnected after network configuration is complete.
  5. On the Review Configuration page, check the plan name, protection direction, NIC connection strategy, selected protection groups, and VM counts. Then click Confirm.

Results

After the plan is created, its details page opens. On the Virtual Machines tab, click Configure for the target VM to configure its recovery properties and IP customization.

Configure Virtual Machine Recovery Order and IP Addresses

Set VM recovery priorities, startup dependencies, and power-on behavior, and configure or remove static IP overrides for NICs as needed.

Before you begin

  • A recovery plan has been created. The plan is in the Needs Configuration or Ready state and has no active operation.
  • Your account has permission to modify recovery plans. To configure or remove static IP overrides, the corresponding IP customization permissions are also required.

Procedure

  1. In ZLR, choose Recovery > Recovery Plans and click the target plan name to open its details page.
  2. Open the Virtual Machines tab and click Configure in the target VM's Actions column to open the Configure Virtual Machine dialog.
  3. In Recovery Properties, configure the following options and click Next.
    Option Description
    Priority Select P1 through P5. P1 runs first and P5 runs last. The default is P3. All VMs in the same plan share these five priority levels. VMs in the same priority group without startup dependencies can recover in parallel.
    Startup Dependency Select one VM that must be ready before the current VM starts, or select No Dependency. The dependency VM must be in the same plan, be configured to power on after recovery, and belong to the same or an earlier priority group. You can select a VM from another protection group. Dependencies must not form a cycle.
    Post Power-On Delay Set an additional delay after the VM powers on, in seconds. Enter an integer from 0 to 2147483647. The default is 0. VMs that depend on this VM can start only after this delay has elapsed.
    Power On After Recovery Enabled by default. When disabled, the VM remains powered off after recovery, and its startup dependency and post power-on delay do not take effect. If other VMs depend on this VM, adjust those dependencies before disabling this option.

    Use the dependency graph to check the startup relationships. Arrows point from the VM that must be ready first to the VM that starts afterward.

  4. In IP Customization, check the Source Port Group, Target Port Group, IP Customization Policy, and Recovery IP Address for each NIC.

    By default, a NIC uses the IP customization policy from the current network mapping. To configure network mappings and their policies, see Configure Network Mappings.

  5. Choose an operation as needed.
    • Keep the current configuration: retain the current IP customization settings for the NIC.
    • Configure or modify a static IP override: ensure that a valid target network mapping is configured and DHCP is disabled on the target port group. Then perform the following steps.

      1. Click Edit Static IP in the target NIC's Actions column.
      2. Enter the following information and click Confirm to return to IP Customization.

        Option Description
        IP Address Required. The static IPv4 address to configure for this NIC during recovery.
        Netmask / Prefix Required. The subnet mask or prefix length for the static IPv4 address.
        Gateway Optional. The gateway address for the target network.
        DNS Optional. The DNS server address to use after recovery.
        DNS Suffix Optional. The DNS suffix to use after recovery.
    • Use the network mapping policy again: click Remove Override in the Actions column for a NIC with an existing static IP override.

      Note:
      Removing the override deletes the NIC's static IP override from the current recovery plan. During subsequent recovery operations and recovery tests, the NIC uses the IP customization policy from the current network mapping again. If DHCP is enabled on the target port group, DHCP manages address allocation.
  6. Check the IP Customization Policy and Recovery IP Address for each NIC. Click Confirm in the Configure Virtual Machine dialog to save the recovery properties and IP customization.

Results

After the changes are saved, the VM list opens. You can click Configure again to view the saved recovery properties and IP customization.

View Recovery Plans

View a plan's protection direction, scope, and current configuration, and review workflow previews and execution records.

Your account must have permission to view recovery plans. To view recovery test records, permission to view recovery tests is also required. In ZLR, choose Recovery > Recovery Plans.

View the Plan List

The list displays Plan Name, Status, Protected Site, Recovery Site, Protection Groups, and Virtual Machines. Search by plan name, or click Refresh to update the list.

  • Use Protected Site and Recovery Site to check the plan's protection direction.
  • Use the Protection Groups and Virtual Machines counts to check the plan's size, then open its details to verify the individual members.
  • Use Status to identify the plan's current stage, such as Needs Configuration, Ready, Testing, or Recovering.

Click a name in the Plan Name column to open the plan details page.

View Plan Details

LocationDescription
Overview tabReview the plan status and the corresponding precheck, execution progress, or result summary. Check the protection group and VM counts, NIC connection strategy, description, creation time, and last execution time. The Recent Recovery Test and Latest Recovery areas show the time, result, operator, and duration of the corresponding records. Click Execution to open that execution record.
Protection Groups tabCheck the protection groups included in the plan, each group's VM count, data availability, and latest precheck result. Click a protection group name to open its details.
Virtual Machines tabCheck individual VMs, their protection groups, priorities, and power-on settings after recovery. To view or modify recovery properties and IP customization, see Configure Virtual Machine Recovery Order and IP Addresses.
Execution Steps tabView system steps, execution order, and existing execution records for recovery, recovery tests, or failback.
Execution History tabView the plan's operation records, results, operators, and durations. Click a record's Start Time to open its execution details.

View Execution Steps

Open the Execution Steps tab and select the Recovery, Recovery Test, or Failback subtab for the workflow you want to view.

ContentDescription
Workflow previewWhen no execution of the corresponding workflow is recorded at the current site, the page displays a workflow preview. Review the system workflow in Step order, and check the Execution Mode and Conditions to understand how each step runs.
Execution recordsWhen the page displays an existing execution record, view each step's Status, Progress, Start Time, End Time, and Duration. Track execution progress here while the corresponding operation is running.
  • When a step includes VM details, click the expand button before the step to view each VM's execution status.
  • When a failed step or VM provides a View Reason action, click it to view the specific cause.
  • After a recovery test ends and awaits cleanup, the page retains that test's execution records. To find another execution, open the Execution History tab and select the corresponding record.

Run a Recovery Plan Precheck

Check a recovery plan's configuration and associated resources, review the results, and identify issues to address.

Before you begin

  • Your account has permission to view recovery plans and run prechecks.
  • The plan is in the Needs Configuration or Ready state, and no operation is running for the plan.

About this task

After creating a recovery plan or changing VM recovery settings or related resources, you can run a precheck to check the plan configuration and the availability of associated resources.

Procedure

  1. In ZLR, choose Recovery > Recovery Plans. From the target plan's Actions menu, select Precheck.

    You can also open the plan details page and click Precheck.

  2. The Precheck dialog opens, and the checks start automatically. Wait for them to complete.
  3. Review the Critical, Warning, and Passed counts. Under Precheck Items, review each item's Result and Affected Scope.
    Result Description
    Critical An issue requires attention. Review the reason and recommended action, and make the necessary changes.
    Warning A risk requires assessment. Review the specific reason and impact to determine how to address it.
    Passed The item meets the requirements of this precheck.
    Skipped The check was not performed. Review the reason and impact.
  4. Click the expand button before a check item to view its details.
    • Use Affected Object to identify the resource that requires attention. Compare Current Value with Expected Value to check for differences.
    • Review Reason, Recommended Action, and Impact to assess the issue and determine how to address it.
  5. When you finish reviewing the results, click Confirm to close the dialog. After updating the plan configuration or related resources according to the recommended actions, click Precheck again to verify that the issues are resolved.

Results

On the plan details page, open the Overview tab and review the results in the Latest Precheck area.

  • Check Precheck Time to identify when the checks were performed.
  • Click Critical, Warning, or Passed to view the corresponding check items. Use the filter in the Category column to narrow the results further.
  • Click View Details to open the complete results and expand individual check items for details.

Edit a Recovery Plan

Change a plan's name and description, add protection groups, or adjust the plan-level NIC connection strategy.

Before you begin

  • Your account has permission to view and modify recovery plans.
  • The plan is in the Needs Configuration or Ready state, and no operation is running for the plan.

About this task

Editing retains the protection direction specified when the plan was created.

Procedure

  1. In ZLR, choose Recovery > Recovery Plans. From the target plan's Actions menu, select Edit to open the Edit Recovery Plan dialog.
  2. On the Basic Information page, check the Protection Direction, update the following options as needed, and click Next.
    OptionDescription
    NameRequired. Enter 1 to 128 characters. The name must be unique within the same protection direction. Chinese characters, letters, numbers, and - _ . : + ( ) are supported. Spaces are allowed between name parts, but not at the beginning or end.
    DescriptionOptional. Update the description of the plan's business purpose or recovery scenario.
  3. On the Protection Groups page, retain the existing selections and select additional protection groups as needed. Review Selected Protection Groups and click Next.

    In the All list, search by name for protection groups in the same protection direction. Select groups whose Can Be Added value is Yes, and check their Virtual Machines count and Data Availability. When you add a protection group, its VMs become part of the plan's recovery scope.

  4. On the NIC Connection Strategy page, review or change the connection strategy and click Next.

    This setting applies to VMs in the plan that are configured to power on after recovery. It covers recovery, recovery tests, and failback.

    OptionDescription
    Automatically Connect After ConfigurationVM NICs connect automatically after network configuration is complete.
    Keep DisconnectedVM NICs remain disconnected after network configuration is complete.
  5. On the Review Configuration page, check the plan name, description, protection direction, NIC connection strategy, selected protection groups, and VM counts. Then click Confirm.

Results

After saving, verify the changes on the Overview and Protection Groups tabs of the plan details page. If you added protection groups, use the Virtual Machines tab to configure recovery order and IP addresses for the newly added VMs as needed for your workloads. For details, see Configure Virtual Machine Recovery Order and IP Addresses.

What to do next

After changing the recovery scope or NIC connection strategy, run a precheck to check the plan configuration and associated resources. For details, see Run a Recovery Plan Precheck.

Delete a Recovery Plan

Delete a recovery plan that is no longer needed, together with its orchestration configuration and execution history.

Before you begin

  • Your account has permission to view and delete recovery plans.
  • The plan is in the Needs Configuration or Ready state, and no operation is running for the plan.

Procedure

  1. In ZLR, choose Recovery > Recovery Plans. From the target plan's Actions menu, select Delete.
    Caution:
    • The recovery plan, its orchestration configuration, and its execution history are deleted and cannot be restored.
    • Generated reports and audit records are retained.
  2. In the confirmation dialog, verify the name under Recovery Plan and the Protection Groups and Virtual Machines counts. Confirm that this is the plan you want to delete, then click Confirm.

Results

After deletion succeeds, the plan is removed from the recovery plan list.