"Cannot contact the specified host (hostname.example.com). The host may not be available on the network, a network configuration problem may exist, or the management services on this host may not be responding." services.sh restart) makes the host stable for some time before going into a not responding state again.A generic error occurred in the vSphere Replication Management Server. Exception details: 'Unexpected status code: 503'./var/run/log/envoy-access.log:
YYYY-MM-DD In(166) envoy-access[2098958]: POST /hbr HTTP/1.1 200 via_upstream - 586 455 1 1 0 ##.#.#.#:50190 TLSv1.2 ##.#.#.#:443 - - /var/run/vmware/proxy-hbr "########-####-####-####-############-HMS-PING" "Fetch"
Log shows a large number of HMS-PING calls received by VRMS.
/opt/vmware/hms/logs/hms.log:
YYYY-MM-DD 20:#:#.# TRACE hms.net.hbr.ping.svr.########-####-####-####-############ [hms-ping-scheduled-thread-0] (..net.impl.VmomiPingConnectionHandler) [operationID=########-####-####-####-############-HMSINT-5641, operationID=########-####-####-####-############-HMS-PING] | Session: N/A on server '##.#.#.#:443/hbr' pinged successfully
/var/run/log/envoy.log:
YYYY-MM-DD In(166) envoy[2098941]: "YYYY-MM-DD warning envoy[2099266] [Originator@6876 sub=filter] [C18705] closing connection TCP<##.#.#.#:33556, ##.#.#.#:443>"
YYYY-MM-DD In(166) envoy[2098941]: "YYYY-MM-DD warning envoy[2099264] [Originator@6876 sub=filter] [C18706] remote https connections exceed max allowed: 128"
vSphere Replication causes the hosts to become unresponsive due to an authentication issue between hms and hbrsrvuw in ESXi. This can randomly affect any ESXi host in the vCenter inventory.
The root cause is that getServers().registerHbrServer(hbrServerData) starts a new ReconnectingPing, but it is not cleaned up when an exception occurs. Therefore, the leaked ReconnectingPing continuously increases every minute. The hbrsrvuw ReconnectingPing leaks when it is unable to connect to hbrsrvuw, causing the ESXi host to become unavailable.
Please upgrade to this version at the earliest if you are running on an older version of the vSphere Replication appliance to avoid this issue. It has also been noticed that hosts still go into a 'Not Responding' state despite upgrading the appliance to this version. In such cases, please only disable scale-out-mode on the VRMS at both sites.
Workaround:
The purpose of the workaround is to REMOVE all host-based replication servers from the 'Replication Servers' tab in the SRM UI. This will stop HMS from pinging hbrsrvuw in the ESXi host.
systemctl stop hms/opt/vmware/hms/conf/hms-configuration.xml and change scale-out-mode to false.<scale-out-mode>false</scale-out-mode>
<!--
Timeout to wait before tagging hbrsrv as decommissioned due to maintenance mode.
At the moment set to 0 since replications are auto-released on hbrsrvuw when ESX host enters MM.
-->scale-out-mode is set to true (enhanced replication is enabled) and hms-embedded-hbr is set to false, an error with the phrase "Unable to connect to the HBR Management Server" will be observed./opt/vmware/hms/bin/embedded_db_connect.shselect hbrserver_movalue from hbrtagentity where hbrserver_movalue IN (select movalue from hbrserverentity where vsrv_port = 443 AND NOT EXISTS (select hbrserver_movalue from secondarygroupentity where hbrserverentity.movalue = secondarygroupentity.hbrserver_movalue));
select hbrservername,movalue from hbrserverentity where vsrv_port = 443 AND NOT EXISTS (select hbrserver_movalue from secondarygroupentity where hbrserverentity.movalue = secondarygroupentity.hbrserver_movalue);delete from hbrtagentity where hbrserver_movalue IN (select movalue from hbrserverentity where vsrv_port = 443 AND NOT EXISTS (select hbrserver_movalue from secondarygroupentity where hbrserverentity.movalue = secondarygroupentity.hbrserver_movalue));
delete from hbrserverentity where vsrv_port = 443 AND NOT EXISTS (select hbrserver_movalue from secondarygroupentity where hbrserverentity.movalue = secondarygroupentity.hbrserver_movalue);systemctl restart hms