Hi,
Follow steps below:
SSh to esxi host where Vm is running
get vm id:
Example:
vim-cmd vmsvc/getallvms |grep -i (vm name)
Then get remote replication service IP where VM is sending replication data to.
Example:
vim-cmd hbrsvc/vmreplica.getConfig (VMID)
Then check if ESXi host can ping to replication server IP.
Check if replication is being used by default management vmkernel (vmk0) or dedicated replication vmkernel.
PS: check on web client GUI for host vmkernel adapters if replication is enabled ( box tick)
Then just attempt to ping target ip.
example:
vmkping -I vmk0 x.x.x.x
If the host cannot ping then troubleshoot with your network team.
PS: if the host can ping but VM replication is still not working then try to add the route to ESXi host.
example:
esxcfg-route -a (dr Vrms ip address/32) (production gateway actual )
once completed just then check vm replication:
example:
vim-cmd hbrsvc/vmreplica.getState VMID
If still no activity then try to sync vm on command:
vim-cmd hbrsvc/vmreplica.create VMID
PS: this should do the trick.
If still not working then try to stop replication and VMotion VM to another ESXi host and check if the host can ping replication IP and reconfigure VM replication.
Hope this helps.