The virtual machine is not configured for replicationReview of hbrsrv.log on the active vSphere Replication appliance in case of legacy replication, reveals connection reset errors similar to the following:
(Note: Same events are observed in the hbrsrv.log of the target ESXi host in case of enhanced replication)error hbrsrv [Originator@6876 sub=Main] request callback failed: Failed to read: End of fileinfo hbrsrv [Originator@6876 sub=StatsLog] HbrEvent: {"eventID":"lwdConnectionReset"...
Additionally, in the vCenter envoy-access.log from the source site , reports API calls where replication is being rapidly enabled and then immediately disabled (vim.HbrManager.disableReplication) by different IP addresses.
YYYY-MM-DDTHH:MM:SS.MSZ info envoy[2801] [Originator@6876 sub=Default] 2026-0x-0xT##:##:##.##Z POST /sdk 200 via_upstream - 799 492 gzip 6 6 0 10.###.###.151:47908 HTTP/1.1 TLSv1.2 {#IP address of HMS server}:443 127.0.0.1:34234 HTTP/2 - 127.0.0.1:8085 "#######-cbee-4285-9e19-#########-HMS-552103" "CreateTask"
YYYY-MM-DDTHH:MM:SS.MSZ In(166) envoy-access[2314259]: POST /hgw/host-<MASKED MOID>/vpxa 200 via_upstream - 1007 261 gzip 1 1 0 ###.##.##.###:44596 HTTP/2 TLSv1.3 {#Different IP address of HMS server}:443 486 1129 ###.#.#.#:55871 HTTP/2 - ###.#.#.#:8089 "########-####-####-####-############-HMSINT-197839204-6d" "HbrDisableReplication_Task"
This issue occurs when multiple vSphere Replication Management Server (HMS) instances are registered to the same source vCenter Server. Only one HMS registration is supported per vCenter Server.
If a secondary, stale, or unknown vSphere Replication appliance is registered to the vCenter Lookup Service, it will conflict with the active appliance. The vSphere Replication logic dictates that if an HMS instance detects replications it does not manage, it will automatically clean them up by calling HbrManager.disableReplication. This causes the rogue appliance to actively break the replication connection shortly after the legitimate appliance establishes it.
To resolve this issue, unregister the stale vSphere Replication instance from the Lookup Service and re-register the correct active instance.
Prerequisites: Take a snapshot of the vCenter Server and the active vSphere Replication Management Server appliance before making changes.