https://<vIDM FQDN>:8443/cfg/configuretimesync), the system fails to save NTP configurations. After entering the following details and clicking the Save button, the NTP Server field remains blank:<NTP Server FQDN or IP address>ntpServer.hzn also fail to return a successful status:/usr/local/horizon/scripts/ntpServer.hzn --set <NTP Server IP address>
/usr/local/horizon/scripts/ntpServer.hzn --get
# Output: server=<NTP Server IP address>
/usr/local/horizon/scripts/ntpServer.hzn --status
# Output: ntpstatus=errorVMware Identity Manager 3.3.7
w32tm /query /statusRoot Dispersion: 10.0000000sTo resolve this issue, adjust the RootDistanceMaxSec parameter within the vIDM appliance to allow for a higher dispersion threshold. Follow these steps:
root user via SSH.Create a backup of the existing configuration file:
cp /etc/systemd/timesyncd.conf /etc/systemd/timesyncd.conf.backupOpen the /etc/systemd/timesyncd.conf file using a text editor (such as vi):
vi /etc/systemd/timesyncd.confLocate the line #RootDistanceMaxSec=5 and change it to RootDistanceMaxSec=20.
Note: Ensure you remove the # character to uncomment the line and enable the setting.Restart the time synchronization service to apply the new configuration:
systemctl restart systemd-timesyncd.serviceNote: The appropriate value for RootDistanceMaxSec may vary depending on the environment and the specific configuration of the NTP Server. If the configuration still fails after setting the value to 20, try increasing it further (for example, to 30 or higher).