Chat now with support
Chat with Support

vRanger 7.8.2 - User Guide

Introduction vRanger overview Configuring vRanger
Configuring vRanger through the Startup Wizard Configuring vRanger manually Supplemental instructions: additional repository types
Using vRanger Backup Restore
Restoring an encrypted VMware VM Performing a full restore for VMware VMs Performing a full restore for Hyper-V® VMs Performing a full restore for VMware vApps Performing a full restore of a physical machine Performing an FLR on Windows Performing an FLR on Linux Restoring from manifest
Replicate VMs Reports Integrating and monitoring vRanger Using the vRanger Console vAPI Cmdlet details About us

How replication works

Previous Next


Replicate VMs > How replication works > How replication works

How replication works

During the replication process, the configuration files are created and modified on the target server by way of the VMware® API.

A set of working files is also created and used during the replication process. The following table lists these files and their purposes:

Table 2. Working files

File extension

Description

.vzmap

Records data block offset and hash of files on the target VM. A .vzmap file is created for each of the files replicated at the end of the replication. The .vzmap file is used by the next replication pass to detect any data changes since the previous pass. It stays on the target VM as long as the job is still configured to run. While relatively small, the size of the .vzmap file is directly proportional to the size of the VMDK it is based on.

During replication, the .vzmap file is stored on the target VA.

vzundo-script

A script created by the replication process to roll back changes on the target VM if there is a replication failure. This file created on the target VA at the start of the replication process and removed at the end.

.vzundo

This file is a temporary file that records original data of changed blocks since the replication started. One for each VMDK replicated. If there is a replication failure such as a network failure, the vzundo-script can be run to restore files to their original state. These files are created on the VA by the replication process and removed when the job is completed.

NOTE: The .vzundo file is as large as the amount of changed data replicated during a given pass. For example, if a replication pass sends 20 GB of changed data to the target VA, the .vzundo file is 20 GB.

.vmdk-abbt.vztemp

Active block filter file. One for each hard disk data file when ABT is enabled. It records active data block offsets for source VM disks. This file is used against the .vzmap file to figure out data blocks that need to be streamed to the target. It is created at the start of the replication process and removed when disk replication is completed.

.vmdk-abfg.vztemp

Change block filter file. One for each hard disk when Changed Block Tracking (CBT) is enabled. It records changed block offsets for source VM disks. This file is only generated when CBT and ABT are both enabled. It is later combined with the .vmdk-abbt.vztemp file into -flat-map.vztemp and removed.

-flat-map.vztemp

Disk data filter file. One for each hard disk when one of two situations are true: CB is enabled, or both AB and CB are enabled. It contains active and changed data block offsets that need to be compared to the .vzmap file at the target to figure out data blocks that need to be streamed to the target. It is created right before file replication starts and removed when file replication is completed.

.vzcid

Records target VM disk CIDs at the end of the replication pass.

Replication with the virtual appliance (VA)

Previous Next


Replicate VMs > How replication works > How replication works > Replication with the virtual appliance (VA)

Replication with the virtual appliance (VA)

vRanger supports VMware® ESXi™ replication by way of the vRanger VA, which leverages the VMware® HotAdd disk transport mechanism. After the VAs are configured and deployed, the use of the VA is automatic and transparent. The following lists some key points about replicating with the VA:

For instructions on deploying and configuring the VAs, see the Quest vRanger Installation/Upgrade Guide.

VAs must be used in pairs. For example, if you are replicating to a target host or cluster that is using a VA, use a VA on the source host or cluster as well.

Communication between the VAs occurs through an SSH tunnel using AES-256 encryption. For more information, see the Encryption description in Major feature list.

Additional replication requirements

The following limitations and requirements apply to replication:

The VM hardware cannot be changed during replication. For this reason, the VM must be at a hardware version level that is compatible with both the source and target servers. The VMware® ESXi™ version of the source and target hosts does not matter, as long as the VM hardware is supported on both ESXi versions. For more information on VM hardware versions and compatibility, see the VMware documentation at https://www.vmware.com/support/pubs/.

Replication with user snapshots

When replicating a VM that contains user snapshots, vRanger replicates all the snapshots in the chain from the current snapshot to the base disk. At the target side — the VM to which changes are replicated — the snapshots are merged into a single disk.

Snapshots not in the chain of the current snapshot are not replicated. In the following image, ss2 is the current snapshot. Only ss1 and ss2 are replicated. Snapshot 3 (ss3) is a lateral snapshot to ss2, while ss4 is a child to ss2.

Capturing hardware changes with replication

It is not possible to replicate hardware changes that occur on the source VM after the job has been configured. This issue is due to a limitation in how snapshots are processed by HotAdd.

If you make hardware changes on the source VM, you need to configure the target VM in the same way before the next replication pass. You might also need to edit the replication job to include the new hardware.

Active Block Mapping (ABM)

ABM filters deleted data blocks so that only active blocks are scanned and streamed to the target. White-space detection eliminates the need to compress, stream, and write zero blocks during the replication process. vRanger offers the following ABM settings options:

Replication modes

Previous Next


Replicate VMs > Replication modes

Replication modes

vRanger offers Replication with Changed Block Tracking (CBT) or standard Differential replication. Each of these replication modes has the option of ABM. VM replication in general starts with replicating the source VM to the target host. Changes are applied to the target VM at user designated intervals to keep the target in sync with the source. Thus the key difference between the replication modes is how vRanger identifies VM changes to replicate. For more information, see the following topics:

Replication with Changed Block Tracking (CBT)

Previous Next


Replicate VMs > Replication modes > Replication with Changed Block Tracking (CBT)

Replication with Changed Block Tracking (CBT)

Replication with CBT is the recommended method of replication whenever possible.

CBT tracks the disk block changes made by the source VM. When enabled on the source host, CBT records the blocks that have changed since the last replication pass and transfers them to the target host without scanning the VMDK. CBT only identifies these disk-sector changes when VMware® ESXi™ version 6.0 or later is installed on both of the hosts being used for replication.

The following configurations are required for CBT to be available:

For CBT to identify disk sectors in use with the special change ID, the following configurations are also required:

NOTE: CBT must be enabled for each VM that you want to replicate. VMware vSphere® supports CBT, and most VMs running in this environment can use it.
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating