The vm can not be migrated as replication is enabled on it.
"Selected migration is not recommended as Replication Config is present with VM
"HCX 4.x
On RAV/Bulk migration, It will run a checklist for different processes and services running in the VM. One of the steps is to enable replication for the VM. If it detects that the replication is already enabled, it will fail with that error to avoid any impact in case other applications in the VM are working with replication at that moment.
Perform force cleanup of the migration and retry the migration.
If the the same error received after force cleanup you can follow one of the two methods to disable vSphere replication on the affected VM
Note: When using VMC on AWS or a Cloud Provider, you may not have access to the ESXi command line. Please refer to the MOB steps below.
To disable the vSphere Replication feature on a specific virtual machine on the command line.
# vim-cmd vmsvc/getallvms
vim-cmd vmsvc/getallvms
command, see Powering on a virtual machine from the command line when the host cannot be managed using vSphere Client# vim-cmd hbrsvc/vmreplica.getConfig <VM_ID>
# vim-cmd hbrsvc/vmreplica.disable <VM_ID>
To disable the vSphere Replication feature on a specific virtual machine using the MOB.
ManagedObjectReference:VirtualMachine
, then click on (more...)
Once replication is disabled, you can proceed with the migration again.
If the above steps does not resolve the issue, please open a support case with Broadcom Support and refer to this KB article.
Disabling VMware vSphere Replication on a virtual machine
HCX - Validation error "Selected migration is not recommended as the Replication config is present" before RAV Migration starts (92291)
Impact/Risks:
The new bulk migration jobs for the same VM or VMs cannot be initiated from the HCX manager.