The "Reconnect the selected vSphere Replication Server." operation failed for the entity with the following error message.
Cannot determine the network address of the Virtual Machine.
vSphere Replication 8.x
This issue arises because the denylist/allowlist for vSphere Replication is not implemented, preventing effective management of which hosts can be connected to for adding datastores in a vCenter datacenter. As a result, the system may attempt to connect to hosts that cannot be reached, leading to increased connection times.
When the hbrsrv process encounters hosts that it cannot connect to, it may take approximately 20 minutes or more to cycle through all hosts before beginning to load groups from the database. For each group, the following tasks are performed:
For a functioning host, adding a datastore is relatively quick, as indicated by messages like:
2017-05-04T13:38:00.933-04:00 [7F028A6AD720 verbose 'StorageMap' opID=hs-init-2090844] Host host-1058 added for datastore 52fxxxed-a4xxxx37-xxxx-3440xxxxxf18
2017-05-04T13:38:00.933-04:00 [7F028A6AD720 verbose 'StorageMap' opID=hs-init-2090844] Host host-13055 added for datastore 52fxxxed-a4xxxx37-xxxx-344xxxxx4f18
However, for problematic hosts, hbrsrv schedules connection retries, which must wait for connection timeouts. If the add datastore task encounters a bad host during this retry, it cannot obtain the host's lock, causing additional delays. The cumulative effect can lead to significantly longer startup times, especially as the number of bad hosts or groups increases.
In theory, the startup time for the hbrsrv service would be reduced if all hosts could be connected to without issues.
To work around this issue, you can adjust the following settings:
These adjustments can help optimize the connection process and improve overall performance.