Follow steps below:
SSh to esxi host where Vm is running
get vm id:
vim-cmd vmsvc/getallvms |grep -i (vm name)
Then get remote replication service ip wher vm is sending replication data to.
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 enable ( box tick)
Then just attempt to ping target ip.
vmkping -I vmk0 x.x.x.x
If host cannot ping then troubleshoot with your network team.
PS: if host can ping but vm replication is still not working then try to add route to esxi host.
esxcfg-route -a (dr vrms ip address/32) (production gateway actual )
once completed just then check vm replication:
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 host can ping replication ip and reconfigure vm replication.
Hope this work.
Ps: if you are happy with the provided solution then you can donate at: