使用具有禁用标记的目标 ESXi 主机重新配置复制失败并显示错误。

问题

尝试使用标记了 vSphereReplication.disallowedHost 标记的目标 ESXi 主机重新配置复制时,该过程开始,但仍为 0%。长时间后,操作失败并显示错误:
Reconfigure virtual machine replication
...
Unable to complete the reconfiguration task at remote site for replication group 'vm-name' (managed object ID: 'GID-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'): task 'HTID-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'. Details: 'No host can be used to access datastore path '[esxi-host] vm-name.vmdk'.'. Cause: No host can be used to access datastore path '[esxi-host] vm-name.vmdk'.
...

解决方案

从目标 ESXi 主机中移除 vSphereReplication.disallowedHost 标记,然后重新配置复制。