When replicating virtual machines from VMware to Azure using Site Recovery, you may encounter an issue where the Configuration server discovers the wrong IP address for a VM. This can be caused by stale entries within the infrastructurevms MySQL table that is used by ASR to track VM attributes.
To resolve this issue, you first need to disable replication for the VM in the Azure Portal.
Next, login to your ASR Configuration Server and open a CMD prompt as administrator. Browse to the bin directory for your ASR installation. For example, in my case ASR is installed on the E: partition under the following directory:
E:\Program Files (x86)\Microsoft Azure Site Recovery\home\svsystems\bin
Type in this command to remove the VM from the ASR database (replace IP address with the IP of your VM):
perl Unregister-ASRComponent.pl -IPAddress 10.0.0.4 -Component Source
That’s it. You should now be able to reconfigure replication for the VM, and ASR will discover the correct info about the VM.
Unusual issue, thanks for sharing.
ReplyDelete