Close

VMware Cloud Director Availability migrations stuck at 52%

While migrating VMs from on-premises to the cloud, I noticed that the migration task was stuck at 52% for an extended period.

I suspected there might be a connectivity issue between the on-premises replication appliance and the cloud replication appliance.

Log in to the replication appliance GUI and locate the replication ID.

Use SSH to connect to the replication manager appliance at the cloud provider’s site and retrieve the replication ID..

To connect to the PostgreSQL database on the replication manager appliance, follow these steps:

SSH into the Appliance: Use SSH to access the replication manager appliance at the cloud provider site.

psql -d h4manager -U h4postgres

\x to activate expanded display

run following commmand to get ID of the replication.
select * from replication where external_key = 'C4-5e8f0eb1-452d-4276-975e-a4490cfc49f6';

SSH into the Replicator Appliance

pushed /var/log/vmware

run following command

grep -i "H4-dfbeb7ad-32c2-4ddd-95c0-d33ad46b7ae2" hbrsrv.log | grep -iv "temp map" | less



The task was stuck at 52% due to the consolidateProgress for the disks. This process can take a long time; in my case, it took almost 2 hours to complete.

I hope this article has been informative. thank you for reading.