HCX RAV migration automatically canceled when Switchover exceeds scheduled window
search cancel

HCX RAV migration automatically canceled when Switchover exceeds scheduled window

book

Article ID: 451029

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

Symptoms

  • An HCX Replication Assisted vMotion (RAV) migration is automatically canceled when the end of the pre-configured Switchover schedule window is reached.
  • Multiple mobility groups or individual RAV migration tasks within a group are canceled simultaneously.
  • In HCX Manager UI under the Migration Events tab, the following message is displayed: Migration canceled
  • The migration details in the HCX Manager UI Alerts display the following message: The HCX RAV migration for the Virtual Machine canceled

Log Entries similar to the following are observed during the cancellation event:

  • HCX manager /common/logs/admin/web.log
    NFO [https-jsse-nio-127.0.0.1-8443-exec-####, Ent: HybridityAdmin, , TxId: TxId: ####] INFO c.v.v.h.a.m.MobilityIntentsRestController- Canceling mobility migration: [####, ####]
    I

  • HCX manager /common/logs/admin/app..log
    NFO [MobilityMigrationService_SvcThread-####, Ent: HybridityAdmin, , TxId: TxId: ####] INFO c.v.h.s.m.j.MobilityMigrationRollbackJob- Rollback Migration Job COMPLETE for Migration:####::####

Environment

VMware HCX

Cause

The Switchover process failed to complete within the specified maintenance window. In RAV migrations, if the delta synchronization and the final vMotion handoff do not conclude before the expiryTime defined in the switchover parameters, HCX triggers an automatic rollback to ensure the source VM remains operational.

Factors contributing to this include:

  • High data churn on the source VM exceeding available network bandwidth.
  • Insufficiently sized maintenance windows for large or high-load VMs.
  • Concurrent migrations exhausting resources during the switchover phase.

Resolution

  • Extend the duration of the Switchover schedule window to accommodate potential delays in final data synchronization.
  • Schedule the Switchover during periods of low application activity to minimize data churn and accelerate the final delta sync.
  • Verify that the network throughput between the source and destination sites is sufficient for the volume of data being migrated.

Additional Information

Managing Failed or Canceled Migrations