Symptoms:
yyyy-mm-dd warning vmon Service pschealth exited. Exit code 1yyyy-mm-dd warning vmon Service pschealth exited unexpectedly. Crash count 0. Taking configured recovery action./var/log/messages, you see entries similar to:yyyy-mm-dd su[33644]: pam_unix(su:session): session closed for user vpostgresyyyy-mm-dd ntpd[1244]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronizedyyyy-mm-dd ntpd[1244]: frequency error -119309 PPM exceeds tolerance 500 PPMyyyy-mm-dd systemd[1]: Time has been changedNote: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment
VMware vCenter Server 7.x
VMware vCenter Server 6.x
This issue occurs when the ESXi host on which the active, passive and witness nodes reside are out of time sync. The Photon OS for vCenter Server will sync with the time on the ESXi host periodically, and if NTP is not configured correctly, it can cause the time inside the Guest OS to drift. If the time drifts too much, this can trigger a failover between the Active/Passive VCHA appliances.
By design, Active, passive and witness nodes reside on three different ESXi hosts.
To resolve this issue, ensure that all the three ESXi hosts that manage the Active, Passive and Witness nodes of VCHA have NTP configured correctly. Additionally, ensure the ESXi hosts have the NTP service running, and have a consistent NTP server defined.
For more information on ESX/ESXi timekeeping best practices, refer to ESX and ESXi host time keeping best practices