VMware HCX Replication Assisted vMotion (RAV) uses the HCX Interconnect appliance along with replication and vMotion technologies to provide large scale, parallel migrations with zero downtime.

HCX RAV provides the following benefits:

  • Large-scale live mobility: Administrators can submit large sets of VMs for a live migration.

  • Switchover window: With RAV, administrators can specify a switchover window.

  • Continuous replication: Once a set of VMs is selected for migration, RAV does the initial syncing, and continues to replicate the delta changes until the switchover window is reached.

  • Concurrency: With RAV, multiple VMs are replicated simultaneously. When the replication phase reaches the switchover window, a delta vMotion cycle is initiated to do a quick, live switchover. Live switchover happens serially.

  • Resiliency: RAV migrations are resilient to latency and varied network and service conditions during the initial sync and continuous replication sync.

  • Switchover larger sets of VMs with a smaller maintenance window: Large chunks of data synchronization by way of replication allow for smaller delta vMotion cycles, paving way for large numbers of VMs switching over in a maintenance window.

  • Legacy version support: Migrating VMs with RAV is supported for vSphere 5.1 at the source site. For destination environment requirements, see "Software Version Requirements."

HCX RAV migration triggers the following events:

  1. Replication begins with a full synchronization (replication) of the virtual machine's disks to the destination site.

  2. Migrated VMs enter a continuous synchronization cycle until a switchover is triggered.

  3. You can have the switchover process start immediately following the initial sync or delay the switchover until a specific time using the scheduled migration option. If the switchover is scheduled, the synchronization cycle continues until the switchover begins.

  4. The final delta synchronization begins when the switchover phase starts. During this phase, vMotion is engaged for migrating the disk delta data and virtual machine state.

  5. As the final step in the switchover, the source VM is removed, and the migrated VM is connected to the network powered on.

    Replication Assisted vMotion creates two folders at the destination site. One folder contains the virtual machine infrastructure definition, and the other contains the virtual machine disk information. This is normal behavior for RAV migrations and has no impact on the functionality of the virtual machine at the destination site.

Note: In some cases, having two folders might impact other applications, such as back-up tools, that require access the virtual machines folders. If necessary, you can consolidate the contents of these two folders using VMware Storage vMotion.

Requirements for HCX Replication Assisted vMotion

  • VMware HCX Interconnect tunnels must be up/active.

  • VMware HCX vMotion requires 100 Mbps or above throughput capability.

  • The virtual machine hardware version must be Version 9 or higher.

  • The underlying architecture, regardless of OS, must be x86.

  • VMs with Raw Disk Mapping in compatibility mode (RDM-V) can be migrated.

  • The Hybrid Interconnect, Bulk Migration, vMotion, and Replication Assisted vMotion services must be enabled and in a healthy state in the relevant service mesh.

  • The resources to create, power on and use the virtual machine must be available in the destination environment.

  • Virtual machines must reside in a Service Cluster (defined in the Compute Profile).

  • RAV uses vSphere Replication whose potential throughput can vary depending on bandwidth available for migrations, latency, available CPU/MEM/IOPS, and disk read speed. For more information about how to determine bandwidth requirements, see Bandwidth Requirements for vSphere Replication.

Restrictions for HCX Replication Assisted vMotion

  • Virtual machines with the following attributes are not supported for migration.

    • Shared VMDK files.

    • Attached virtual media or ISOs.

    • Virtual Machine Hardware Version 8 or below.

  • Live switchover of concurrent RAV migrations is run serially.

  • VMware HCX vMotion defaults to Opportunistic mode for per-VM vMotion Encryption if it is set to Required. During the migration operation - the mode is changed to Opportunistic on the migration initialization, and then set back to Required after the migration is completed.

  • VMware HCX Replication Assisted vMotion does not support migration of workloads with Independent persistent and Independent non-persistent disks.

  • Virtual machines with Raw Device Mappings (RDM) in Physical Compatibility mode cannot be bulk migrated.

  • Virtual machines with DirectPath I/O configurations cannot be migrated without first removing the DirectPath device.

  • To migrate FT-enabled VMs, temporarily turn off Fault Tolerance, and perform RAV. When this operation is complete, turn Fault Tolerance back on.

  • Virtual machines with SCSI bus sharing cannot be migrated.

  • Virtual machines that cannot be gracefully powered off cannot be migrated. HCX can override with the Force Power-off VM option.

  • NSX Security tags and configurations related to the virtual machine are not migrated. vSphere tags are migrated.

  • Virtual Machines with Change Block Tracking (CBT) can be migrated, but HCX disables CBT.

  • With the RAV migration option, new disk UUIDs are generated at the destination environment. Use HCX vMotion when the application has disk UUID-related dependencies.

  • VIO and vCD cloud types are not supported.

  • RAV migration using VMFS6 target datastores requires the following minimum vCenter version at the target site: vCenter Server 6.5U3f or vCenter Server 6.7U3.

  • RAV migration for virtual machines with any disk in independent persistent mode is not supported as taking a snapshot of such a virtual machine does not produce delta disks, which are required for the underlying RAV migration technology.

  • Virtual machines using virtual NVMe (vNVME) Controllers cannot be migrated.
  • Virtual machine Snapshots cannot be migrated.