vSphere Replication fails for multiple virtual machines, resulting in a Not Active (RPO Violation) status.The replication task details show the following error"No connection to VR Server for virtual machine on host."
Attempting to configure replication or run a mapping test fails with below error
Fault occurred while performing health check. Details: "Login Denied. Broker or host clocks may be put of sync".
While running test for VMware Live Site Recovery 9.0.3 from Site Recover page > Configure > vSphere Replication > Replication Mappings, fails with below error:
"The source host (id: 'host-###', name: '###.###.#.###') successfully connected to both the target broker '###.###.#.###' and the target host (id: 'host-##', name: '###.###.#.###'), but the login to the target host '###.###.#.###' failed. The server mappings might not have been updated for the source host '###.###.#.###' on the target broker '1###.###.#.###', or the target host's '###.###.#.###' certificate might have expired. The target host '###.###.#.###' might not have yet received the certificate from the target broker '###.###.#.###' or the broker's certificate on the target host '###.###.#.###' might have expired."
less /var/run/log/vmkernel.log) on the source ESXi host to confirm the Failed to establish connection to VR server YYYY-MM-DDT09:42:23.322Z Wa(180) vmkwarning: cpu22:29907991)WARNING: Hbr: 788: Failed to receive from ###.#.#.# (groupID=GID-#####): Broken pipeYYYY-MM-DDT09:42:23.322Z Wa(180) vmkwarning: cpu22:29907991)WARNING: Hbr: 2542: Failed to receive extended handshake responseYYYY-MM-DDT09:42:23.322Z Wa(180) vmkwarning: cpu22:29907991)WARNING: Hbr: 5362: Failed to establish connection to [###.#.#.#]:32032 (groupID=GID-#####): Broken pipe
hbr-agent.log file (less /var/run/log/hbr-agent.log) on the source ESXi host to confirm the unsuccessful login to the brokered server.YYYY-MM-DDT09:54:23.341Z In(166) hbr-agent-bin[2100560]: [0x0000003ace2c5700] error: [Proxy [Group: GID-#####] -> [#####.63:32032]] Failed to login to brokered server additional error info: Broker or host clocks may be out of sync.YYYY-MM-DDT09:54:23.341Z In(166) hbr-agent-bin[2100560]: [0x0000003ace2c5700] error: [Proxy [Group: GID-#####] -> [#####.63:32032]] Exhausted all server endpoints reported by broker.
less /var/run/log/hbrsrv.log) on the Destination Host to confirm the Broker or host clocks may be out of syncYYYY-MM-DDT09:54:22.435Z Er(163) hbrsrv[2100365]: [Originator@6876 sub=Main opID=hsl-0] HbrError stack:YYYY-MM-DDT09:54:22.435Z Er(163) hbrsrv[2100365]: [Originator@6876 sub=Main opID=hsl-0] [0] Broker or host clocks may be out of sync.YYYY-MM-DDT09:54:22.435Z Er(163) hbrsrv[2100365]: [Originator@6876 sub=Main opID=hsl-0] [1] Unverified token with ID '#####'is not valid: TOO_NEW (8)YYYY-MM-DDT09:54:22.435Z Er(163) hbrsrv[2100365]: [Originator@6876 sub=Main opID=hsl-0] [2] ClientConnection (client=[#####.11]:50248) failed login attemptYYYY-MM-DDT09:54:22.435Z Er(163) hbrsrv[2100365]: [Originator@6876 sub=Main opID=hsl-0] [3] Hiding full error from unauthenticated client.YYYY-MM-DDT09:54:22.435Z Er(163) hbrsrv[2100365]: [Originator@6876 sub=Main opID=hsl-0] HbrError stack:YYYY-MM-DDT09:54:22.435Z Er(163) hbrsrv[2100365]: [Originator@6876 sub=Main opID=hsl-0] [0] Broker or host clocks may be out of sync.For vSphere Replication to function correctly, time must be synchronized across all ESXi hosts, VMware Live Site Recovery appliances, vSphere Replication appliances, and vCenter Server appliances.
To resolve the replication mapping issue due to host out of sync issue follow below stated steps:
Steps to synchronize the Date and Time manually:
watch datedate --set="YY-MM-DD HH:MM:SS"
service ntpd stopservice ntpd startservice ntpd status For the following error, you can try the following steps to fix :
Symptoms:
The source host (id: 'host-###', name: '###.###.#.###') successfully connected to both the target broker '###.###.#.###' and the target host (id: 'host-##', name: '###.###.#.###'), but the login to the target host '###.###.#.###' failed. The server mappings might not have been updated for the source host '###.###.#.###' on the target broker '1###.###.#.###', or the target host's '###.###.#.###' certificate might have expired. The target host '###.###.#.###' might not have yet received the certificate from the target broker '###.###.#.###' or the broker's certificate on the target host '###.###.#.###' might have expired."Resolution :
Reconfigure the appliances
Reconnect the site pairing