HCX Bulk Migration is automatically canceled when the Switchover does not complete within the scheduled window
search cancel

HCX Bulk Migration is automatically canceled when the Switchover does not complete within the scheduled window

book

Article ID: 429534

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • The migration is canceled upon reaching the end of the pre-configured Switchover schedule.
  • The following message is observed in the details of the affected migration:
    Migration Canceled by user, rollback completed

  • The following log entries were observed in hcx_manager_log/common/logs/admin/app.log:
    <Timestamp> [ReplicationTransferService_SvcThread-16344, Ent: HybridityAdmin, , TxId: <TxId>] INFO  c.v.h.s.r.j.TearDownReplicationSwitchoverJob- Switchover <transferId> running in state BEGIN
    <Timestamp> [ReplicationTransferService_SvcThread-16356, Ent: HybridityAdmin, , TxId: <TxId>] INFO  c.v.h.s.r.j.TearDownReplicationSwitchoverJob- Switchover <transferId> running in state STOP_OFFLINE_SYNC
    <Timestamp> [ReplicationTransferService_SvcThread-16356, Ent: HybridityAdmin, , TxId: <TxId>] INFO  c.v.h.s.r.j.TearDownReplicationSwitchoverJob- Stopped offline sync on Virtual Machine 'vm-#####' corresponding to switchover '<transferId>'
    <Timestamp> [ReplicationTransferService_SvcThread-16356, Ent: HybridityAdmin, , TxId: <TxId>] INFO  c.v.h.s.r.j.TearDownReplicationSwitchoverJob- Switchover <transferId> running in state POWER_ON_SOURCE_VM
    <Timestamp> [ReplicationTransferService_SvcThread-16356, Ent: HybridityAdmin, , TxId: <TxId>] INFO  c.v.h.s.r.j.TearDownReplicationSwitchoverJob- Power on Virtual Machine 'vm-#####' corresponding to switchover '<transferId>' via task 'task-#######'
    <Timestamp> [ReplicationTransferService_SvcThread-16357, Ent: HybridityAdmin, , TxId: <TxId>] INFO  c.v.h.s.r.j.TearDownReplicationSwitchoverJob- Switchover <transferId> running in state CLEAN_TRANSFER
    

Environment

VMware HCX

Cause

The Switchover failed to complete within the specified schedule window.
As noted in KB#390725, Bulk Migration for write-intensive DB servers requires significant time for Offline Sync, which may prevent the Switchover from completing within the scheduled duration.

Resolution

Please extend the duration of the Switchover schedule window.
Alternatively, scheduling the Switchover during periods of low activity for the source virtual machine may help reduce the time required to complete the process.

Additional Information

KB#390725 : HCX Bulk migration task: "Offline sync started on source VM" is taking longer than expected for some VMs