Establish Protection
Prepare the connections and resources needed for replication between sites, and establish continuous data replication for your VMs.
The goal of establishing protection is to continuously replicate VM data to the recovery site for recovery tests and recovery. After service deployment and site initialization are complete at both sites, determine the protection direction, VMs to protect, acceptable data loss window (RPO), and historical recovery point retention requirements based on your business needs.
Site configurations provide a shared foundation for multiple protection groups:
- Site pairing establishes a management connection and trust between the two sites.
- Resource mappings determine the target compute resources, groups, and networks for each protection direction.
- The data replication network and replication servers at the recovery site handle data transfer and reception. Based on where the target storage is deployed, prepare replication servers that can access it.
Organize VMs into protection groups according to their protection scope and replication policy. Configure target storage, replication servers, and RPO by protection group.
Replication tasks perform an initial full synchronization, then continuously replicate incremental data. When recovery points are enabled, historical recovery data is saved according to the retention policy for recovery plans to select during recovery tests or recovery.
Site Pairing
Site pairing establishes a connection and trust between two initialized ZLR sites, providing the foundation for configuring protection and performing recovery tests and recovery across sites. Each site can pair with only one remote site. After you establish the pair from one site, you do not need to add the other site again from the opposite console.
A site pair supports protection in both directions. For details about site roles, see Sites and Protection Directions.
Pair Sites
Add a remote site to establish a pair between two initialized sites.
Before you begin
- Both sites have completed local site initialization, and neither is paired with another site.
- You have logged in to ZLR at one site with an account that has permission to manage site pairing.
- You have obtained the addresses and ports of the remote platform management node and remote ZLR service, and the username and password of a remote ZLR account with pairing permission. The relevant endpoints are reachable.
Procedure
Results
After pairing succeeds, the Site Pairs page opens and displays the remote site card and connection information between the two sites.
Manage Site Pairing
View site and connection information, change the local site name, and unpair the sites when their connection is no longer needed.
In ZLR, choose .
View Site and Connection Information
The local and remote site cards display the site name, platform type, connection status, management node address, and ZLR address. Click a site card to view details such as the site ID in the dialog box.
The connection area between the two sites displays Connection Status, Heartbeat Frequency, and Last Connected. If the connection is abnormal, use the reason shown on the page to check the services at both sites and network connectivity.
Change the Local Site Name
A local ZLR Administrator can change the display name of the site whose console they are logged in to. To change the name of the other site, log in to its console.
- Click the edit icon next to the name on the local site card to open the Edit Site Name dialog box.
- Change Site Name and click Save. The name is required and must be 1–64 characters long. It can contain Chinese characters, English letters, numbers, spaces, hyphens, underscores, and periods. Leading and trailing spaces are removed when you save.
- Verify the new name on the local site card.
Unpair Sites
You can unpair the sites when their connection is no longer needed. Your account must have permission to manage site pairing.
Before unpairing, ensure that the following requirements are met:
- The site pair has no associated protection groups, replication tasks, recovery plans, or resource mappings.
- Related recovery, recovery test, and other business operations have ended, and bindings between replication tasks and replication servers have been released.
-
On the Site Pairs page, click Unpair.
Caution:Unpairing revokes trust between the two sites and disconnects them. Pair the sites again before configuring cross-site protection, performing recovery, or running recovery tests. - Verify the local and remote site names and wait for the associated object check to pass.
- Enter an Unpairing Reason, select the confirmation checkbox, then click Unpair.
- Wait for the operation to finish, then refresh the page and view the pairing status.
After the unpairing request is accepted and before it ends, an account with permission to cancel unpairing can click Cancel Unpairing in the original unpairing dialog to request cancellation. Then check the outcome of the original unpairing task.
If the local site is unpaired but confirmation from the remote site is pending, check the pairing status at the remote site after communication between the sites resumes.
Resource Mappings
Resource mappings define how resources at the protected site correspond to resources at the recovery site. ZLR supports three types of mappings:
- Compute resource mappings map source clusters or hosts to target clusters or hosts at the recovery site, determining the compute placement of target VMs.
- Group mappings map the groups that contain source VMs to target groups at the recovery site.
- Network mappings map the distributed port groups connected to source VM NICs to target distributed port groups at the recovery site. You can also configure IP customization policies as needed.
Resource mappings are maintained separately for each protection direction. After you select the tab for a protected site → recovery site direction on the Resource Mappings page, all three mapping types use that direction. For protection in both directions, configure the mappings for each direction separately. For details about site roles, see Sites and Protection Directions.
Configure Compute Resource Mappings
Map clusters or hosts at the protected site to compute resources at the recovery site.
You can select a cluster or host as either the source or target of a compute resource mapping. When determining the target compute resource for a VM, the source host mapping takes precedence. If no host mapping applies, the source cluster mapping is used.
After pairing the sites, log in to ZLR with an account that has permission to manage resource mappings. Choose , select the protection direction to configure, and open the Compute Resource Mappings tab.
Add Compute Resource Mappings
- Click Add Compute Resource Mapping.
- On the Mapping Configuration page, select one or more resources under Source Compute Resource and one resource under Target Compute Resource, then click Next.
- On the Review Configuration page, review the source and target compute resources and validation results. After validation succeeds, click Confirm.
After the mappings are saved, the list displays a separate record for each selected source resource. Click a mapping row to view resource details.
Edit a Compute Resource Mapping
- From the menu in the Actions column for the mapping, select Edit.
-
Select a new Target Compute Resource and click Next.
Note:After the change, subsequent compute resource matching based on this rule uses the new target. This change does not migrate existing target VMs. - On the Review Configuration page, review the original target, new target, and validation results. After validation succeeds, click Confirm.
Delete a Compute Resource Mapping
-
From the menu in the Actions column for the mapping, select Delete.
Note:After deletion, this rule is no longer used to determine target compute resources. Existing target VMs retain their current compute placement. An applicable compute resource mapping is required for subsequent creation or rebuilding of target VMs. - Review the source and target compute resources and impact check results. If deletion is blocked, address the reported issues with the associated objects and run the check again. When deletion is allowed, click Delete.
Configure Group Mappings
Map the groups that contain source VMs to target groups at the recovery site.
To organize VMs at the recovery site according to their source groups, configure group mappings. You can map multiple source groups to the same target group.
After pairing the sites, log in to ZLR with an account that has permission to manage resource mappings. Choose , select the protection direction to configure, and open the Group Mappings tab.
Add Group Mappings
- Click Add Group Mapping.
- Select one or more groups under Source Group and one group under Target Group.
- Wait for configuration validation to complete. After validation succeeds, click Confirm.
After the mappings are saved, the list displays a separate record for each selected source group. Click a mapping row to view group details.
Edit a Group Mapping
- From the menu in the Actions column for the mapping, select Edit.
-
Select a new Target Group and wait for validation to complete.
Note:After the change, subsequent VM group assignment based on this rule uses the new target group. This change does not alter the group assignments of existing target VMs. - After validation passes, verify the source group and new target group, then click Confirm.
Delete a Group Mapping
-
From the menu in the Actions column for the mapping, select Delete.
Note:Deletion removes the rule that maps the source group to this target group. Existing target VMs remain in their current groups. Subsequent creation or rebuilding of target VMs no longer uses this rule to determine the target group. - Review the source group, target group, and impact check results. If deletion is blocked, address the reported issues with the associated objects and run the check again. When deletion is allowed, click Delete.
After deletion succeeds, the mapping record for the source group is removed from the list.
Configure Network Mappings
Map source distributed port groups to target distributed port groups at the recovery site and configure IP customization policies.
Network mappings map the distributed port groups connected to source VM NICs to target distributed port groups at the recovery site. Within each protection direction, each source port group has one mapping. Multiple source port groups can map to the same target port group.
After pairing the sites, log in to ZLR with an account that has permission to manage resource mappings. Choose , select the protection direction to configure, and open the Network Mappings tab.
Add Network Mappings
- Click Add Network Mapping.
- On the Mapping Configuration page, select one or more distributed port groups under Source Network and one distributed port group under Target Network, then click Next.
- On the Review Configuration page, review the source port groups, target port group, and validation results. After validation succeeds, click Confirm.
After the mappings are saved, the list displays a separate record for each selected source port group, along with target DHCP and IP customization policy information.
Configure an IP Customization Policy
When DHCP is disabled on the target port group, you can configure an IP customization policy for the network mapping to set VM network parameters during recovery and recovery tests. When DHCP is enabled on the target port group, DHCP manages address assignment.
- From the menu in the Actions column for the network mapping, select Configure IP Customization Policy.
-
Select a configuration method:
Option Description Do Not Configure IP Keep the network configuration in the VM operating system. Select this option to remove an existing IP customization policy for the mapping. Keep Source IP Use the IP address, DNS, gateway, and other network settings of the source VM NIC. CIDR Conversion Convert IP addresses based on the source and target CIDRs and configure the target network parameters. -
If you select CIDR Conversion, complete the following required fields.
Option Description Source CIDR The source subnet before conversion, for example, 192.168.10.0/24.Target CIDR The target subnet after conversion, for example, 192.168.20.0/24.Gateway The gateway address for the target network. DNS Servers The DNS server addresses for the target network. Separate multiple addresses with commas. DNS Suffix The DNS suffix for the target network. - Click Confirm. After saving, view the IP customization policy in the network mapping list.
Edit a Network Mapping
- From the menu in the Actions column for the mapping, select Edit.
-
Select a new Target Network and click Next.
Note:After the change, subsequent network matching based on this rule uses the new target port group. This change does not directly switch the NIC connections of existing target VMs. - On the Review Configuration page, review the port groups and validation results. After validation succeeds, click Confirm.
After changing the target port group, update the IP customization policy as needed based on its DHCP configuration.
Delete a Network Mapping
-
From the menu in the Actions column for the mapping, select Delete.
Note:Deletion removes the mapping from the source port group to the target port group. Both port groups remain in the infrastructure platform. Configure an applicable network mapping again before performing subsequent recovery or recovery tests that depend on this rule. - Review the source port group, target port group, and impact check results. If deletion is blocked, address the reported issues with the associated objects and run the check again. When deletion is allowed, click Delete.
After deletion succeeds, the port group mapping record is removed from the list.
Replication Servers
A replication server is a data receiver service deployed on a host. It receives VM data from the protected site and writes it to target storage at the recovery site.
During initialization at each site, a default replication server is installed on the host running the ZLR service VM. You can register additional replication servers on other hosts according to the placement of the target storage.
Register a Replication Server
Register a replication server on a host at the local site to receive replication data.
Before you begin
- You have paired the sites and logged in to the ZLR console at the site where you want to register the server with an account that has permission to manage replication servers.
- You have selected the host for the replication server and prepared the data replication network used by that host.
About this task
Select the deployment host based on the target storage you plan to use. For local storage, select the host that owns the storage. For shared storage, select a host in a cluster where the storage is mounted.
Procedure
Results
After registration succeeds, the new replication server appears in the local site list, where you can view its host, IP address, and status.
View and Manage Replication Servers
View replication server information and status at both sites, and delete replication servers that are no longer needed at the local site.
In ZLR, choose . Select a site name tab to view its replication server list. To manage a site's replication servers, log in to that site's console.
View Replication Server Information
The list displays Name, Host, IP Address, Status, Hosted Virtual Machines, and Registered At.
- Status: View the server's current operating status. If the status is abnormal, hover over the status text to view the reason.
- Hosted Virtual Machines: View the number of VMs whose replication is currently handled by the server.
Click Refresh to update the server list for the selected site.
Delete a Replication Server
An account with permission to manage replication servers can delete a non-default replication server at the local site. The server must have no active replication tasks or active sessions and must not already be undergoing deletion.
-
In the local site list, click Delete in the Actions column for the replication server.
Caution:Deletion removes the replication server from the local site and uninstalls the replication receiver service on the host. Existing recovery points are retained. Register the server again before using the host to receive replication data. - In the confirmation dialog box, verify the server name and site.
- Click Delete and wait for the operation result.
After deletion succeeds, the server record is removed from the local site list.
Edit the Data Replication Network
View and change the network used to send and receive replication data at the local site on the Replication Servers page.
Before you begin
- You have paired the sites and logged in to the ZLR console at the site you want to configure with an account that has permission to manage replication servers.
- No replication tasks or recovery jobs are running.
Procedure
Results
After the configuration is saved, the Data Replication Network area on the Replication Servers page displays the updated settings.
What to do next
If you paused replication tasks before making the change, resume them after the configuration is updated.
Protection Groups
Organize related VMs into protection groups to define the scope of replication and recovery.
A protection group organizes one or more VMs at the same protected site into a single management unit. You can define protection groups by application, business system, or operational requirements. Each VM can belong to only one protection group.
A protection group belongs to the site where its member VMs reside. After creating a protection group, configure a replication task for the group, then add the group to a recovery plan to configure the recovery order and VM recovery settings.
Create a Protection Group
Select VMs to protect together and create a protection group.
Before you begin
Site pairing is complete, and your account has permission to manage protection groups.
Procedure
Results
After creation succeeds, the protection group appears in the list for the corresponding site. Click the protection group name to view its details and member VMs.
Manage Protection Group Members
Add VMs to a protection group or remove existing members as your business protection scope changes.
Log in to ZLR with an account that has permission to manage protection groups. Choose and switch to the tab for the site where the member VMs reside. Click the protection group name and open the Virtual Machines tab.
Add VMs
If a replication task is already configured, the VMs to add must be powered on and meet the resource and network requirements of the current replication target.
-
Click Add VMs.
Note:If the group has an associated replication task, newly added VMs inherit the task's replication settings and begin initial synchronization. If the group has associated recovery plans, the new VMs are included in those plans' recovery scope. - On the Add VMs page, select the VMs to add, click Next, and wait for the check to complete. Use the Available and All tabs to view candidate VMs. VMs that already belong to a protection group cannot be selected again.
- After the check passes, verify the protected site, protection group, and new VMs on the Review Configuration page, then click Confirm.
After the VMs are added successfully, the dialog box closes and the new VMs appear in the member list.
Remove a VM
-
Click Remove in the Actions column for the VM.
Caution:- Removing a VM removes its membership in the protection group. The source VM is retained.
- If a replication task is configured for the group, removal also stops replication protection for the VM. When cleanup is supported for the recovery-site data, the system deletes the VM's replicated data, recovery points, placeholder VM, and related configuration. Deleted data cannot be recovered. When cleanup is not supported for the current replicated data, the system retains the replicated data and recovery points at the recovery site.
- If the group is associated with recovery plans, the VM is also removed from those plans' recovery scope. Its associated startup dependencies and per-VM recovery settings are deleted.
- In the confirmation dialog box, verify the VM, protection group, and associated replication task, and review the check results and impact on data. If Cannot Remove Virtual Machine appears, resolve the listed blockers first.
- If there is no associated replication task, click Confirm. If a replication task is associated, enter a Removal Reason, select the checkbox to acknowledge the impact, then click Remove.
After removal succeeds, the VM is removed from the protection group's member list.
View and Manage Protection Groups
View protection groups and their associated objects, update names and descriptions, and delete groups that are no longer needed.
In ZLR, choose . Switch between the site name tabs to view each site's protection groups. Click a protection group name to open its details page.
View Protection Group Information
The list displays Protection Group Name, Virtual Machines, Unacknowledged Alarms, and Created At. Search for a protection group, or click Refresh to update the list.
| Location | Description |
|---|---|
| Overview tab | View the status and last run time of associated recovery plans, and the status, configured RPO, and target storage of associated replication tasks. Click a plan or task name to open its details page. Basic Information shows when the protection group was created and last modified. |
| Virtual Machines tab | View the name, host, and cluster of each member VM. For instructions on adding and removing members, see Manage Protection Group Members. |
Edit a Protection Group
An account with permission to manage protection groups can update a group's name and description.
- On the protection group details page, click Edit.
- In the Edit Protection Group dialog box, update the Name and Description, then click Confirm.
After the changes are saved successfully, the page displays the updated name and description.
Delete a Protection Group
An account with permission to manage protection groups can delete groups that are no longer needed. Delete any associated replication task first. If an operation is in progress, or deletion would leave an associated recovery plan with no protection groups, address the corresponding task or plan first.
-
On the protection group details page, click Delete.
Caution:Deletion removes the protection group and its membership relationships. Source VMs, replicated data, recovery points, placeholder VMs, historical reports, and audit logs are retained. If recovery plans are associated with the group, the group and its VMs are removed from those plans, and the related startup dependencies and per-VM recovery settings are deleted. - In the confirmation dialog box, verify the protection group and site.
- When deletion is allowed, click Confirm.
After deletion succeeds, the protection group is removed from the list.
Replication Tasks
Continuously replicate VM data from the protected site to the recovery site by protection group.
A replication task defines the target storage, replication server, RPO, and recovery point retention policy for a protection group. After the task is established, it performs an initial full synchronization and then continuously replicates incremental data to prepare for recovery and recovery tests.
Each replication task corresponds to one protection group. You can select multiple protection groups in a single creation workflow and apply the same replication settings to them. A separate task is created for each group. The protection scope follows the group's membership. For instructions on adding and removing members, see Manage Protection Group Members.
The Replication Tasks page distinguishes Outgoing and Incoming relative to the site you are logged in to. Outgoing tasks replicate from the local site to the paired site; incoming tasks replicate from the paired site to the local site. Current Direction shows the actual site names and data flow.
Create a Replication Task
Select protection groups and replication targets at the recovery site, configure replication settings, and create tasks.
Before you begin
- Site pairing is complete, and your account has permission to create replication tasks.
- The protection groups to protect have been created, all member VMs are powered on, and no replication task is configured for these groups.
- The recovery site's target storage and replication servers are ready. The data replication network and required compute resource mappings are configured for the participating sites. For related procedures, see Edit the Data Replication Network, Register a Replication Server, and Configure Compute Resource Mappings.
Procedure
Results
A separate replication task appears in the corresponding direction's list for each group whose task was created successfully. Click the protection group name in the list to open the task details and view initial full synchronization and replication progress for each VM.
View Replication Tasks
View task settings, overall operation, and replication progress for each VM.
In ZLR, choose and open the Outgoing or Incoming tab for the direction to view.
View the Task List
The list displays Protection Group, Task Status, VM Status, Target Storage, RPO, Last Sync, and Alarms. Search for a task, or click Refresh to update the list.
- Task Status: View the task's overall operation and the progress of processes such as deletion and deletion failure handling.
- VM Status: View the number of VMs in each replication state to identify paused or abnormal members.
- RPO: View the RPO target configured for the task.
Click a name in the Protection Group column to open the corresponding replication task details page.
View Task Details
| Location | Description |
|---|---|
| Overview tab | View the target storage and capacity, replication server, associated protection group, VM count, and initial full synchronization completion status. Check the RPO, recovery point retention policy, guest OS quiescing, and network encryption settings. The recovery points area shows the current count, retention limit, and latest and oldest recovery point times. |
| Virtual Machines tab | View each VM's Replication Status, Placeholder VM Status, Target Compute Resource, Target Group, and Latest Sync. Latest Sync shows synchronization activity and progress, or the most recent successful completion time. |
To investigate replication progress, first check initial full synchronization completion in Overview, then open Virtual Machines to view individual members' status and latest synchronization information.
To change the task's replication policy, see Edit a Replication Policy.
Edit a Replication Policy
Change an existing replication task's RPO, recovery point retention, guest OS quiescing, and network encryption settings.
Before you begin
- Your account has permission to view and modify replication tasks.
- The task is in the Running, RPO Violation, or Paused state.
- No recovery, recovery test, failback, member change, or other operation that conflicts with the policy change is running for the associated protection group.
Procedure
Synchronize Data Now
Manually initiate data synchronization for a replication task.
Before you begin
- Your account has permission to synchronize replication tasks.
- The task is in the Running, RPO Violation, or Abnormal state and contains VMs that are not paused and are eligible for synchronization.
- The data replication paths for the VMs to synchronize are available, no synchronization job is currently running, and the associated protection group has no running operations that conflict with this synchronization.
About this task
Sync Now applies to VMs in the task that are eligible for synchronization. Paused VMs remain paused.
Procedure
- Log in to the ZLR management interface at the protected site. Choose and open the Outgoing tab.
- Click the protection group name for the task to open its details page, then click Sync Now.
- Open the Virtual Machines tab and check each member's Latest Sync information to track synchronization activity and completion times.
Results
The latest synchronization completion time is updated for each VM that synchronizes successfully.
Pause and Resume Replication
Pause data replication for VMs in a task as needed and resume replication after maintenance.
Log in to the ZLR management interface at the protected site. Choose , open the Outgoing tab, and click the protection group name for the task. Your account must have the appropriate permission to pause or resume replication.
Pause Replication
You can use Pause All when the task is in the Running, RPO Violation, or Initial Syncing state and contains at least one VM that can be paused. Before proceeding, complete any recovery, recovery test, failback, member change, or other operations that conflict with pausing replication.
-
On the task details page, click Pause All.
Caution:- Pausing stops data replication for VMs in the task that can be paused. Existing replicated data and recovery points are retained.
- While replication is paused, data at the recovery site no longer follows changes to these source VMs, and the actual RPO may continue to increase.
- In the confirmation dialog box, verify the protection group, replication task, total VM count, number of VMs to pause, and number already paused, then click Confirm.
- Wait for the operation to complete, then check each member's Replication Status on the Virtual Machines tab.
Resume Replication
You can use Resume All when the task is Paused, or when it is Running, in RPO Violation, or Initial Syncing with some members paused. The VMs' original replication streams must still support resumption, and the associated protection group must have no running operations that conflict with resuming replication.
- On the task details page, click Resume All to resume data replication for paused VMs.
- Wait for the operation to complete, then check Replication Status and Latest Sync on the Virtual Machines tab to verify members' replication progress.
Delete a Replication Task
Stop data replication that is no longer needed and clean up the task's data and resources at the recovery site.
Before you begin
- Your account has permission to delete replication tasks.
- A regular replication task must be in the Running, RPO Violation, Initial Syncing, Paused, or Abnormal state.
- Associated recovery plans must be at a stage that permits deletion, with no conflicting recovery, recovery test, failback, or restore protection operations running. Tasks in Protection Interrupted must also pass specific checks for resources held by recovery operations and for associated plans.
About this task
You can initiate deletion while a task is performing initial full or incremental synchronization. The deletion process stops synchronization and cleans up the data.
Procedure
Results
After the deletion request is accepted, the task shows Deleting. Once all cleanup is complete, the task is removed from the list. If cleanup fails, the task remains and shows Delete Failed.
Troubleshooting
If the task is in the Delete Failed state, the original deletion workflow supports retrying cleanup, and your account has cleanup permission, you can continue cleanup. Review the failure reasons and address the issues before proceeding.
-
Click Clean Up in the failed task's Actions column, or open the task details page and click Clean Up.
Caution:Cleanup continues deleting data and resources at the recovery site that were not cleaned up previously. Deleted data cannot be recovered. - In the Clean Up Replication Task dialog box, select Retry Cleanup, then click Clean Up.
- Wait for the cleanup result. The task is removed from the list after all cleanup completes. If any items still fail, resolve the causes and run cleanup again.
Recovery Points
Recovery points capture the data state of protected virtual machines at specific points in time for recovery and testing.
Replication tasks copy VM data to the recovery site and retain recovery points according to the retention policy. Browse existing recovery points by site, protection group, and time to check each VM's recovery point time, consistency, status, and expiration time.
The number of recovery points to retain per day and the retention days are configured when you create a replication task. For parameter descriptions, see Create a Replication Task.
View Recovery Points
Locate a protection group's recovery points on the timeline and view the corresponding VM recovery point details.
Your account must have permission to view recovery points. In ZLR, choose .
Locate Recovery Points
- Click a site name tab at the top of the page to select the site whose recovery points you want to view.
-
Adjust the viewing range in 24-Hour Window and check that the start and end times cover the recovery point you want to view.
- Click Date and select the start date of the time window.
- Click 1 Hour Earlier or 1 Hour Later to shift the entire window backward or forward by one hour.
- Drag the time window slider to adjust the viewing range.
- Find the target protection group in Recovery Point Timeline. Each row shows a protection group and the number of recovery points in the current window. Timeline nodes represent recovery points at the corresponding times.
Hover over a node to view its recovery point time, Consistency, and Status. Click the node to open Recovery Point Details.
View VM Recovery Point Details
Recovery Point Details lists the recovery points in the selected node by virtual machine. Adjust Rows per page or navigate between pages to view the records.
| Field | Description |
|---|---|
| Virtual Machine | The name of the virtual machine associated with the recovery point. |
| Recovery Point Time | The point in time represented by the VM recovery point. VM recovery point times within the same node may differ. Check each VM individually. |
| Consistency |
The data consistency type of the VM recovery point:
|
| Status | The current status of the VM recovery point, such as Normal, Generating, or Abnormal. |
| Expires At | The time when the retention period for the VM recovery point expires. |
When finished, click Close to return to the timeline.
